projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a0388b
)
Add some missing object properties to doc/lua_api.txt
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 10 Jun 2012 12:04:24 +0000
(15:04 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 10 Jun 2012 12:04:24 +0000
(15:04 +0300)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index c1ac13773212fc682193f6687c2be57016c51c50..4dec9b3948ee2abefa2924e0bad29be8a73f9f9c 100644
(file)
--- 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)