SpielBackupAlt/scripts/VentGrid.gd

10 lines
206 B
GDScript
Executable File

extends StaticBody
func interact(relate):
if not relate.is_in_group("Player"):
return
if relate.inventory.has("Screwdriver"):
get_parent().visible = false
$CollisionShape.disabled = true