1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 00:54:19 +00:00
swear-jar/convertors/copper_to_silver.gd
Matteo Balugani 29712fb69d ?
2023-10-01 22:36:26 +02:00

12 lines
175 B
GDScript

extends StaticBody2D
@export var scene: PackedScene
func _on_collector_collected(body):
body.queue_free()
func _on_collector_goal():
print("silver")
$Spawner.spawn()