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
@@ -0,0 +1,16 @@
extends Area2D
# 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 _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "West Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
@@ -0,0 +1 @@
uid://ddi7n13cestbt
@@ -0,0 +1,12 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if Global.player_entrance_name:
%Player.global_position = get_node(Global.player_entrance_name).global_position
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
@@ -0,0 +1 @@
uid://d13cdc8w03klw
@@ -0,0 +1,25 @@
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 Input.is_action_just_pressed("interact"):
%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
@@ -0,0 +1 @@
uid://3y84v7vdq0uo
@@ -0,0 +1,16 @@
extends Area2D
# 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 _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "South Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
@@ -0,0 +1 @@
uid://do4h840v8awtn
@@ -0,0 +1,16 @@
extends Area2D
# 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 _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "East Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
@@ -0,0 +1 @@
uid://bm1tgx7c8cmbq