diff options
Diffstat (limited to 'game/rooms/test/test.tscn')
| -rw-r--r-- | game/rooms/test/test.tscn | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/game/rooms/test/test.tscn b/game/rooms/test/test.tscn new file mode 100644 index 0000000..b4e62b5 --- /dev/null +++ b/game/rooms/test/test.tscn @@ -0,0 +1,113 @@ +[gd_scene format=3 uid="uid://cbtqk144uipsv"] + +[ext_resource type="Script" uid="uid://c7fcpp72w3dnj" path="res://addons/escoria-core/game/core-scripts/esc_room.gd" id="1_jhg43"] +[ext_resource type="PackedScene" uid="uid://bxxhvoforh8g8" path="res://game/characters/weener/weener.tscn" id="2_fmbdf"] +[ext_resource type="Texture2D" uid="uid://bnjgnax8nlttv" path="res://game/rooms/test/test_bg.png" id="3_5kokq"] +[ext_resource type="Script" uid="uid://fnwnfflaoeqp" path="res://addons/escoria-core/game/core-scripts/esc_background.gd" id="4_x54b2"] +[ext_resource type="Script" uid="uid://5pbcieq7gpdo" path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" id="5_x54b2"] +[ext_resource type="Script" uid="uid://beh3ds4eapldu" path="res://addons/escoria-core/game/core-scripts/esc_location.gd" id="6_4gqel"] +[ext_resource type="Script" uid="uid://dshelmw7y44qg" path="res://addons/escoria-core/game/core-scripts/esc_item.gd" id="7_agkbc"] +[ext_resource type="Script" uid="uid://chu4bvqgwxuts" path="res://addons/escoria-core/game/core-scripts/esc_interaction_location.gd" id="8_54mxh"] +[ext_resource type="Texture2D" uid="uid://ddomp71uwr167" path="res://game/items/textures/bottle.png" id="10_wafjj"] +[ext_resource type="PackedScene" uid="uid://cgs614ewjs78u" path="res://game/items/inventory/pen.tscn" id="11_co1tc"] +[ext_resource type="Script" uid="uid://btt4cprco53ec" path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" id="11_wafjj"] + +[sub_resource type="NavigationPolygon" id="NavigationPolygon_4gqel"] +vertices = PackedVector2Array(628, 674.8125, 672.3281, 669.1797, 694.1797, 842, 628, 724.78906, 1171.6484, 842, 1800.4766, 889.4375, 1911, 984.5781, 1911, 1070, 11, 1070, 11, 928.21094, 1237.8828, 683.8203, 1526.5469, 757.4375, 346.09375, 796.0469, 211.74219, 787.8828, 301.64844, 753.59375) +polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8, 9, 2), PackedInt32Array(4, 10, 11, 5), PackedInt32Array(12, 3, 2, 9), PackedInt32Array(13, 14, 12, 9)]) +outlines = Array[PackedVector2Array]([PackedVector2Array(1, 923, 207, 779, 304, 742, 349, 785, 618, 717, 618, 666, 681, 658, 703, 832, 1165, 832, 1232, 672, 1530, 748, 1806, 881, 1921, 980, 1921, 1080, 1, 1080)]) + +[node name="Test" type="Node2D" unique_id=1166794] +script = ExtResource("1_jhg43") +global_id = "test" +esc_script = "res://game/rooms/test/room_test.esc" +player_scene = ExtResource("2_fmbdf") +metadata/_custom_type_script = "uid://c7fcpp72w3dnj" + +[node name="escbackground" type="TextureRect" parent="." unique_id=533934161] +offset_right = 1920.0 +offset_bottom = 1080.0 +mouse_filter = 2 +texture = ExtResource("3_5kokq") +script = ExtResource("4_x54b2") +metadata/_custom_type_script = "uid://fnwnfflaoeqp" + +[node name="ESCTerrain" type="Node2D" parent="." unique_id=1609749800] +script = ExtResource("5_x54b2") +metadata/_custom_type_script = "uid://5pbcieq7gpdo" + +[node name="NavigationRegion2D" type="NavigationRegion2D" parent="ESCTerrain" unique_id=482689538] +navigation_polygon = SubResource("NavigationPolygon_4gqel") + +[node name="Start" type="Marker2D" parent="." unique_id=1291454412] +position = Vector2(957, 951) +script = ExtResource("6_4gqel") +global_id = "start" +is_start_location = true +metadata/_custom_type_script = "uid://beh3ds4eapldu" + +[node name="Phone" type="Area2D" parent="." unique_id=754116905] +process_mode = 1 +position = Vector2(0, -2) +script = ExtResource("7_agkbc") +global_id = "phone" +esc_script = "res://game/rooms/test/phone.esc" +tooltip_name = "Phone" +combine_when_selected_action_is_in = PackedStringArray() +metadata/_custom_type_script = "uid://dshelmw7y44qg" + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Phone" unique_id=750375557] +polygon = PackedVector2Array(537, 363, 551, 362, 555, 346, 549, 335, 503, 327, 476, 331, 444, 340, 426, 349, 421, 362, 426, 376, 445, 381, 440, 394, 440, 420, 476, 453, 511, 445, 550, 432, 556, 420, 552, 392) + +[node name="ESCInteractionLocation" type="Marker2D" parent="Phone" unique_id=1048861594] +position = Vector2(565, 767) +script = ExtResource("8_54mxh") +metadata/_custom_type_script = "uid://chu4bvqgwxuts" + +[node name="Bottle" type="Area2D" parent="." unique_id=1730354307] +process_mode = 1 +z_index = 1048 +position = Vector2(1549, 997) +script = ExtResource("7_agkbc") +global_id = "bottle" +combine_when_selected_action_is_in = PackedStringArray() +is_interactive = false +inventory_texture = ExtResource("10_wafjj") +inventory_texture_hovered = ExtResource("10_wafjj") +metadata/_custom_type_script = "uid://dshelmw7y44qg" + +[node name="Sprite2D" type="Sprite2D" parent="Bottle" unique_id=1797859338] +position = Vector2(0, -171) +scale = Vector2(10.689665, 7.0120864) +texture = ExtResource("10_wafjj") + +[node name="Pen" parent="." unique_id=1638794728 instance=ExtResource("11_co1tc")] +position = Vector2(1824, 614) +scale = Vector2(2, 2) +tooltip_name = "Pen" +combine_when_selected_action_is_in = PackedStringArray("use") +default_action_inventory = "use" +use_from_inventory_only = true + +[node name="ESCInteractionLocation" type="Marker2D" parent="Pen" unique_id=46124229] +position = Vector2(-44.5, 141.5) +script = ExtResource("8_54mxh") +metadata/_custom_type_script = "uid://chu4bvqgwxuts" + +[node name="ESCExit" type="Area2D" parent="." unique_id=1821249842] +position = Vector2(92, 675) +script = ExtResource("11_wafjj") +target_scene = "uid://dw2s1aomk3k0e" +global_id = "exit_to_kitchen" +tooltip_name = "To kitchen" +metadata/_custom_type_script = "uid://btt4cprco53ec" + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="ESCExit" unique_id=1151309996] +position = Vector2(59, 222) +polygon = PackedVector2Array(33, -544, -151, -472, -151, 48, -106, 6, -10, -63, 51, -90) + +[node name="ESCInteractionLocation" type="Marker2D" parent="ESCExit" unique_id=242339506] +position = Vector2(73, 222) +script = ExtResource("8_54mxh") +global_id = "test_exit" +metadata/_custom_type_script = "uid://chu4bvqgwxuts" |
