This commit is contained in:
2025-11-28 15:55:42 -06:00
parent 5573ad815f
commit 5805ac2260
9 changed files with 64 additions and 33 deletions

20
entity/npc/NPCInteract.gd Normal file
View File

@@ -0,0 +1,20 @@
@tool
class_name NPCInteract extends Node
enum InteractType {
NONE,
TEXT,
CUTSCENE
}
@export var interactType:InteractType = InteractType.NONE
func onInteract(player:Player) -> void:
print("NPC Interacted with by Player: %s" % player.name)
pass
func onInteractable(player:Player) -> void:
pass
func onNotInteractable(player:Player) -> void:
pass