extends Node func _ready() -> void: if get_parent().player == null: return get_parent().player.died.connect(on_death) func on_death() -> void: get_parent().system.drop_slot("bomb")