meat_madness_redux/godot/assets/meat_bore/Area.gd

9 lines
140 B
GDScript

extends Area
func _on_Area_body_entered(body):
if body.get_parent() == Util.player:
var d = Dialogic.start("password")
add_child(d)