diff --git a/scripts/objects/holdable_item.gd b/scripts/objects/holdable_item.gd index b768979..5635f94 100644 --- a/scripts/objects/holdable_item.gd +++ b/scripts/objects/holdable_item.gd @@ -24,6 +24,7 @@ func _ready() -> void: func _on_drag_picked_up(_pos: Vector2) -> void: if is_in_hand_slot(): _detach_from_hand_slot() + AudioManager.play_sfx("item_drag_start") item_picked_up.emit(self) @@ -35,6 +36,9 @@ func _on_drag_released(_pos: Vector2) -> void: var character: Character = result[0] as Character var hand: String = result[1] as String character.attach_item(hand, self) + AudioManager.play_sfx("item_drop_hand") + else: + AudioManager.play_sfx("item_drop_floor") item_placed.emit(self) @@ -46,6 +50,7 @@ func _try_return_to_chest() -> bool: var chest: RoomChest = home_chest as RoomChest if chest == null: return false + AudioManager.play_sfx("item_return_chest") chest.receive_item(self) return true diff --git a/scripts/objects/outfit_item.gd b/scripts/objects/outfit_item.gd index b4c04e8..b44e580 100644 --- a/scripts/objects/outfit_item.gd +++ b/scripts/objects/outfit_item.gd @@ -15,6 +15,7 @@ func _on_drag_released(_pos: Vector2) -> void: var character: Character = _find_nearest_character() if character != null: character.apply_outfit_item(outfit_layer, item_id, outfit_sprite, self) + AudioManager.play_sfx("item_drop_outfit") return super._on_drag_released(_pos)