Document "wielditem" visual
authorShadowNinja <shadowninja@minetest.net>
Wed, 8 Jan 2014 22:09:23 +0000 (17:09 -0500)
committerShadowNinja <shadowninja@minetest.net>
Wed, 8 Jan 2014 22:10:57 +0000 (17:10 -0500)
doc/lua_api.txt

index dda9f7bcd73b65dab2ba5965126b4273f68ced96..e3fc92b29df13ffd494d17cb9cb9b430e74d372e 100644 (file)
@@ -2010,7 +2010,7 @@ Object Properties
     collide_with_objects = true, -- collide with other objects if physical=true
     weight = 5,
     collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
-    visual = "cube"/"sprite"/"upright_sprite"/"mesh",
+    visual = "cube"/"sprite"/"upright_sprite"/"mesh"/"wielditem",
     visual_size = {x=1, y=1},
     mesh = "model",
     textures = {}, -- number of required textures depends on visual