Files
Dawn-Godot/entity/npc/NPCTest.gd
2025-08-19 19:57:24 -05:00

6 lines
183 B
GDScript

class_name NPCTest extends Node
func onInteract(playerEntity: Player) -> void:
print("Player has interacted with the NPC.")
UI.TEXTBOX.setText("You have interacted with the NPC.")