[gd_scene load_steps=9 format=3 uid="uid://b0fifk2nek3lm"]

[ext_resource type="Script" uid="uid://h61yq7g8mfj3" path="res://scripts/set_shifts.gd" id="1_rxjlm"]
[ext_resource type="Script" uid="uid://d3mey1366662n" path="res://addons/ReorderableContainer/reorderable_vbox.gd" id="2_532of"]
[ext_resource type="PackedScene" uid="uid://ctbg44spnjbsa" path="res://templates/shift_cycle.tscn" id="2_rxjlm"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_532of"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(0.9768931, 0.7416691, 0.47020185, 0.6)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5

[sub_resource type="StyleBoxLine" id="StyleBoxLine_532of"]
content_margin_left = 4.0
content_margin_top = 0.0
content_margin_right = 4.0
content_margin_bottom = 0.0
thickness = 4

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4epq3"]
content_margin_left = 4.0
content_margin_top = 4.0
content_margin_right = 4.0
content_margin_bottom = 4.0
bg_color = Color(0.47520554, 0.36835867, 0.22654346, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5

[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_532of"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u3f83"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(0.45, 0.45, 0.45, 0.40784314)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1.0
offset_right = 1.0
offset_bottom = 37.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_rxjlm")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 0
offset_left = 150.0
offset_top = 100.0
offset_right = 1770.0
offset_bottom = 1017.0
theme_override_constants/margin_left = 150
theme_override_constants/margin_top = 100
theme_override_constants/margin_right = 150
theme_override_constants/margin_bottom = 100

[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 150.0
offset_top = 100.0
offset_right = 1770.0
offset_bottom = 1017.0

[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20

[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 15

[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 9

[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer"]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2
text = "



WORKING SHIFT
During Working Shifts the display will shift to a minimized form that allows you to follow yourself and other adventurers on quests while working in the real world.
NO GUILD COSTS WILL ACCRUE.
NO GUILD CHANGES CAN BE MADE.





OPEN SHIFT
During Open Shifts you will be able to move around your guild, issuing quests, interacting with employees, and making improvements. During this time:
GUILD COSTS WILL ACCRUE FOR BEING OPEN.
QUESTS WILL NOT MAKE PROGRESS.





"
autowrap_mode = 2

[node name="PanelContainer2" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(700, 700)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_532of")

[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2"]
layout_mode = 2

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 42
text = "Set Your Work Shift Cycles"
horizontal_alignment = 1

[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 8
theme_override_styles/separator = SubResource("StyleBoxLine_532of")

[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer"]
clip_contents = false
custom_minimum_size = Vector2(0, 700)
layout_mode = 2

[node name="CycleList" type="Container" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer" node_paths=PackedStringArray("scroll_container")]
unique_name_in_owner = true
process_mode = 1
custom_minimum_size = Vector2(0, 111)
layout_mode = 2
script = ExtResource("2_532of")
hold_duration = 0.25
is_vertical = true
scroll_container = NodePath("..")
metadata/_custom_type_script = "uid://d3mey1366662n"

[node name="ShiftCycle" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" instance=ExtResource("2_rxjlm")]
layout_mode = 2

[node name="Accept Button" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_colors/font_color = Color(0.34254947, 0.14302492, 4.813075e-08, 1)
theme_override_font_sizes/font_size = 48
theme_override_styles/normal = SubResource("StyleBoxFlat_4epq3")
text = "ACCEPT"

[node name="VBoxContainer2" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2

[node name="Add Shift Button" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
custom_minimum_size = Vector2(460, 400)
layout_mode = 2
size_flags_vertical = 3
theme_override_font_sizes/font_size = 48
text = "ADD SHIFT"

[node name="DeleteBin" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
material = SubResource("CanvasItemMaterial_532of")
custom_minimum_size = Vector2(0, 400)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_u3f83")

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/DeleteBin"]
modulate = Color(0.40832946, 0.40832946, 0.40832946, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "(Drag a Shift Cycle Here to Remove)"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2

[connection signal="drag_started" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" to="." method="_on_drag_started"]
[connection signal="drag_stopped" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" to="." method="_on_drag_stopped"]
[connection signal="dragging" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" to="." method="_on_drag_moved"]
[connection signal="sort_children" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" to="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/ScrollContainer/CycleList" method="_on_sort_children"]
[connection signal="pressed" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer2/VBoxContainer/Accept Button" to="." method="_on_accept_button_pressed"]
[connection signal="pressed" from="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/Add Shift Button" to="." method="_on_add_shift_button_pressed"]
