New art assets, work on implementing more adventurer behavior and making them work better together, and steps towards completing the first quest loop.
This commit is contained in:
132
main_panel.tscn
132
main_panel.tscn
@@ -1,91 +1,119 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c8ofw6na082gv"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c8ofw6na082gv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://main_panel.gd" id="1_pdekv"]
|
||||
[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://timer_label.gd" id="2_5rs2c"]
|
||||
[ext_resource type="StyleBox" uid="uid://by1jk8r2avjp4" path="res://styles/open_shift_panel.tres" id="2_b7y1i"]
|
||||
[ext_resource type="StyleBox" uid="uid://b7vjpwageyi6m" path="res://styles/working_shift_panel.tres" id="4_b7y1i"]
|
||||
|
||||
[node name="MainPanel" type="PanelContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -870.0
|
||||
offset_bottom = -526.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q6wja"]
|
||||
content_margin_left = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color(0.32774815, 0.3295362, 0.561609, 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
|
||||
|
||||
[node name="MainPanel" type="MarginContainer"]
|
||||
offset_right = 319.0
|
||||
offset_bottom = 189.0
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 0
|
||||
script = ExtResource("1_pdekv")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 400000.0
|
||||
autostart = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
[node name="OpenShift" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
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
|
||||
theme_override_styles/panel = ExtResource("2_b7y1i")
|
||||
|
||||
[node name="Passive" type="VBoxContainer" parent="MarginContainer"]
|
||||
[node name="Margin" type="MarginContainer" parent="OpenShift"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = -20
|
||||
theme_override_constants/margin_right = -80
|
||||
|
||||
[node name="OpenList" type="VBoxContainer" parent="OpenShift/Margin"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Passive"]
|
||||
[node name="Label" type="Label" parent="OpenShift/Margin/OpenList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "Time til Next Shift"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TimerLabel" type="Label" parent="MarginContainer/Passive"]
|
||||
[node name="TimerLabel" type="Label" parent="OpenShift/Margin/OpenList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "00:00:00.00"
|
||||
horizontal_alignment = 1
|
||||
script = ExtResource("2_5rs2c")
|
||||
|
||||
[node name="VisitorsLabel" type="Label" parent="OpenShift/Margin/OpenList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "000:00:00.00"
|
||||
script = ExtResource("2_5rs2c")
|
||||
|
||||
[node name="VisitorsLabel" type="Label" parent="MarginContainer/Passive"]
|
||||
[node name="Button" type="Button" parent="OpenShift/Margin/OpenList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "000:00:00.00"
|
||||
script = ExtResource("2_5rs2c")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
|
||||
text = "CLOSE GUILD"
|
||||
|
||||
[node name="QuestProgressList" type="ScrollContainer" parent="MarginContainer/Passive"]
|
||||
[node name="WorkingShift" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = ExtResource("4_b7y1i")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="WorkingShift"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = -80
|
||||
theme_override_constants/margin_top = -20
|
||||
|
||||
[node name="WorkingList" type="VBoxContainer" parent="WorkingShift/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="WorkingShift/MarginContainer/WorkingList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "Time til Next Shift"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TimerLabel" type="Label" parent="WorkingShift/MarginContainer/WorkingList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "000:00:00.00"
|
||||
script = ExtResource("2_5rs2c")
|
||||
|
||||
[node name="Button" type="Button" parent="WorkingShift/MarginContainer/WorkingList"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
|
||||
text = "Show Quests"
|
||||
|
||||
[node name="QuestProgressList" type="ScrollContainer" parent="."]
|
||||
visible = false
|
||||
clip_contents = false
|
||||
custom_minimum_size = Vector2(260, 100)
|
||||
layout_mode = 2
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Passive/QuestProgressList"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="QuestProgressList"]
|
||||
custom_minimum_size = Vector2(300, 100)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Active" type="VBoxContainer" parent="MarginContainer"]
|
||||
[node name="Notices" type="VBoxContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Active"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "Time til Next Shift"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TimerLabel" type="Label" parent="MarginContainer/Active"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "00:00:00.00"
|
||||
horizontal_alignment = 1
|
||||
script = ExtResource("2_5rs2c")
|
||||
|
||||
[node name="Label3" type="Label" parent="MarginContainer/Active"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "00:00:00.00"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Button" type="Button" parent="MarginContainer/Active"]
|
||||
layout_mode = 2
|
||||
text = "END SHIFT"
|
||||
|
||||
[connection signal="time_changed" from="." to="MarginContainer/Passive/TimerLabel" method="_on_time_changed"]
|
||||
[connection signal="time_changed" from="." to="MarginContainer/Active/TimerLabel" method="_on_time_changed"]
|
||||
[connection signal="pressed" from="MarginContainer/Active/Button" to="." method="_on_end_shift_pressed"]
|
||||
[connection signal="time_changed" from="." to="OpenShift/Margin/OpenList/TimerLabel" method="_on_time_changed"]
|
||||
[connection signal="pressed" from="OpenShift/Margin/OpenList/Button" to="OpenShift" method="_on_end_shift_pressed"]
|
||||
[connection signal="pressed" from="WorkingShift/MarginContainer/WorkingList/Button" to="OpenShift" method="_on_end_shift_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user