mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Play place_failed sound if occupied or cannot attach (#9486)
This commit is contained in:
parent
808fa5ecb3
commit
ae83edd165
2 changed files with 7 additions and 2 deletions
|
@ -7217,10 +7217,13 @@ Used by `minetest.register_node`.
|
|||
-- Node was placed. Also played after falling
|
||||
|
||||
place_failed = <SimpleSoundSpec>,
|
||||
-- When node placement failed
|
||||
-- When node placement failed.
|
||||
-- Note: This happens if the _built-in_ node placement failed.
|
||||
-- This sound will still be played if the node is placed in the
|
||||
-- `on_place` callback manually.
|
||||
|
||||
fall = <SimpleSoundSpec>,
|
||||
-- When node starts to fall
|
||||
-- When node starts to fall or is detached
|
||||
},
|
||||
|
||||
drop = "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue