mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add support for audio feedback if placing node failed
This commit is contained in:
parent
578649bd15
commit
2a12579fab
5 changed files with 19 additions and 4 deletions
|
@ -68,6 +68,7 @@ struct ItemDefinition
|
|||
ToolCapabilities *tool_capabilities;
|
||||
ItemGroupList groups;
|
||||
SimpleSoundSpec sound_place;
|
||||
SimpleSoundSpec sound_place_failed;
|
||||
f32 range;
|
||||
|
||||
// Client shall immediately place this node when player places the item.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue