1
0

Initial commit

This commit is contained in:
FoxSpellCaster
2025-04-16 18:12:10 -04:00
commit 99bea1a1f0
53 changed files with 4804 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
extends RayCast3D
@onready var interact_prompt_label : Label = get_node("InteractionPrompt")
func _process(delta):
var object = get_collider()
interact_prompt_label.text = ""
if object and object is InteractableObject:
if object.can_interact == false:
return
interact_prompt_label.text = "[E] " + object.interact_prompt
if Input.is_action_just_pressed("interact"):
object._interact()