Files
Dawn-Godot/entities/npc/NPCTest.gd

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.")