Initial commit

This commit is contained in:
Matthew Barbour
2026-08-30 01:17:38 -05:00
parent f983ab64ce
commit 17cedb8bf1
68 changed files with 2035 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
extends Area2D
var inside = false
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _input(event):
if inside and Input.is_action_just_pressed("interact"):
$AudioStreamPlayer2D.play()
%Player.play_animation("drink",2100)
func _on_body_entered(body: Node2D) -> void:
$Label.visible = true
inside = true
func _on_body_exited(body: Node2D) -> void:
$Label.visible = false
inside = true