Files
pomchronicles/templates/quest_info_window.tscn

132 lines
4.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://map4n3vxmud3"]
[ext_resource type="Script" uid="uid://cip5x34n08ilk" path="res://scripts/quest_info_window.gd" id="1_87ctw"]
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="2_isnli"]
[sub_resource type="LabelSettings" id="LabelSettings_fkhvq"]
outline_size = 2
[sub_resource type="LabelSettings" id="LabelSettings_cyayr"]
[sub_resource type="LabelSettings" id="LabelSettings_w0qqq"]
outline_size = 3
[node name="Quest Info Window" type="Window"]
oversampling_override = 1.0
title = "Quest Information"
size = Vector2i(500, 620)
wrap_controls = true
unresizable = true
popup_window = true
script = ExtResource("1_87ctw")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = -1
offset_right = 500.0
offset_bottom = 620.0
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
texture = ExtResource("2_isnli")
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/VBoxContainer"]
layout_mode = 2
text = "Quest Name"
label_settings = SubResource("LabelSettings_fkhvq")
[node name="NameLabel" type="Label" parent="VBoxContainer/HBoxContainer2/VBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.6542321, 0.6542321, 0.654232, 1)
custom_minimum_size = Vector2(365, 35)
layout_mode = 2
size_flags_vertical = 3
text = "A Simple Task"
label_settings = SubResource("LabelSettings_cyayr")
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer2/VBoxContainer"]
layout_mode = 2
text = "Difficulty"
label_settings = SubResource("LabelSettings_w0qqq")
[node name="DifficultyLabel" type="Label" parent="VBoxContainer/HBoxContainer2/VBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.6542321, 0.6542321, 0.654232, 1)
custom_minimum_size = Vector2(365, 35)
layout_mode = 2
size_flags_vertical = 3
text = "(Difficulty)"
[node name="Label3" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Location"
label_settings = SubResource("LabelSettings_w0qqq")
[node name="LocationLabel" type="Label" parent="VBoxContainer"]
unique_name_in_owner = true
modulate = Color(0.6542321, 0.6542321, 0.654232, 1)
custom_minimum_size = Vector2(480, 35)
layout_mode = 2
size_flags_vertical = 3
text = "(Location)"
[node name="Label4" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Adventurer Reward"
label_settings = SubResource("LabelSettings_w0qqq")
[node name="AdventurerRewardPanel" type="PanelContainer" parent="VBoxContainer"]
custom_minimum_size = Vector2(480, 150)
layout_mode = 2
size_flags_vertical = 3
[node name="AdventurerRewardList" type="GridContainer" parent="VBoxContainer/AdventurerRewardPanel"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label5" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Guild Reward"
label_settings = SubResource("LabelSettings_w0qqq")
[node name="GuildRewardPanel" type="PanelContainer" parent="VBoxContainer"]
custom_minimum_size = Vector2(480, 150)
layout_mode = 2
size_flags_vertical = 3
[node name="GuildRewardList" type="GridContainer" parent="VBoxContainer/GuildRewardPanel"]
unique_name_in_owner = true
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="RemoveButton" type="Button" parent="VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(248, 60)
layout_mode = 2
text = "REMOVE"
[node name="BackButton" type="Button" parent="VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(248, 60)
layout_mode = 2
text = "BACK"
[node name="ConfirmDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
oversampling_override = 1.0
title = "Remove Quest"
size = Vector2i(329, 100)
visible = true
ok_button_text = "Yes, Remove it"
dialog_text = "Do you really wish to remove this quest?"
[connection signal="pressed" from="VBoxContainer/HBoxContainer/RemoveButton" to="." method="_on_remove_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
[connection signal="canceled" from="ConfirmDialog" to="." method="_on_remove_quest_cancel"]
[connection signal="confirmed" from="ConfirmDialog" to="." method="_on_remove_quest_confirm"]