diff options
author | nokoe <nokoe@mailbox.org> | 2024-07-07 14:51:20 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-07-07 14:51:20 +0200 |
commit | cb595326f274a36f81252f2ded83f5bc36187950 (patch) | |
tree | 7d2b4eb69dd635f4f90e9db1786c93796ad9b607 /client/player/controllable_player.gd | |
parent | 27f93d1352e91c2b82c0d2a92dd4d92bfebf9795 (diff) | |
download | hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar.bz2 hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar.zst |
add more sounds
Diffstat (limited to 'client/player/controllable_player.gd')
-rw-r--r-- | client/player/controllable_player.gd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index c4c29566..da2cffcd 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -142,6 +142,14 @@ func progress(p: float, warn: bool): super(p, warn) Input.start_joy_vibration(0, 0.5, 0.1, 0.15) +func put_item(tile: Tile): + super(tile) + Input.start_joy_vibration(0, 0.1, 0.0, 0.075) + +func take_item(tile: Tile): + super(tile) + Input.start_joy_vibration(0, 0.1, 0.0, 0.075) + func interact(): var tile = game.map.get_tile_instance(target) if tile != null: |