mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add time_from_last_punch to Lua API
This commit is contained in:
parent
ed128fff26
commit
e8b0722137
4 changed files with 9 additions and 6 deletions
|
@ -104,7 +104,9 @@
|
|||
-- - getpos() -> {x=num, y=num, z=num}
|
||||
-- - setpos(pos); pos={x=num, y=num, z=num}
|
||||
-- - moveto(pos, continuous=false): interpolated move
|
||||
-- - punch(puncher); puncher = an another ObjectRef
|
||||
-- - punch(puncher, time_from_last_punch)
|
||||
-- ^ puncher = an another ObjectRef,
|
||||
-- ^ time_from_last_punch = time since last punch action of the puncher
|
||||
-- - right_click(clicker); clicker = an another ObjectRef
|
||||
-- - get_wield_digging_properties() -> digging property table
|
||||
-- - add_to_inventory_later(itemstring): like above, but after callback returns (only allowed for craftitem callbacks)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue