diff options
author | nokoe <nokoe@mailbox.org> | 2024-07-03 15:04:02 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-07-03 15:04:02 +0200 |
commit | 11d2b799739d6e4a0fa7496a74cf10bff925b6ea (patch) | |
tree | b46927ad0a7629ee7753937f267141f62983faee /client/player/controllable_player.gd | |
parent | e994feebe11e4c1d8b7f3825f2e1c9bbd2069e82 (diff) | |
download | hurrycurry-11d2b799739d6e4a0fa7496a74cf10bff925b6ea.tar hurrycurry-11d2b799739d6e4a0fa7496a74cf10bff925b6ea.tar.bz2 hurrycurry-11d2b799739d6e4a0fa7496a74cf10bff925b6ea.tar.zst |
add progress sound
Diffstat (limited to 'client/player/controllable_player.gd')
-rw-r--r-- | client/player/controllable_player.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index 82365b83..8ba11097 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -138,6 +138,10 @@ func update_position(_new_position: Vector2, _new_rotation: float): func submit_message(text: String): game.mp.send_chat(text) +func progress(p: float, warn: bool): + super(p, warn) + Input.start_joy_vibration(0, 0.5, 0.1, 0.15) + func interact(): var tile = game.map.get_tile_instance(target) if tile != null: |