mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 11:30:03 -04:00
fix missing tabs and add sound file (from http://freesound.org/people/nhaudio/sounds/192416/ (CC0), edited with audacity)
play sound if the chest is locked
This commit is contained in:
parent
794a436d86
commit
de0e853df6
2 changed files with 10 additions and 8 deletions
|
@ -1232,6 +1232,8 @@ minetest.register_node("default:chest_locked", {
|
||||||
"default:chest_locked",
|
"default:chest_locked",
|
||||||
get_locked_chest_formspec(pos)
|
get_locked_chest_formspec(pos)
|
||||||
)
|
)
|
||||||
|
else
|
||||||
|
minetest.sound_play("default_chest_locked", {pos = pos})
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
BIN
mods/default/sounds/default_chest_locked.0.ogg
Normal file
BIN
mods/default/sounds/default_chest_locked.0.ogg
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue