Whatever lol

This commit is contained in:
2026-01-07 21:08:05 -06:00
parent 5805ac2260
commit fff088a0a7
72 changed files with 526 additions and 167 deletions

View File

@@ -0,0 +1,16 @@
class_name EntityInteractableArea extends Area3D
const Entity = preload("res://overworld/entity/Entity.gd")
@export var entity:Entity
func isInteractable() -> bool:
return entity && entity.interactType != Entity.InteractType.NONE
func onInteract() -> void:
if !isInteractable():
return
if entity.interactType == Entity.InteractType.NONE:
return
print("Entity Interacted")