summaryrefslogtreecommitdiff
path: root/item/crown.gd
diff options
context:
space:
mode:
Diffstat (limited to 'item/crown.gd')
-rw-r--r--item/crown.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/item/crown.gd b/item/crown.gd
new file mode 100644
index 0000000..3ff1c84
--- /dev/null
+++ b/item/crown.gd
@@ -0,0 +1,7 @@
+extends Item
+
+
+func apply(player: Player):
+ SoundManager.get_node("ItemPickUpCrown").play()
+ player.change_type_random()
+ queue_free()