diff options
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() |