You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
5.7 KiB
141 lines
5.7 KiB
[gd_scene load_steps=16 format=3 uid="uid://ceaa2qj2bmw43"]
|
|
|
|
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_c6eln"]
|
|
[ext_resource type="Texture2D" uid="uid://cugtxcfuds31r" path="res://art/indoor/Babushka_bg_01.png" id="2_j25a2"]
|
|
[ext_resource type="Script" uid="uid://cldtt4atgymm5" path="res://scripts/CSharp/Common/Quest/QuestTrigger.cs" id="8_j25a2"]
|
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="8_phqdf"]
|
|
[ext_resource type="Resource" uid="uid://csj15gnlx1jmx" path="res://resources/quests/demo/8_goto_bed.tres" id="9_heyef"]
|
|
[ext_resource type="Script" uid="uid://puw74w6lmcvl" path="res://scripts/CSharp/Common/Fight/NightStarter.cs" id="10_j25a2"]
|
|
[ext_resource type="Script" uid="uid://jg4jryfus3bw" path="res://scripts/CSharp/Common/DayAndNight/DayAndNightHelper.cs" id="11_heyef"]
|
|
[ext_resource type="Texture2D" uid="uid://cop1vjvhwlsec" path="res://art/indoor/room export/Room_01_shelf.png" id="13_11fdt"]
|
|
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Vesna.tscn" id="18_3gevq"]
|
|
[ext_resource type="Script" uid="uid://bqomwxclsbhd3" path="res://scripts/CSharp/Common/Camera/CameraController.cs" id="23_408bg"]
|
|
[ext_resource type="PackedScene" uid="uid://cgjc4wurbgimy" path="res://prefabs/UI/Inventory/Inventory.tscn" id="24_xwo8y"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_l0jrn"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(3836, 1086)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2spkc"]
|
|
size = Vector2(238.25, 189.75)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_phqdf"]
|
|
resource_local_to_scene = true
|
|
radius = 381.93
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2spkc"]
|
|
resource_local_to_scene = true
|
|
radius = 509.071
|
|
|
|
[node name="VesnasRoom" type="Node2D"]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_c6eln")
|
|
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_indoor_common_room.tscn", "res://scenes/Babushka_scene_fight_world_room.tscn")
|
|
|
|
[node name="Colliders" type="Node2D" parent="."]
|
|
position = Vector2(1297, 5292)
|
|
scale = Vector2(4, 4)
|
|
|
|
[node name="SideColliderLeft" type="StaticBody2D" parent="Colliders"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/SideColliderLeft"]
|
|
position = Vector2(-2892, -1168)
|
|
shape = SubResource("RectangleShape2D_l0jrn")
|
|
|
|
[node name="SideColliderRight" type="StaticBody2D" parent="Colliders"]
|
|
position = Vector2(4858, 0)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/SideColliderRight"]
|
|
position = Vector2(-2892, -1168)
|
|
shape = SubResource("RectangleShape2D_l0jrn")
|
|
|
|
[node name="TopCollider" type="StaticBody2D" parent="Colliders"]
|
|
position = Vector2(2448.75, -595)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/TopCollider"]
|
|
position = Vector2(-2892, -1168)
|
|
shape = SubResource("RectangleShape2D_l0jrn")
|
|
|
|
[node name="BottomCollider" type="StaticBody2D" parent="Colliders"]
|
|
position = Vector2(2495.5, 757.75)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/BottomCollider"]
|
|
position = Vector2(-2892, -1168)
|
|
shape = SubResource("RectangleShape2D_l0jrn")
|
|
|
|
[node name="BedCollider" type="StaticBody2D" parent="Colliders"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/BedCollider"]
|
|
position = Vector2(-828.625, -1230.38)
|
|
shape = SubResource("RectangleShape2D_2spkc")
|
|
|
|
[node name="BackWall" type="Node" parent="."]
|
|
|
|
[node name="Room01Walls2" type="Sprite2D" parent="BackWall"]
|
|
z_index = -100
|
|
position = Vector2(4992, -487)
|
|
scale = Vector2(2, 2)
|
|
texture = ExtResource("2_j25a2")
|
|
offset = Vector2(-2768, 264)
|
|
|
|
[node name="Room01Shelf" type="Sprite2D" parent="BackWall"]
|
|
z_index = -50
|
|
position = Vector2(-1978, -678)
|
|
texture = ExtResource("13_11fdt")
|
|
region_enabled = true
|
|
region_rect = Rect2(1846, 471, 348, 490)
|
|
|
|
[node name="Vesna" parent="." instance=ExtResource("18_3gevq")]
|
|
position = Vector2(-471, 185)
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." node_paths=PackedStringArray("_followNode")]
|
|
position = Vector2(-1534, -26)
|
|
offset = Vector2(0, -200)
|
|
zoom = Vector2(0.5, 0.5)
|
|
limit_left = -2600
|
|
limit_top = -1400
|
|
limit_right = 1500
|
|
limit_bottom = 1400
|
|
editor_draw_limits = true
|
|
script = ExtResource("23_408bg")
|
|
_followNode = NodePath("../Vesna/CharacterBody2D")
|
|
|
|
[node name="CanvasLayer" parent="." instance=ExtResource("24_xwo8y")]
|
|
|
|
[node name="BedInteraction" parent="." instance=ExtResource("8_phqdf")]
|
|
position = Vector2(-1415, 489)
|
|
_id = 1
|
|
|
|
[node name="CollisionShape3D" parent="BedInteraction/Area2D" index="0"]
|
|
position = Vector2(-382, 9)
|
|
shape = SubResource("CircleShape2D_phqdf")
|
|
|
|
[node name="QuestCompleter" type="Node" parent="BedInteraction"]
|
|
script = ExtResource("8_j25a2")
|
|
questResource = ExtResource("9_heyef")
|
|
toStatus = 2
|
|
|
|
[node name="DoorInteraction" parent="." instance=ExtResource("8_phqdf")]
|
|
position = Vector2(777, 201)
|
|
_id = 0
|
|
|
|
[node name="CollisionShape3D" parent="DoorInteraction/Area2D" index="0"]
|
|
shape = SubResource("CircleShape2D_2spkc")
|
|
|
|
[node name="NightStarter" type="Node" parent="."]
|
|
script = ExtResource("10_j25a2")
|
|
_sceneIndexToLoad = 1
|
|
|
|
[node name="CountDayUp" type="Node" parent="NightStarter"]
|
|
script = ExtResource("11_heyef")
|
|
|
|
[connection signal="Interacted" from="BedInteraction" to="BedInteraction/QuestCompleter" method="Trigger"]
|
|
[connection signal="Interacted" from="BedInteraction" to="NightStarter" method="StartNight"]
|
|
[connection signal="Interacted" from="BedInteraction" to="NightStarter/CountDayUp" method="IncreaseDayCount"]
|
|
[connection signal="Interacted" from="DoorInteraction" to="." method="LoadScene"]
|
|
[connection signal="LoadScene" from="NightStarter" to="." method="LoadSceneAtIndex"]
|
|
|
|
[editable path="Vesna"]
|
|
[editable path="BedInteraction"]
|
|
[editable path="DoorInteraction"]
|