summaryrefslogtreecommitdiff
path: root/game/rooms/test_kitchen
diff options
context:
space:
mode:
authorRadio <radiohotline@disroot.org>2026-06-04 15:15:11 +0300
committerRadio <radiohotline@disroot.org>2026-06-04 15:15:11 +0300
commit9d74b49ab62908d4acf53dde444413886b8b28e5 (patch)
tree0cb785267ea7e239b19d88684c0d64b9bd5d52f0 /game/rooms/test_kitchen
parent2c85d452ad02a5f89cd43bad7f9de31d0e4fa0c1 (diff)
escoria setup and old branch archives
Diffstat (limited to 'game/rooms/test_kitchen')
-rw-r--r--game/rooms/test_kitchen/kitchen.pngbin0 -> 2493262 bytes
-rw-r--r--game/rooms/test_kitchen/kitchen.png.import40
-rw-r--r--game/rooms/test_kitchen/room_kitchen.esc4
-rw-r--r--game/rooms/test_kitchen/test_kitchen.tscn53
4 files changed, 97 insertions, 0 deletions
diff --git a/game/rooms/test_kitchen/kitchen.png b/game/rooms/test_kitchen/kitchen.png
new file mode 100644
index 0000000..71d6fa9
--- /dev/null
+++ b/game/rooms/test_kitchen/kitchen.png
Binary files differ
diff --git a/game/rooms/test_kitchen/kitchen.png.import b/game/rooms/test_kitchen/kitchen.png.import
new file mode 100644
index 0000000..4a9c5d2
--- /dev/null
+++ b/game/rooms/test_kitchen/kitchen.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://cdv11spgcle4e"
+path="res://.godot/imported/kitchen.png-f2ce326655b7e4a2376b8d8f4183d5de.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://game/rooms/test_kitchen/kitchen.png"
+dest_files=["res://.godot/imported/kitchen.png-f2ce326655b7e4a2376b8d8f4183d5de.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/uastc_level=0
+compress/rdo_quality_loss=0.0
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/channel_remap/red=0
+process/channel_remap/green=1
+process/channel_remap/blue=2
+process/channel_remap/alpha=3
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1
diff --git a/game/rooms/test_kitchen/room_kitchen.esc b/game/rooms/test_kitchen/room_kitchen.esc
new file mode 100644
index 0000000..c50f2fd
--- /dev/null
+++ b/game/rooms/test_kitchen/room_kitchen.esc
@@ -0,0 +1,4 @@
+:setup
+ if ESC_LAST_SCENE == "test":
+ teleport($weener, $kitchen_exit)
+ set_angle($weener, 270)
diff --git a/game/rooms/test_kitchen/test_kitchen.tscn b/game/rooms/test_kitchen/test_kitchen.tscn
new file mode 100644
index 0000000..688c363
--- /dev/null
+++ b/game/rooms/test_kitchen/test_kitchen.tscn
@@ -0,0 +1,53 @@
+[gd_scene format=3 uid="uid://dw2s1aomk3k0e"]
+
+[ext_resource type="Script" uid="uid://c7fcpp72w3dnj" path="res://addons/escoria-core/game/core-scripts/esc_room.gd" id="1_j38dn"]
+[ext_resource type="PackedScene" uid="uid://bxxhvoforh8g8" path="res://game/characters/weener/weener.tscn" id="2_w42vq"]
+[ext_resource type="Texture2D" uid="uid://cdv11spgcle4e" path="res://game/rooms/test_kitchen/kitchen.png" id="3_u6s3a"]
+[ext_resource type="Script" uid="uid://fnwnfflaoeqp" path="res://addons/escoria-core/game/core-scripts/esc_background.gd" id="4_t26dx"]
+[ext_resource type="Script" uid="uid://5pbcieq7gpdo" path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" id="5_xa5sy"]
+[ext_resource type="Script" uid="uid://btt4cprco53ec" path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" id="6_u6s3a"]
+[ext_resource type="Script" uid="uid://chu4bvqgwxuts" path="res://addons/escoria-core/game/core-scripts/esc_interaction_location.gd" id="7_t26dx"]
+
+[sub_resource type="NavigationPolygon" id="NavigationPolygon_kamrl"]
+vertices = PackedVector2Array(1910, 739.21094, 1910, 924.2969, 1732.2266, 896.4375, 1764.6719, 710.34375, 854.9922, 1028.0234, 819.60156, 981.1328, 809.28906, 895.1875, 919.78125, 897.10156, 1560.5391, 1031.9766, 1072.9063, 626.2969, 1131.9063, 571.97656, 1752.8125, 570.02344)
+polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8), PackedInt32Array(8, 7, 9, 10, 11, 3, 2)])
+outlines = Array[PackedVector2Array]([PackedVector2Array(1920, 731, 1774, 702, 1762, 560, 1128, 562, 1065, 620, 914, 887, 798, 885, 810, 985, 850, 1038, 1564, 1042, 1735, 907, 1920, 936)])
+
+[node name="TestKitchen" type="Node2D" unique_id=205166811]
+script = ExtResource("1_j38dn")
+global_id = "kitchen"
+esc_script = "res://game/rooms/test_kitchen/room_kitchen.esc"
+player_scene = ExtResource("2_w42vq")
+metadata/_custom_type_script = "uid://c7fcpp72w3dnj"
+
+[node name="escbackground" type="TextureRect" parent="." unique_id=2070587804]
+offset_right = 40.0
+offset_bottom = 40.0
+mouse_filter = 2
+texture = ExtResource("3_u6s3a")
+script = ExtResource("4_t26dx")
+metadata/_custom_type_script = "uid://fnwnfflaoeqp"
+
+[node name="ESCTerrain" type="Node2D" parent="." unique_id=568229096]
+script = ExtResource("5_xa5sy")
+metadata/_custom_type_script = "uid://5pbcieq7gpdo"
+
+[node name="NavigationRegion2D" type="NavigationRegion2D" parent="ESCTerrain" unique_id=1889897109]
+navigation_polygon = SubResource("NavigationPolygon_kamrl")
+
+[node name="ESCExit" type="Area2D" parent="." unique_id=1918860245]
+position = Vector2(1837, 822)
+script = ExtResource("6_u6s3a")
+target_scene = "uid://cbtqk144uipsv"
+global_id = "exit_to_test"
+tooltip_name = "To test"
+metadata/_custom_type_script = "uid://btt4cprco53ec"
+
+[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="ESCExit" unique_id=585897778]
+polygon = PackedVector2Array(-71, -112, 83, -81, 83, 117, -107, 88)
+
+[node name="ESCInteractionLocation" type="Marker2D" parent="ESCExit" unique_id=137473435]
+position = Vector2(-92, -12)
+script = ExtResource("7_t26dx")
+global_id = "kitchen_exit"
+metadata/_custom_type_script = "uid://chu4bvqgwxuts"