diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
commit | d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d (patch) | |
tree | 8bffeb9f025dc1c77bc53b65caf10d9b1fab5f2c /item/shoe.gd |
initial commit
Diffstat (limited to 'item/shoe.gd')
-rw-r--r-- | item/shoe.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/item/shoe.gd b/item/shoe.gd new file mode 100644 index 0000000..821af95 --- /dev/null +++ b/item/shoe.gd @@ -0,0 +1,7 @@ +extends Item + + +func apply(player: Player): + SoundManager.get_node("ItemPickUpShoe").play() + player.speed_modifier = min(player.speed_modifier + 0.5, 2.0) + queue_free() |