diff options
Diffstat (limited to 'data/mods/default')
-rw-r--r-- | data/mods/default/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index c0df7c514..ac3ef1b8f 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -200,8 +200,11 @@ -- - set_hp(hp): set number of hitpoints (2 * number of hearts) -- LuaEntitySAO-only: (no-op for other objects) -- - setvelocity({x=num, y=num, z=num}) +-- - getvelocity() -> {x=num, y=num, z=num} -- - setacceleration({x=num, y=num, z=num}) -- - getacceleration() -> {x=num, y=num, z=num} +-- - setyaw(radians) +-- - getyaw() -> radians -- - settexturemod(mod) -- - setsprite(p={x=0,y=0}, num_frames=1, framelength=0.2, -- - select_horiz_by_yawpitch=false) |