102 lines
3.6 KiB
Plaintext
102 lines
3.6 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://bmse1b3qcae7m"]
|
|
|
|
[ext_resource type="Theme" uid="uid://dkofjwlcf80gp" path="res://UI/Themes/InteractionPopupTheme.tres" id="1_up8s2"]
|
|
[ext_resource type="Script" path="res://UI/Drying/DryingMenu.gd" id="2_bvakk"]
|
|
[ext_resource type="PackedScene" uid="uid://c3ku75p4ep3c7" path="res://UI/Inventory/InventoryDisplayer.tscn" id="3_kla7o"]
|
|
[ext_resource type="Texture2D" uid="uid://cn2qexqrtgngh" path="res://Objects/Beach/SunningRock/SunningRock.png" id="4_xhpsp"]
|
|
[ext_resource type="Texture2D" uid="uid://bxc6pq2t60a6g" path="res://UI/Drying/Sun/Sun1.png" id="5_c43w7"]
|
|
[ext_resource type="Texture2D" uid="uid://bqltoj0trnw3d" path="res://UI/Drying/Sun/Sun2.png" id="6_7ixof"]
|
|
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="7_dh0s4"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p28hs"]
|
|
bg_color = Color(0.815686, 0.886275, 0.976471, 1)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 19
|
|
border_width_bottom = 4
|
|
border_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xej4q"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_c43w7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_7ixof")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 2.0
|
|
}]
|
|
|
|
[node name="DryingMenu" type="Window"]
|
|
process_mode = 3
|
|
size = Vector2i(600, 500)
|
|
unresizable = true
|
|
borderless = true
|
|
theme = ExtResource("1_up8s2")
|
|
script = ExtResource("2_bvakk")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
offset_right = 590.0
|
|
offset_bottom = 8.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_p28hs")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
custom_minimum_size = Vector2(590, 490)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 11
|
|
|
|
[node name="DryerName" type="Label" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
theme_override_colors/font_color = Color(1, 0.819608, 0.690196, 1)
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 9
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Sunning Rock"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_right = 8
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Inventory" parent="PanelContainer/VBoxContainer/MarginContainer/HBoxContainer" instance=ExtResource("3_kla7o")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 2
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_bottom = 5
|
|
|
|
[node name="LeaveButton" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Leave"
|
|
|
|
[node name="SunningRock" type="Sprite2D" parent="."]
|
|
position = Vector2(443, 380)
|
|
texture = ExtResource("4_xhpsp")
|
|
|
|
[node name="Sun" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(440, 135)
|
|
sprite_frames = SubResource("SpriteFrames_xej4q")
|
|
frame_progress = 0.501922
|
|
script = ExtResource("7_dh0s4")
|
|
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer2/LeaveButton" to="." method="_on_leave_button_pressed"]
|