aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-01-02 16:08:59 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-01-02 16:08:59 +0200
commit2445cbbbdca54d40d1c0a069cc360b06bf44d291 (patch)
tree6223a742cef7eebd3054f3cd9623f7a4e861ed79 /data
parent48131bf988be2261d7abfab05ee4c41a3b002ad4 (diff)
downloadminetest-2445cbbbdca54d40d1c0a069cc360b06bf44d291.tar.gz
minetest-2445cbbbdca54d40d1c0a069cc360b06bf44d291.tar.bz2
minetest-2445cbbbdca54d40d1c0a069cc360b06bf44d291.zip
Add ObjectRef:get_luaentity()
Diffstat (limited to 'data')
-rw-r--r--data/mods/default/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index 75fdcb012..c0df7c514 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -208,6 +208,7 @@
-- - ^ Select sprite from spritesheet with optional animation and DM-style
-- - texture selection based on yaw relative to camera
-- - get_entity_name()
+-- - get_luaentity()
-- Player-only: (no-op for other objects)
-- - get_player_name(): will return nil if is not a player
-- - get_inventory() -> InvRef