[gd_scene load_steps=20 format=3 uid="uid://befxf8uruwnrl"]

[ext_resource type="Script" path="res://main.gd" id="1_rqkns"]
[ext_resource type="PackedScene" uid="uid://gldtxysavetf" path="res://logic-scenes/startup/startup.tscn" id="1_v5rpm"]
[ext_resource type="PackedScene" uid="uid://b51wdql4mby47" path="res://main_menu.tscn" id="3_ik73t"]
[ext_resource type="Texture2D" uid="uid://d031kxe5m4ihh" path="res://import/interface-elements/loading_rect_clip.png" id="5_sr555"]
[ext_resource type="Texture2D" uid="uid://bqf82f8dk4yun" path="res://import/interface-elements/loading_rect_frame.png" id="6_aaaxa"]
[ext_resource type="Texture2D" uid="uid://dpftqdvtrkioh" path="res://import/interface-elements/loading_rect_deco.png" id="7_koraw"]
[ext_resource type="PackedScene" uid="uid://6aaxpvoepqrm" path="res://disclaimer.tscn" id="7_t45fc"]
[ext_resource type="Script" path="res://logic-scenes/main menu/save_game_list.gd" id="8_jecj3"]
[ext_resource type="Script" path="res://dev-util/savegame.gd" id="9_7v45a"]
[ext_resource type="Texture2D" uid="uid://bk5ja14r7r6i4" path="res://import/interface-elements/empty_save_slot.png" id="10_l87ac"]

[sub_resource type="GDScript" id="GDScript_8sq0u"]
script/source = "extends Label

func _process(_delta):
    text = str(Engine.get_frames_per_second())
"

[sub_resource type="Animation" id="Animation_y6s08"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1.5708]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("frame/deco:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-0.314159]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("frame/deco:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("../../Panel:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(0, 0, 0, 1)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("../../Main Menu:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_l5ynk"]
resource_name = "init"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../../Panel:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../../Main Menu:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.166667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_k667j"]
resource_name = "loading"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.166667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.0333333, 1.76667),
"transitions": PackedFloat32Array(0.406126, 1),
"update": 0,
"values": [1.5708, 0.261799]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("frame/deco:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.0333368, 1.76667),
"transitions": PackedFloat32Array(0.406126, 1),
"update": 0,
"values": [-1.5708, -0.261799]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("frame/deco:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.366667, 1.66667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_nuxr6"]
resource_name = "loading_done"
length = 1.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.4),
"transitions": PackedFloat32Array(2.2974, 1),
"update": 0,
"values": [0.261799, -1.5708]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("frame/deco:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 1.4),
"transitions": PackedFloat32Array(2.2974, 1),
"update": 0,
"values": [-0.261799, 1.5708]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.933333, 1.36667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("../../Panel:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.566667, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_ogbs1"]
_data = {
"RESET": SubResource("Animation_y6s08"),
"init": SubResource("Animation_l5ynk"),
"loading": SubResource("Animation_k667j"),
"loading_done": SubResource("Animation_nuxr6")
}

[sub_resource type="Resource" id="Resource_u1xhm"]
script = ExtResource("9_7v45a")
current_room = 0
mementos_complete = 0
thumbnail = ExtResource("10_l87ac")
last_saved = {
"day": 1,
"dst": true,
"hour": 15,
"minute": 7,
"month": 10,
"second": 31,
"weekday": 2,
"year": 2024
}

[sub_resource type="Resource" id="Resource_2d1xt"]
script = ExtResource("9_7v45a")
current_room = 0
mementos_complete = 0
thumbnail = ExtResource("10_l87ac")
last_saved = {
"day": 1,
"dst": true,
"hour": 15,
"minute": 7,
"month": 10,
"second": 31,
"weekday": 2,
"year": 2024
}

[sub_resource type="Resource" id="Resource_slmss"]
script = ExtResource("9_7v45a")
current_room = 0
mementos_complete = 0
thumbnail = ExtResource("10_l87ac")
last_saved = {
"day": 1,
"dst": true,
"hour": 15,
"minute": 7,
"month": 10,
"second": 31,
"weekday": 2,
"year": 2024
}

[node name="main" type="Node3D"]
script = ExtResource("1_rqkns")
youth_room_path = "res://base-environments/youth_room/youth_room.tscn"
voluntary_room = "res://base-environments/volunteer_room/volunteer_room.tscn"

[node name="Panel" type="Panel" parent="."]
modulate = Color(0, 0, 0, 1)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="Main Menu" parent="." instance=ExtResource("3_ik73t")]

[node name="Label" type="Label" parent="."]
offset_right = 40.0
offset_bottom = 35.0
script = SubResource("GDScript_8sq0u")

[node name="Startup Menu" parent="." instance=ExtResource("1_v5rpm")]
visible = false

[node name="Disclaimer" parent="." instance=ExtResource("7_t45fc")]
visible = false

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -40.0
offset_right = 40.0
grow_vertical = 0

[node name="mask" type="Sprite2D" parent="Control"]
modulate = Color(1, 1, 1, 0)
clip_children = 1
position = Vector2(98, -47)
rotation = 1.5708
texture = ExtResource("5_sr555")

[node name="frame" type="Sprite2D" parent="Control/mask"]
clip_children = 1
texture = ExtResource("6_aaaxa")

[node name="deco" type="Sprite2D" parent="Control/mask/frame"]
modulate = Color(1, 1, 1, 0)
rotation = -0.314159
texture = ExtResource("7_koraw")

[node name="MenuAnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
root_node = NodePath("../Control/mask")
libraries = {
"": SubResource("AnimationLibrary_ogbs1")
}
autoplay = "init"

[node name="SaveGameHandle" type="CenterContainer" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("8_jecj3")
save_1 = SubResource("Resource_u1xhm")
save_2 = SubResource("Resource_2d1xt")
save_3 = SubResource("Resource_slmss")

[connection signal="on_read" from="Disclaimer" to="Startup Menu" method="starting"]
