Added current quest interface + new quest template interface

This commit is contained in:
gotfishmakesticks 2023-11-16 14:29:14 +03:00
commit 008e74eba3
4 changed files with 169 additions and 2 deletions

View file

@ -190,6 +190,104 @@ offset_bottom = 40.0
text = "X"
script = ExtResource("2_ld3o5")
[node name="CurrentQuest" type="NinePatchRect" parent="QuestMenu"]
visible = false
offset_left = 64.0
offset_top = 64.0
offset_right = 576.0
offset_bottom = 576.0
texture = ExtResource("1_vb0tn")
region_rect = Rect2(0, 0, 5, 5)
patch_margin_left = 2
patch_margin_top = 2
patch_margin_right = 2
patch_margin_bottom = 2
[node name="Header" type="Label" parent="QuestMenu/CurrentQuest"]
offset_right = 512.0
offset_bottom = 64.0
text = "Current Quest Status"
horizontal_alignment = 1
vertical_alignment = 1
[node name="QuestStatus" type="Label" parent="QuestMenu/CurrentQuest"]
layout_mode = 0
offset_left = 16.0
offset_top = 64.0
offset_right = 496.0
offset_bottom = 448.0
text = "Type: Elimination
Objective: Destroy 1 hostile ship [ 0 / 1 ]
Reward: 100 money units
Restrictions:
- No deaths
- Timer: 60 seconds"
vertical_alignment = 1
[node name="AbandonQuest" type="Button" parent="QuestMenu/CurrentQuest"]
layout_mode = 0
offset_left = 1.0
offset_top = 448.0
offset_right = 256.0
offset_bottom = 511.0
text = "Abandon quest"
[node name="CompleteQuest" type="Button" parent="QuestMenu/CurrentQuest"]
offset_left = 256.0
offset_top = 448.0
offset_right = 511.0
offset_bottom = 511.0
disabled = true
text = "Complete quest"
[node name="NewQuest" type="NinePatchRect" parent="QuestMenu"]
visible = false
offset_left = 64.0
offset_top = 64.0
offset_right = 576.0
offset_bottom = 576.0
texture = ExtResource("1_vb0tn")
region_rect = Rect2(0, 0, 5, 5)
patch_margin_left = 2
patch_margin_top = 2
patch_margin_right = 2
patch_margin_bottom = 2
[node name="Header" type="Label" parent="QuestMenu/NewQuest"]
offset_right = 512.0
offset_bottom = 64.0
text = "New Quest"
horizontal_alignment = 1
vertical_alignment = 1
[node name="QuestStatus" type="Label" parent="QuestMenu/NewQuest"]
layout_mode = 0
offset_left = 16.0
offset_top = 64.0
offset_right = 496.0
offset_bottom = 448.0
text = "Type: Elimination
Objective: Destroy 1 hostile ship
Reward: 100 money units
Restrictions:
- No deaths
- Timer: 60 seconds"
vertical_alignment = 1
[node name="AcceptQuest" type="Button" parent="QuestMenu/NewQuest"]
layout_mode = 0
offset_left = 1.0
offset_top = 448.0
offset_right = 511.0
offset_bottom = 511.0
text = "Accept quest"
[node name="EquipmentMenu" type="NinePatchRect" parent="."]
visible = false
layout_mode = 0