Add some missing object properties to doc/lua_api.txt

master
Perttu Ahola 2012-06-10 15:04:24 +03:00
parent 6a0388bb4b
commit f4a7e11bce
1 changed files with 3 additions and 0 deletions

View File

@ -1036,7 +1036,9 @@ Definition tables
Object Properties Object Properties
{ {
hp_max = 1,
physical = true, physical = true,
weight = 5,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5}, collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "cube"/"sprite"/"upright_sprite", visual = "cube"/"sprite"/"upright_sprite",
visual_size = {x=1, y=1}, visual_size = {x=1, y=1},
@ -1045,6 +1047,7 @@ Object Properties
initial_sprite_basepos = {x=0, y=0}, initial_sprite_basepos = {x=0, y=0},
is_visible = true, is_visible = true,
makes_footstep_sound = false, makes_footstep_sound = false,
automatic_rotate = false,
} }
Entity definition (register_entity) Entity definition (register_entity)