extends Area2D @export var amount: float = 20 @onready var text = $Label func _on_body_entered(body): if body is MainShip: body.money += amount queue_free()