Audio: mood music, ambience, sound effects and creature voices (Kenney CC0 + synthesised); protocol 13

This commit is contained in:
Paul Bailey
2026-11-05 21:03:54 +00:00
parent 2a9d47630e
commit caa611fac6
159 changed files with 1814 additions and 3 deletions

View File

@@ -144,12 +144,15 @@ func open(chest: Node) -> void:
container.inventory.changed.connect(_refresh)
visible = true
player.ui_open = true
Sfx.ui("ui_open")
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
_pick_tab()
_rebuild_chest()
_refresh()
func close() -> void:
if visible:
Sfx.ui("ui_close")
if WorldNet.is_client():
PlayerNet.ask("close") # the server puts the cursor back in our bag
_cursor = null