Files
Dawn-Godot/entity/npc/NPCTest.gd
2025-12-14 22:43:11 +10: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.")