aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-10 15:04:24 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-10 15:04:24 +0300
commitf4a7e11bce93fec549294b24c31a9a312ebd0012 (patch)
tree5ba98aedba2607f6b89f5662a2beb1ef771b1dee /doc
parent6a0388bb4bedc1b1c6318d7bfebaf1ec67ccf94e (diff)
downloadminetest-f4a7e11bce93fec549294b24c31a9a312ebd0012.tar.gz
minetest-f4a7e11bce93fec549294b24c31a9a312ebd0012.tar.bz2
minetest-f4a7e11bce93fec549294b24c31a9a312ebd0012.zip
Add some missing object properties to doc/lua_api.txt
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c1ac13773..4dec9b394 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1036,7 +1036,9 @@ Definition tables
Object Properties
{
+ hp_max = 1,
physical = true,
+ weight = 5,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "cube"/"sprite"/"upright_sprite",
visual_size = {x=1, y=1},
@@ -1045,6 +1047,7 @@ Object Properties
initial_sprite_basepos = {x=0, y=0},
is_visible = true,
makes_footstep_sound = false,
+ automatic_rotate = false,
}
Entity definition (register_entity)