mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Implement tool use sounds
This commit is contained in:
parent
bbdb1929c6
commit
525fc3833c
6 changed files with 66 additions and 2 deletions
|
@ -8027,6 +8027,12 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and
|
|||
|
||||
eat = <SimpleSoundSpec>,
|
||||
-- When item is eaten with `minetest.do_item_eat`
|
||||
|
||||
punch_use = <SimpleSoundSpec>,
|
||||
-- When item is used with the 'punch/mine' key pointing at a node or entity
|
||||
|
||||
punch_use_air = <SimpleSoundSpec>,
|
||||
-- When item is used with the 'punch/mine' key pointing at nothing (air)
|
||||
},
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue