Files
Kitchen-Adventure/scenes/kitchen_mirror/kitchen_mirror.tscn
T
2026-08-30 01:17:38 -05:00

138 lines
5.5 KiB
Plaintext

[gd_scene format=3 uid="uid://cdvdgefw2xiim"]
[ext_resource type="Texture2D" uid="uid://dyjimwqh6nf3b" path="res://scenes/kitchen/images/kitchen.png" id="1_8froy"]
[ext_resource type="Script" uid="uid://d13cdc8w03klw" path="res://scenes/kitchen_mirror/scripts/kitchen_mirror.gd" id="1_d2q7u"]
[ext_resource type="Script" uid="uid://bm1tgx7c8cmbq" path="res://scenes/kitchen_mirror/scripts/west_exit.gd" id="4_8froy"]
[ext_resource type="PackedScene" uid="uid://cuc5q5cao3vjx" path="res://player/player.tscn" id="4_8uwkb"]
[ext_resource type="Script" uid="uid://ddi7n13cestbt" path="res://scenes/kitchen_mirror/scripts/east_exit.gd" id="5_8froy"]
[ext_resource type="PackedScene" uid="uid://nt43v1uyni2b" path="res://entities/magus/magus.tscn" id="6_d2q7u"]
[ext_resource type="LabelSettings" uid="uid://dkpp84p885g8h" path="res://shared/resources/standard_label_settings.tres" id="7_5jiw2"]
[ext_resource type="Script" uid="uid://e22lo1h2ovr7" path="res://shared/helpers/hotspot.gd" id="9_8iblu"]
[ext_resource type="Resource" uid="uid://dq0rebksvpqsq" path="res://scenes/kitchen_mirror/dialogue/magus.dialogue" id="10_mdb7i"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_5t4nn"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4nnu7"]
size = Vector2(2039, 118)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5t4nn"]
size = Vector2(8, 321)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d67dk"]
size = Vector2(15.5, 218.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y2vya"]
size = Vector2(506.00003, 455.91666)
[node name="Node2D" type="Node2D" unique_id=396398678]
y_sort_enabled = true
script = ExtResource("1_d2q7u")
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=352975622]
position = Vector2(92, 176)
physics_material_override = SubResource("PhysicsMaterial_5t4nn")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=1786835918]
position = Vector2(1637, -47)
scale = Vector2(-1, 1)
polygon = PackedVector2Array(-139, 616, 37, 670, 291, 593, 488, 508, 1294, 605, 1295, 965, 1770, 961, 1806, 4, 456, 21, -169, 30)
[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=506849821]
position = Vector2(1660, 7)
scale = Vector2(-1, 1)
polygon = PackedVector2Array(359, 784, 717, 864, 782, 807, 912, 824, 1027, 720, 477, 627, 358, 720)
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1773577601]
position = Vector2(905.5, 1055)
shape = SubResource("RectangleShape2D_4nnu7")
[node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=1227676112]
polygon = PackedVector2Array(1860, 817, 1432, 905, 1445, 1057, 1975, 1054)
[node name="East Exit" type="Area2D" parent="." unique_id=100473542]
position = Vector2(-38, 12)
collision_layer = 32768
collision_mask = 32768
script = ExtResource("5_8froy")
[node name="CollisionShape2D" type="CollisionShape2D" parent="East Exit" unique_id=1358787735]
position = Vector2(1957, 934)
shape = SubResource("RectangleShape2D_5t4nn")
[node name="West Exit" type="Area2D" parent="." unique_id=2018443347]
position = Vector2(1836, 944)
collision_layer = 32768
collision_mask = 32768
script = ExtResource("4_8froy")
[node name="CollisionShape2D" type="CollisionShape2D" parent="West Exit" unique_id=1394680927]
position = Vector2(-1826, 165)
shape = SubResource("RectangleShape2D_d67dk")
[node name="East Entrance" type="Marker2D" parent="." unique_id=1551667945]
position = Vector2(1731, 937)
[node name="West Entrance" type="Marker2D" parent="." unique_id=90243493]
position = Vector2(195, 1131)
[node name="South Entrance" type="Marker2D" parent="." unique_id=615804952]
position = Vector2(945, 1123)
[node name="Kitchen" type="Sprite2D" parent="." unique_id=929834458]
texture = ExtResource("1_8froy")
centered = false
flip_h = true
region_enabled = true
region_rect = Rect2(0, 0, 1920, 1080)
[node name="Island" type="Sprite2D" parent="." unique_id=1972903081]
position = Vector2(774, 987)
texture = ExtResource("1_8froy")
centered = false
offset = Vector2(0, -412)
flip_h = true
region_enabled = true
region_rect = Rect2(7, 1094, 728, 412)
[node name="Chair" type="Sprite2D" parent="." unique_id=407782373]
position = Vector2(1512, 1079)
texture = ExtResource("1_8froy")
centered = false
offset = Vector2(0, -322)
flip_h = true
region_enabled = true
region_rect = Rect2(860, 1109, 408, 322)
[node name="Player" parent="." unique_id=1952104269 instance=ExtResource("4_8uwkb")]
unique_name_in_owner = true
position = Vector2(1722.0001, 936.00006)
scale = Vector2(3, 3)
[node name="Magus" parent="." unique_id=166157348 instance=ExtResource("6_d2q7u")]
position = Vector2(663, 831)
scale = Vector2(12, 12)
[node name="Magus Dialogue" type="Area2D" parent="." unique_id=649036673]
collision_layer = 32768
collision_mask = 32768
script = ExtResource("9_8iblu")
dialogue_resource = ExtResource("10_mdb7i")
dialogue_cue = "start"
metadata/_custom_type_script = "uid://e22lo1h2ovr7"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Magus Dialogue" unique_id=452716105]
position = Vector2(699, 669.0417)
shape = SubResource("RectangleShape2D_y2vya")
[node name="Label" type="Label" parent="Magus Dialogue" unique_id=1810741347]
visible = false
offset_left = 670.0
offset_top = 396.0
offset_right = 729.0
offset_bottom = 434.0
text = "Talk"
label_settings = ExtResource("7_5jiw2")
[connection signal="body_entered" from="East Exit" to="East Exit" method="_on_body_entered"]
[connection signal="body_entered" from="West Exit" to="West Exit" method="_on_body_entered"]