aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-29 17:46:21 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-29 19:42:42 +0300
commit92ae11bd3b5e95ff837f98463931e7772c455ad3 (patch)
tree35d5646fb720104ce2c3fd096ae728c045b7aa49 /doc
parent443f45eca17ad809ccdc42aaf8a82e0b84e11da0 (diff)
downloadminetest-92ae11bd3b5e95ff837f98463931e7772c455ad3.tar.gz
minetest-92ae11bd3b5e95ff837f98463931e7772c455ad3.tar.bz2
minetest-92ae11bd3b5e95ff837f98463931e7772c455ad3.zip
Use GenericCAO in place of LuaEntityCAO and PlayerCAO
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c09a5815f..caa5514b7 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -611,6 +611,7 @@ methods:
- get_wield_index(): returns the index of the wielded item
- get_wielded_item() -> ItemStack
- set_wielded_item(item): replaces the wielded item, returns true if successful
+- set_armor_groups({group1=rating, group2=rating, ...})
LuaEntitySAO-only: (no-op for other objects)
- setvelocity({x=num, y=num, z=num})
- getvelocity() -> {x=num, y=num, z=num}
@@ -623,7 +624,6 @@ LuaEntitySAO-only: (no-op for other objects)
- select_horiz_by_yawpitch=false)
- ^ Select sprite from spritesheet with optional animation and DM-style
- texture selection based on yaw relative to camera
-- set_armor_groups({group1=rating, group2=rating, ...})
- get_entity_name() (DEPRECATED: Will be removed in a future version)
- get_luaentity()
Player-only: (no-op for other objects)