Add some missing object properties to doc/lua_api.txt
authorPerttu Ahola <celeron55@gmail.com>
Sun, 10 Jun 2012 12:04:24 +0000 (15:04 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 10 Jun 2012 12:04:24 +0000 (15:04 +0300)
doc/lua_api.txt

index c1ac13773212fc682193f6687c2be57016c51c50..4dec9b3948ee2abefa2924e0bad29be8a73f9f9c 100644 (file)
@@ -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)