Moved everything into a file system. Links broken.
This commit is contained in:
13
templates/end_shift_confirmation.tscn
Normal file
13
templates/end_shift_confirmation.tscn
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://st16n70uj5sc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dopd01h4q2uu8" path="res://scripts/end_shift_confirmation.gd" id="1_igu7b"]
|
||||
|
||||
[node name="End Shift Confirmation" type="ConfirmationDialog"]
|
||||
oversampling_override = 1.0
|
||||
size = Vector2i(319, 100)
|
||||
ok_button_text = "Yes"
|
||||
dialog_text = "Are you sure you want to end the shift?"
|
||||
script = ExtResource("1_igu7b")
|
||||
|
||||
[connection signal="canceled" from="." to="." method="_on_canceled"]
|
||||
[connection signal="confirmed" from="." to="." method="_on_confirmed"]
|
||||
52
templates/guild_info_window.tscn
Normal file
52
templates/guild_info_window.tscn
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dy73xoprgyvjj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dj5e81dgkpww8" path="res://scripts/guild_information_window.gd" id="1_gudhb"]
|
||||
|
||||
[node name="Guild Info Window" type="Window"]
|
||||
oversampling_override = 1.0
|
||||
title = "Guild Information"
|
||||
size = Vector2i(300, 300)
|
||||
wrap_controls = true
|
||||
popup_window = true
|
||||
script = ExtResource("1_gudhb")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(300, 300)
|
||||
anchors_preset = -1
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Level" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Level"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Reputation" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Reputation"
|
||||
|
||||
[node name="ReputationLabel" type="Label" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Members" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Members"
|
||||
|
||||
[node name="MembersLabel" type="Label" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Gold" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Gold"
|
||||
|
||||
[node name="GoldLabel" type="Label" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
||||
[connection signal="focus_exited" from="." to="." method="_on_focus_exited"]
|
||||
84
templates/guildhall.tscn
Normal file
84
templates/guildhall.tscn
Normal file
@@ -0,0 +1,84 @@
|
||||
[gd_scene load_steps=11 format=4 uid="uid://cd08dp16bixfv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://scripts/guildhall.gd" id="1_lsinl"]
|
||||
[ext_resource type="TileSet" uid="uid://6im0g3eg6sr4" path="res://test_tiles.tres" id="1_qel1r"]
|
||||
[ext_resource type="Script" uid="uid://dolqtw1ye4ras" path="res://scripts/player.gd" id="2_5n4iw"]
|
||||
[ext_resource type="Texture2D" uid="uid://83ayd5rg7x8l" path="res://graphics/reception-table.png" id="3_13vc8"]
|
||||
[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="4_l3mu1"]
|
||||
[ext_resource type="PackedScene" uid="uid://cf6nnjyp8kv78" path="res://templates/receptionist.tscn" id="5_l3mu1"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3mksvn2jf7e0" path="res://templates/quest_board.tscn" id="7_hph4e"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_w7eqs"]
|
||||
vertices = PackedVector2Array(591.3203, 170.54688, 591.3125, 170.53906, 614.1094, 159.47656, 694.9531, 80.92969, 694.9375, 80.921875, 702.6406, 67, 1053, 67, 1053, 605, 665.27344, 134.64063, 35, 605, 578.35156, 176.85938, 512.60156, 177.99219, 445.89844, 179.14063, 35, 35, 432.14063, 172.14844, 432.14063, 172.14063, 406.6172, 159.21875, 368.17188, 139.71875, 368.17188, 139.71094, 357.59375, 134.42969, 326.3125, 77.5625, 324.82813, 35, 325.8828, 65.21875)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5), PackedInt32Array(5, 6, 7, 3), PackedInt32Array(8, 3, 7), PackedInt32Array(0, 2, 8, 7, 9, 10), PackedInt32Array(11, 10, 9), PackedInt32Array(12, 11, 9), PackedInt32Array(12, 9, 13, 14), PackedInt32Array(15, 14, 13, 16), PackedInt32Array(17, 16, 13), PackedInt32Array(18, 17, 13, 19), PackedInt32Array(20, 19, 13), PackedInt32Array(20, 13, 21, 22)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(358, -18, 361, 68, 383, 108, 454, 144, 570, 142, 640, 108, 682, 32, 1075, 32, 1074, -10)])
|
||||
border_size = 250.0
|
||||
agent_radius = 35.0
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l3mu1"]
|
||||
radius = 15.0
|
||||
height = 54.0
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_l3mu1"]
|
||||
vertices = PackedVector2Array(117.96875, 286, 9.96875, 286, 9.03125, 0, 117.03125, 0)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(-1, -10, 127, -10, 128, 296, 0, 296)])
|
||||
|
||||
[node name="Guildhall" type="Node2D"]
|
||||
script = ExtResource("1_lsinl")
|
||||
|
||||
[node name="RoomRegion" type="NavigationRegion2D" parent="."]
|
||||
navigation_polygon = SubResource("NavigationPolygon_w7eqs")
|
||||
|
||||
[node name="TileMapLayer" type="TileMapLayer" parent="RoomRegion"]
|
||||
tile_map_data = PackedByteArray("AAABAAEAAAAOAAEAAAACAAEAAAAOAAEAAAADAAEAAAAOAAEAAAAEAAEAAAAOAAEAAAAFAAIAAAAOAAEAAAAGAAIAAAAOAAEAAAAHAAIAAAAOAAEAAAAIAAIAAAAOAAEAAAAJAAIAAAAOAAEAAAAKAAIAAAAOAAEAAAAHAAEAAAAOAAEAAAAGAAEAAAAOAAEAAAAFAAEAAAAOAAEAAAACAAIAAAAOAAEAAAADAAIAAAAOAAEAAAAEAAIAAAAOAAEAAAABAAIAAAAOAAEAAAABAAMAAAAOAAEAAAABAAQAAAAOAAEAAAACAAQAAAAOAAEAAAADAAQAAAAOAAEAAAAEAAQAAAAOAAEAAAAFAAQAAAAOAAEAAAAGAAQAAAAOAAEAAAAHAAQAAAAOAAEAAAAIAAQAAAAOAAEAAAAJAAQAAAAOAAEAAAAJAAMAAAAOAAEAAAAKAAMAAAAOAAEAAAAKAAEAAAAOAAEAAAAJAAEAAAAOAAEAAAAIAAEAAAAOAAEAAAADAAMAAAAOAAEAAAACAAMAAAAOAAEAAAAEAAMAAAAOAAEAAAAFAAMAAAAOAAEAAAAGAAMAAAAOAAEAAAAHAAMAAAAOAAEAAAAIAAMAAAAOAAEAAAAKAAQAAAAOAAEAAAALAAQAAAAOAAEAAAALAAMAAAAOAAEAAAALAAIAAAAOAAEAAAALAAEAAAAOAAEAAAAKAAAAAAAOAAEAAAAJAAAAAAAOAAEAAAAIAAAAAAAOAAEAAAAHAAAAAAAOAAEAAAAGAAAAAAAOAAEAAAAFAAAAAAAOAAEAAAAEAAAAAAAOAAEAAAADAAAAAAAOAAEAAAACAAAAAAAOAAEAAAABAAAAAAAOAAEAAAAAAAEAAAAOAAEAAAAAAAIAAAAOAAEAAAAAAAMAAAAOAAEAAAAAAAQAAAAOAAEAAAAAAAUAAAAOAAEAAAAAAAYAAAAOAAEAAAAAAAcAAAAOAAEAAAAAAAgAAAAOAAEAAAAAAAkAAAAOAAEAAAABAAkAAAAOAAEAAAACAAkAAAAOAAEAAAADAAkAAAAOAAEAAAAEAAkAAAAOAAEAAAAFAAkAAAAOAAEAAAAGAAkAAAAOAAEAAAAHAAkAAAAOAAEAAAAIAAkAAAAOAAEAAAAJAAkAAAAOAAEAAAAKAAkAAAAOAAEAAAALAAkAAAAOAAEAAAAMAAkAAAAOAAEAAAANAAkAAAAOAAEAAAAOAAkAAAAOAAEAAAAPAAkAAAAOAAEAAAAQAAkAAAAOAAEAAAAQAAgAAAAOAAEAAAAQAAcAAAAOAAEAAAAQAAYAAAAOAAEAAAAQAAUAAAAOAAEAAAAQAAQAAAAOAAEAAAAQAAMAAAAOAAEAAAAQAAIAAAAOAAEAAAAQAAEAAAAOAAEAAAAQAAAAAAAOAAEAAAAPAAAAAAAOAAEAAAAOAAAAAAAOAAEAAAANAAAAAAAOAAEAAAAMAAAAAAAOAAEAAAALAAAAAAAOAAEAAAAPAAEAAAAOAAEAAAAOAAEAAAAOAAEAAAANAAEAAAAOAAEAAAAMAAEAAAAOAAEAAAAMAAIAAAAOAAEAAAANAAIAAAAOAAEAAAAOAAIAAAAOAAEAAAAPAAIAAAAOAAEAAAAMAAMAAAAOAAEAAAAMAAQAAAAOAAEAAAANAAQAAAAOAAEAAAAOAAQAAAAOAAEAAAAPAAQAAAAOAAEAAAAOAAUAAAAOAAEAAAANAAUAAAAOAAEAAAAMAAUAAAAOAAEAAAALAAUAAAAOAAEAAAAKAAYAAAAOAAEAAAAJAAYAAAAOAAEAAAAIAAcAAAAOAAEAAAAJAAcAAAAOAAEAAAAKAAcAAAAOAAEAAAALAAcAAAAOAAEAAAAMAAcAAAAOAAEAAAANAAYAAAAOAAEAAAAOAAYAAAAOAAEAAAAPAAYAAAAOAAEAAAAPAAcAAAAOAAEAAAAOAAgAAAAOAAEAAAAPAAgAAAAOAAEAAAAPAAUAAAAOAAEAAAAOAAMAAAAOAAEAAAAOAAcAAAAOAAEAAAAPAAMAAAAOAAEAAAAMAAYAAAAOAAEAAAALAAgAAAAOAAEAAAAMAAgAAAAOAAEAAAANAAcAAAAOAAEAAAANAAgAAAAOAAEAAAANAAMAAAAOAAEAAAAKAAUAAAAOAAEAAAAIAAgAAAAOAAEAAAAJAAgAAAAOAAEAAAALAAYAAAAOAAEAAAAKAAgAAAAOAAEAAAAHAAgAAAAOAAEAAAAGAAgAAAAOAAEAAAACAAgAAAAOAAEAAAABAAgAAAAOAAEAAAABAAcAAAAOAAEAAAABAAYAAAAOAAEAAAABAAUAAAAOAAEAAAACAAUAAAAOAAEAAAACAAYAAAAOAAEAAAADAAYAAAAOAAEAAAAEAAYAAAAOAAEAAAAFAAYAAAAOAAEAAAAGAAYAAAAOAAEAAAAHAAYAAAAOAAEAAAAIAAYAAAAOAAEAAAAFAAUAAAAOAAEAAAAGAAUAAAAOAAEAAAAHAAUAAAAOAAEAAAAIAAUAAAAOAAEAAAAJAAUAAAAOAAEAAAAEAAUAAAAOAAEAAAADAAUAAAAOAAEAAAADAAcAAAAOAAEAAAACAAcAAAAOAAEAAAAEAAcAAAAOAAEAAAAFAAcAAAAOAAEAAAAGAAcAAAAOAAEAAAAHAAcAAAAOAAEAAAAFAAgAAAAOAAEAAAAEAAgAAAAOAAEAAAADAAgAAAAOAAEAAAARAP//AAABAAQAAAARAAoAAAABAAUAAAD//woAAAAAAAUAAAD/////AAAAAAQAAAAAAP//AAACAAQAAAABAP//AAACAAQAAAACAP//AAACAAQAAAADAP//AAACAAQAAAAEAP//AAACAAQAAAAFAP//AAACAAQAAAAGAP//AAACAAQAAAAHAP//AAACAAQAAAAIAP//AAACAAQAAAAJAP//AAACAAQAAAAKAP//AAACAAQAAAALAP//AAACAAQAAAAMAP//AAACAAQAAAANAP//AAACAAQAAAAOAP//AAACAAQAAAAPAP//AAACAAQAAAAQAP//AAACAAQAAAARAAAAAAACAAUAAAARAAEAAAACAAUAAAARAAIAAAACAAUAAAARAAMAAAACAAUAAAARAAQAAAACAAUAAAARAAUAAAACAAUAAAARAAYAAAACAAUAAAARAAcAAAACAAUAAAARAAgAAAACAAUAAAARAAkAAAACAAUAAAAQAAoAAAACAAQAAAAPAAoAAAACAAQAAAAOAAoAAAACAAQAAAANAAoAAAACAAQAAAAMAAoAAAACAAQAAAALAAoAAAACAAQAAAAKAAoAAAACAAQAAAAJAAoAAAAGAAUAAAAGAAoAAAAFAAQAAAAFAAoAAAACAAQAAAAEAAoAAAACAAQAAAADAAoAAAACAAQAAAACAAoAAAACAAQAAAABAAoAAAACAAQAAAAAAAoAAAACAAQAAAD//wkAAAACAAUAAAD//wAAAAACAAUAAAD//wEAAAACAAUAAAD//wIAAAACAAUAAAD//wMAAAACAAUAAAD//wQAAAACAAUAAAD//wUAAAACAAUAAAD//wYAAAACAAUAAAD//wcAAAACAAUAAAD//wgAAAACAAUAAAAAAAAAAAAOAAEAAAA=")
|
||||
tile_set = ExtResource("1_qel1r")
|
||||
|
||||
[node name="TileMapLayer2" type="TileMapLayer" parent="RoomRegion"]
|
||||
tile_map_data = PackedByteArray("AAANAAAAAAAKABEAAAAOAAAAAAAKABEAAAAPAAAAAAAKABEAAAAQAAAAAAAKABEAAAA=")
|
||||
tile_set = ExtResource("1_qel1r")
|
||||
|
||||
[node name="Sprites" type="Node2D" parent="."]
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Reception Desk" type="StaticBody2D" parent="Sprites"]
|
||||
position = Vector2(512, 142)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Reception Desk"]
|
||||
texture = ExtResource("3_13vc8")
|
||||
offset = Vector2(0, -80)
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprites/Reception Desk"]
|
||||
polygon = PackedVector2Array(-86, -160, -152, -160, -152, -107, -148, -75, -128, -35, -57, 0, 56, 0, 127, -34, 148, -75, 152, -107, 152, -160, 86, -160, 86, -115, 75, -93, 52, -81, -51, -81, -75, -92, -86, -114)
|
||||
|
||||
[node name="Receptionist" parent="Sprites" instance=ExtResource("5_l3mu1")]
|
||||
position = Vector2(512, 29)
|
||||
|
||||
[node name="Queue" parent="Sprites/Receptionist" index="3"]
|
||||
position = Vector2(0, 220)
|
||||
|
||||
[node name="Player" type="CharacterBody2D" parent="Sprites"]
|
||||
position = Vector2(202, 389)
|
||||
script = ExtResource("2_5n4iw")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprites/Player"]
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_l3mu1")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Player"]
|
||||
position = Vector2(0, -64)
|
||||
texture = ExtResource("4_l3mu1")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="Sprites/Player"]
|
||||
path_desired_distance = 30.0
|
||||
avoidance_enabled = true
|
||||
|
||||
[node name="EntranceRegion" type="NavigationRegion2D" parent="."]
|
||||
position = Vector2(448, 600)
|
||||
navigation_polygon = SubResource("NavigationPolygon_l3mu1")
|
||||
|
||||
[node name="Quest Board" parent="." instance=ExtResource("7_hph4e")]
|
||||
position = Vector2(935, 32)
|
||||
|
||||
[editable path="Sprites/Receptionist"]
|
||||
130
templates/main_panel.tscn
Normal file
130
templates/main_panel.tscn
Normal file
@@ -0,0 +1,130 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c8ofw6na082gv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://scripts/main_panel.gd" id="1_pdekv"]
|
||||
[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://scripts/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"]
|
||||
|
||||
[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"]
|
||||
anchors_preset = -1
|
||||
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="."]
|
||||
unique_name_in_owner = true
|
||||
wait_time = 300.0
|
||||
autostart = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="OpenShift" type="PanelContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = ExtResource("2_b7y1i")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="VBoxContainer/OpenShift"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = -20
|
||||
theme_override_constants/margin_right = -80
|
||||
|
||||
[node name="OpenList" type="VBoxContainer" parent="VBoxContainer/OpenShift/Margin"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/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="VBoxContainer/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="VBoxContainer/OpenShift/Margin/OpenList"]
|
||||
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="VBoxContainer/OpenShift/Margin/OpenList"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
|
||||
text = "CLOSE GUILD"
|
||||
|
||||
[node name="WorkingShift" type="PanelContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = ExtResource("4_b7y1i")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/WorkingShift"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = -80
|
||||
theme_override_constants/margin_top = -20
|
||||
|
||||
[node name="WorkingList" type="VBoxContainer" parent="VBoxContainer/WorkingShift/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/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="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
text = "000:00:00.00"
|
||||
script = ExtResource("2_5rs2c")
|
||||
|
||||
[node name="ShowQuestsButton" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
|
||||
text = "Show Quests"
|
||||
|
||||
[node name="QuestProgressList" type="ScrollContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
clip_contents = false
|
||||
custom_minimum_size = Vector2(260, 100)
|
||||
layout_mode = 2
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="QuestList" type="VBoxContainer" parent="VBoxContainer/QuestProgressList"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Notices" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="time_changed" from="." to="VBoxContainer/OpenShift/Margin/OpenList/TimerLabel" method="_on_time_changed"]
|
||||
[connection signal="time_changed" from="." to="VBoxContainer/WorkingShift/MarginContainer/WorkingList/TimerLabel" method="_on_time_changed"]
|
||||
[connection signal="pressed" from="VBoxContainer/OpenShift/Margin/OpenList/Button" to="." method="_on_end_shift_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/ShowQuestsButton" to="." method="_on_show_quests_pressed"]
|
||||
40
templates/member_panel_entry.tscn
Normal file
40
templates/member_panel_entry.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dp5d3hchmck2k"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_fbpt3"]
|
||||
[ext_resource type="Script" uid="uid://b5v1r3u5gbpfw" path="res://scripts/member_panel_entry.gd" id="1_vig4g"]
|
||||
|
||||
[node name="MemberPanelEntry" type="PanelContainer"]
|
||||
script = ExtResource("1_vig4g")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_fbpt3")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(190, 0)
|
||||
layout_mode = 2
|
||||
text = "Test test"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Lv99"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="JobLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Adventurer"
|
||||
|
||||
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
||||
451
templates/name_entry.tscn
Normal file
451
templates/name_entry.tscn
Normal file
@@ -0,0 +1,451 @@
|
||||
[gd_scene format=3 uid="uid://b58yfdgudaxl3"]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
offset_left = 489.0
|
||||
offset_top = 592.0
|
||||
offset_right = 1440.0
|
||||
offset_bottom = 940.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel"]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="Panel/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
columns = 6
|
||||
|
||||
[node name="Button" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "A"
|
||||
|
||||
[node name="Button2" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "B"
|
||||
|
||||
[node name="Button3" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "C"
|
||||
|
||||
[node name="Button4" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "D"
|
||||
|
||||
[node name="Button5" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "E"
|
||||
|
||||
[node name="Button6" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "F"
|
||||
|
||||
[node name="Button7" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "G"
|
||||
|
||||
[node name="Button8" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "H"
|
||||
|
||||
[node name="Button9" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "I"
|
||||
|
||||
[node name="Button10" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "J"
|
||||
|
||||
[node name="Button11" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "K"
|
||||
|
||||
[node name="Button12" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "L
|
||||
"
|
||||
|
||||
[node name="Button13" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "M"
|
||||
|
||||
[node name="Button14" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "N"
|
||||
|
||||
[node name="Button15" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "O"
|
||||
|
||||
[node name="Button16" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "P"
|
||||
|
||||
[node name="Button17" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "Q"
|
||||
|
||||
[node name="Button18" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "R"
|
||||
|
||||
[node name="Button19" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "S"
|
||||
|
||||
[node name="Button20" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "T"
|
||||
|
||||
[node name="Button21" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "U"
|
||||
|
||||
[node name="Button22" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "V"
|
||||
|
||||
[node name="Button23" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "W"
|
||||
|
||||
[node name="Button24" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "X"
|
||||
|
||||
[node name="Button25" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "Y"
|
||||
|
||||
[node name="Button26" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "Z"
|
||||
|
||||
[node name="Button27" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "_"
|
||||
|
||||
[node name="Button28" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "-"
|
||||
|
||||
[node name="Button29" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "'"
|
||||
|
||||
[node name="Button30" type="Button" parent="Panel/HBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "\""
|
||||
|
||||
[node name="GridContainer2" type="GridContainer" parent="Panel/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
columns = 6
|
||||
|
||||
[node name="Button" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "a"
|
||||
|
||||
[node name="Button2" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "b"
|
||||
|
||||
[node name="Button3" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "c"
|
||||
|
||||
[node name="Button4" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "d"
|
||||
|
||||
[node name="Button5" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "e"
|
||||
|
||||
[node name="Button6" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "f"
|
||||
|
||||
[node name="Button7" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "g"
|
||||
|
||||
[node name="Button8" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "h"
|
||||
|
||||
[node name="Button9" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "i"
|
||||
|
||||
[node name="Button10" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "j"
|
||||
|
||||
[node name="Button11" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "k"
|
||||
|
||||
[node name="Button12" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "l"
|
||||
|
||||
[node name="Button13" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "m"
|
||||
|
||||
[node name="Button14" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "n"
|
||||
|
||||
[node name="Button15" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "o"
|
||||
|
||||
[node name="Button16" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "p"
|
||||
|
||||
[node name="Button17" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "q"
|
||||
|
||||
[node name="Button18" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "r"
|
||||
|
||||
[node name="Button19" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "s"
|
||||
|
||||
[node name="Button20" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "t"
|
||||
|
||||
[node name="Button21" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "u"
|
||||
|
||||
[node name="Button22" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "v"
|
||||
|
||||
[node name="Button23" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "w"
|
||||
|
||||
[node name="Button24" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "x"
|
||||
|
||||
[node name="Button25" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "y"
|
||||
|
||||
[node name="Button26" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "z"
|
||||
|
||||
[node name="Button27" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "("
|
||||
|
||||
[node name="Button28" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = ")"
|
||||
|
||||
[node name="Button29" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = ","
|
||||
|
||||
[node name="Button30" type="Button" parent="Panel/HBoxContainer/GridContainer2"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "."
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="Panel/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(128, 64)
|
||||
layout_mode = 2
|
||||
text = "BACK"
|
||||
|
||||
[node name="Button2" type="Button" parent="Panel/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(128, 64)
|
||||
layout_mode = 2
|
||||
text = "CLEAR"
|
||||
|
||||
[node name="Button3" type="Button" parent="Panel/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(128, 196)
|
||||
layout_mode = 2
|
||||
text = "ENTER"
|
||||
|
||||
[node name="Panel2" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 493.0
|
||||
offset_top = 477.0
|
||||
offset_right = 1440.0
|
||||
offset_bottom = 586.0
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="Panel2"]
|
||||
layout_mode = 0
|
||||
offset_left = 17.0
|
||||
offset_top = 16.0
|
||||
offset_right = 441.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
placeholder_text = "Given Name"
|
||||
caret_type = 1
|
||||
caret_blink = true
|
||||
|
||||
[node name="TextEdit2" type="TextEdit" parent="Panel2"]
|
||||
layout_mode = 0
|
||||
offset_left = 503.0
|
||||
offset_top = 16.0
|
||||
offset_right = 927.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
placeholder_text = "Surname"
|
||||
caret_type = 1
|
||||
caret_blink = true
|
||||
|
||||
[node name="Panel3" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 493.0
|
||||
offset_top = 266.0
|
||||
offset_right = 1439.0
|
||||
offset_bottom = 462.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel3"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 71.0
|
||||
offset_right = 820.0
|
||||
offset_bottom = 138.0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Please enter your given name."
|
||||
33
templates/notice_panel.tscn
Normal file
33
templates/notice_panel.tscn
Normal file
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b3lle4eammcwp"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b7yco5065s41n" path="res://graphics/notice-icon.png" id="1_1reoo"]
|
||||
[ext_resource type="Script" uid="uid://bqah2tc3d5otk" path="res://scripts/notice_panel.gd" id="1_5lwqd"]
|
||||
|
||||
[node name="NoticePanel" type="PanelContainer"]
|
||||
offset_right = 321.0
|
||||
offset_bottom = 32.0
|
||||
script = ExtResource("1_5lwqd")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_1reoo")
|
||||
expand_mode = 1
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 24)
|
||||
layout_mode = 2
|
||||
text = "Rania has joined the guild!"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
160
templates/npc_profile_window.tscn
Normal file
160
templates/npc_profile_window.tscn
Normal file
@@ -0,0 +1,160 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bktxswsjql86p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"]
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_ffbu2"]
|
||||
|
||||
[node name="Profile Window" type="Window"]
|
||||
oversampling_override = 1.0
|
||||
initial_position = 1
|
||||
size = Vector2i(210, 265)
|
||||
wrap_controls = true
|
||||
unresizable = true
|
||||
always_on_top = true
|
||||
popup_window = true
|
||||
script = ExtResource("1_4xbne")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchors_preset = -1
|
||||
offset_right = 40.0
|
||||
offset_bottom = 50.0
|
||||
theme_override_constants/margin_left = 3
|
||||
theme_override_constants/margin_top = 4
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -4
|
||||
|
||||
[node name="JobLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Class"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Lv ##"
|
||||
|
||||
[node name="ExpLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Exp: ##/##"
|
||||
|
||||
[node name="LifeLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "Life: ####/####"
|
||||
|
||||
[node name="EnergyLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Energy: ####/####"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -8
|
||||
|
||||
[node name="STRLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="INTLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="DEXLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -8
|
||||
|
||||
[node name="CHALabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="FAILabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="LUKLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="WeaponIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
|
||||
[node name="ArmorIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
|
||||
[node name="AccessoryIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
|
||||
[node name="ConsumableList" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D2" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D3" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D4" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D5" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ffbu2")
|
||||
expand_mode = 1
|
||||
|
||||
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
||||
[connection signal="focus_exited" from="." to="." method="_on_close_requested"]
|
||||
64
templates/passive_panel.tscn
Normal file
64
templates/passive_panel.tscn
Normal file
@@ -0,0 +1,64 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://tbf3tvn8m54l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://scripts/main_panel.gd" id="1_sihtn"]
|
||||
[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://scripts/timer_label.gd" id="2_xnrrg"]
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -573.0
|
||||
offset_bottom = -257.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_sihtn")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 400000.0
|
||||
autostart = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
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="Passive" type="VBoxContainer" parent="MarginContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Passive"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "Time til Next Shift"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TimerLabel" type="Label" parent="MarginContainer/Passive"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "000:00:00.00"
|
||||
script = ExtResource("2_xnrrg")
|
||||
|
||||
[node name="Active" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Active"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 50
|
||||
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 = 100
|
||||
text = "00:00:00.00"
|
||||
script = ExtResource("2_xnrrg")
|
||||
|
||||
[node name="Label3" type="Label" parent="MarginContainer/Active"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "00:00:00.00"
|
||||
|
||||
[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"]
|
||||
66
templates/profile_popup.tscn
Normal file
66
templates/profile_popup.tscn
Normal file
@@ -0,0 +1,66 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bex2rdi5oh5cc"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://cra63if6tmpgy" path="res://styles/profile_panel.tres" id="1_cdssf"]
|
||||
[ext_resource type="Script" uid="uid://b0obax7efrsy1" path="res://scripts/profile_popup.gd" id="1_pmp85"]
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_pmp85"]
|
||||
|
||||
[node name="Profile Popup" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_top = -99.0
|
||||
offset_bottom = -99.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_pmp85")
|
||||
|
||||
[node name="PanelContainer" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -138.0
|
||||
offset_top = -113.0
|
||||
offset_right = 144.0
|
||||
theme_override_styles/panel = ExtResource("1_cdssf")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="PanelContainer"]
|
||||
layout_mode = 0
|
||||
offset_left = 14.0
|
||||
offset_top = 13.0
|
||||
offset_right = 78.0
|
||||
offset_bottom = 77.0
|
||||
texture = ExtResource("2_pmp85")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 85.0
|
||||
offset_top = 11.0
|
||||
offset_right = 285.0
|
||||
offset_bottom = 61.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
text = "Name"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Lvl"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="JobLabel" type="Label" parent="PanelContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Class"
|
||||
|
||||
[node name="ActivityLabel" type="Label" parent="PanelContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 11.0
|
||||
offset_top = 86.0
|
||||
offset_right = 211.0
|
||||
offset_bottom = 109.0
|
||||
text = "Class"
|
||||
142
templates/profile_window.tscn
Normal file
142
templates/profile_window.tscn
Normal file
@@ -0,0 +1,142 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://djhq68y24p5px"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_4aa5t"]
|
||||
|
||||
[node name="Profile Window" type="Window"]
|
||||
oversampling_override = 1.0
|
||||
size = Vector2i(210, 265)
|
||||
wrap_controls = true
|
||||
unresizable = true
|
||||
popup_window = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchors_preset = -1
|
||||
offset_right = 40.0
|
||||
offset_bottom = 50.0
|
||||
theme_override_constants/margin_left = 3
|
||||
theme_override_constants/margin_top = 4
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -4
|
||||
|
||||
[node name="ClassLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Class"
|
||||
|
||||
[node name="LevelLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Lv ##"
|
||||
|
||||
[node name="ExpLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Exp: ##/##"
|
||||
|
||||
[node name="LifeLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
text = "Life: ####/####"
|
||||
|
||||
[node name="EnergyLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
text = "Energy: ####/####"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -8
|
||||
|
||||
[node name="STRLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="INTLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="DEXLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -8
|
||||
|
||||
[node name="CHALabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="FAILabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="LUKLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Stat: ##"
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="WeaponIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
|
||||
[node name="ArmorIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
|
||||
[node name="AccessoryIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
|
||||
[node name="ConsumableList" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D2" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D3" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D4" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Sprite2D5" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_4aa5t")
|
||||
expand_mode = 1
|
||||
33
templates/quest_board.tscn
Normal file
33
templates/quest_board.tscn
Normal file
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b3mksvn2jf7e0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://drrtypncppjps" path="res://templates/quest_board_window.tscn" id="1_4poi3"]
|
||||
[ext_resource type="Script" uid="uid://blo7tb5135vfm" path="res://scripts/quest_board.gd" id="1_38mwx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bnt2dlv7kxw7s" path="res://graphics/questboard.png" id="2_3ceph"]
|
||||
[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_38mwx"]
|
||||
[ext_resource type="BehaviorTree" uid="uid://tr5enbq48w6x" path="res://ai/trees/quest_board.tres" id="4_3ceph"]
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_2xphb"]
|
||||
|
||||
[node name="Quest Board" type="StaticBody2D"]
|
||||
script = ExtResource("1_38mwx")
|
||||
|
||||
[node name="QuestBoardWindow" parent="." instance=ExtResource("1_4poi3")]
|
||||
visible = false
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -64)
|
||||
texture = ExtResource("2_3ceph")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2(-1, 11)
|
||||
rotation = 1.5707964
|
||||
polygon = PackedVector2Array(-39.999996, 128, -26.999994, 139, -3.9999943, 139, 12.000006, 129, 13.999994, -127, -7.6293945e-06, -140, -30.000008, -140, -43.000008, -126)
|
||||
|
||||
[node name="Queue" type="Node2D" parent="."]
|
||||
position = Vector2(-12, 44)
|
||||
script = ExtResource("3_38mwx")
|
||||
direction = Vector2(0, 1)
|
||||
|
||||
[node name="BTPlayer" type="BTPlayer" parent="."]
|
||||
behavior_tree = ExtResource("4_3ceph")
|
||||
blackboard_plan = SubResource("BlackboardPlan_2xphb")
|
||||
41
templates/quest_board_entry.tscn
Normal file
41
templates/quest_board_entry.tscn
Normal file
@@ -0,0 +1,41 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bdbnxj1au1iir"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hsks1qah12sh" path="res://scripts/quest_board_entry.gd" id="1_54wmk"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="2_1ihiv"]
|
||||
|
||||
[node name="QuestBoardEntry" type="Button"]
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
anchors_preset = -1
|
||||
offset_right = 200.0
|
||||
offset_bottom = 50.0
|
||||
script = ExtResource("1_54wmk")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("2_1ihiv")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Quest Name"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Quest Status"
|
||||
|
||||
[connection signal="pressed" from="." to="." method="_on_pressed"]
|
||||
39
templates/quest_board_window.tscn
Normal file
39
templates/quest_board_window.tscn
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://drrtypncppjps"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://de4lnikqqk7b4" path="res://scripts/quest_board_window.gd" id="1_1pe5b"]
|
||||
|
||||
[node name="QuestBoardWindow" type="PopupPanel"]
|
||||
handle_input_locally = false
|
||||
oversampling_override = 1.0
|
||||
title = "Quest Board"
|
||||
size = Vector2i(231, 282)
|
||||
visible = true
|
||||
script = ExtResource("1_1pe5b")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 227.0
|
||||
offset_bottom = 278.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 5
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 5
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer"]
|
||||
custom_minimum_size = Vector2(205, 215)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Entries" type="VBoxContainer" parent="MarginContainer/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
||||
28
templates/quest_log.tscn
Normal file
28
templates/quest_log.tscn
Normal file
@@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dly7in8ql1fn4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://opy1kwcgsh70" path="res://scripts/quest_log.gd" id="1_fbxfu"]
|
||||
|
||||
[node name="Quest Log" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_fbxfu")
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 5
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 5
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/MarginContainer"]
|
||||
custom_minimum_size = Vector2(205, 215)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Entries" type="VBoxContainer" parent="PanelContainer/MarginContainer/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
33
templates/quest_log_entry.tscn
Normal file
33
templates/quest_log_entry.tscn
Normal file
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://da0es74lcp66y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dfn0507e4nccu" path="res://scripts/quest_log_entry.gd" id="1_0aavb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="1_guj74"]
|
||||
|
||||
[node name="Quest Log Entry" type="Panel"]
|
||||
custom_minimum_size = Vector2(200, 50)
|
||||
script = ExtResource("1_0aavb")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_guj74")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Quest Name"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Quest Status"
|
||||
34
templates/quest_panel_entry.tscn
Normal file
34
templates/quest_panel_entry.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bkwwjnxj4iufi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qv10wys8xel3" path="res://scripts/quest_panel_entry.gd" id="1_v2yp5"]
|
||||
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="2_ksvjh"]
|
||||
|
||||
[node name="QuestPanelEntry" type="PanelContainer"]
|
||||
script = ExtResource("1_v2yp5")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_ksvjh")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="NameLabel" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(190, 0)
|
||||
layout_mode = 2
|
||||
text = "Test test"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Adventurer"
|
||||
|
||||
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
||||
202
templates/quest_progress_bar.tscn
Normal file
202
templates/quest_progress_bar.tscn
Normal file
@@ -0,0 +1,202 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://cm8jwfg6rnnor"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cgi3tu0ussfk0" path="res://scripts/quest_progress_bar.gd" id="1_3w4v3"]
|
||||
[ext_resource type="Texture2D" uid="uid://vt3yvxm2ho7o" path="res://graphics/progress-fill.png" id="2_t7shn"]
|
||||
[ext_resource type="Texture2D" uid="uid://b88n81qde4p3n" path="res://graphics/progress-bar.png" id="3_qhjhp"]
|
||||
[ext_resource type="Script" uid="uid://cf0pt0ty4uaas" path="res://scripts/endpoint.gd" id="4_4udsi"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://graphics/progress-marks.png" id="5_bt26m"]
|
||||
[ext_resource type="Texture2D" uid="uid://qxx2gxnsd3yg" path="res://graphics/hero.png" id="6_lufuo"]
|
||||
[ext_resource type="Script" uid="uid://cxqkvnv4rwots" path="res://scripts/hero_icon.gd" id="7_nby1n"]
|
||||
[ext_resource type="Texture2D" uid="uid://dotwwulusn1b1" path="res://graphics/speechbubble.png" id="8_b7pey"]
|
||||
[ext_resource type="Script" uid="uid://c23pbcmig5v3s" path="res://scripts/update_bubble.gd" id="9_pq74m"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8wucn"]
|
||||
atlas = ExtResource("5_bt26m")
|
||||
region = Rect2(0, 32, 32, 32)
|
||||
filter_clip = true
|
||||
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mf4ya"]
|
||||
load_path = "res://.godot/imported/progress-dot-fill.png-a1e94128dc6c2f11bfa15c335ef05892.ctex"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eu8pt"]
|
||||
resource_local_to_scene = true
|
||||
atlas = SubResource("CompressedTexture2D_mf4ya")
|
||||
region = Rect2(0, 32, 32, 32)
|
||||
filter_clip = true
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pg7md"]
|
||||
atlas = ExtResource("5_bt26m")
|
||||
region = Rect2(32, 32, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bnohr"]
|
||||
resource_local_to_scene = true
|
||||
atlas = SubResource("CompressedTexture2D_mf4ya")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
filter_clip = true
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mmi8n"]
|
||||
atlas = ExtResource("5_bt26m")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
filter_clip = true
|
||||
|
||||
[node name="QuestProgressBar" type="Control"]
|
||||
custom_minimum_size = Vector2(250, 70)
|
||||
layout_mode = 3
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -125.0
|
||||
offset_right = 125.0
|
||||
offset_bottom = 70.0
|
||||
grow_horizontal = 2
|
||||
pivot_offset = Vector2(125, 0)
|
||||
size_flags_horizontal = 4
|
||||
script = ExtResource("1_3w4v3")
|
||||
|
||||
[node name="ProgressBar" type="TextureProgressBar" parent="."]
|
||||
custom_minimum_size = Vector2(213, 14)
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 37.0
|
||||
offset_right = 231.0
|
||||
offset_bottom = 51.0
|
||||
max_value = 1.0
|
||||
step = 0.01000000000931322
|
||||
nine_patch_stretch = true
|
||||
stretch_margin_left = 1
|
||||
stretch_margin_top = 2
|
||||
stretch_margin_right = 1
|
||||
stretch_margin_bottom = 2
|
||||
texture_under = ExtResource("2_t7shn")
|
||||
texture_over = ExtResource("3_qhjhp")
|
||||
texture_progress = ExtResource("2_t7shn")
|
||||
tint_under = Color(0, 0, 0, 1)
|
||||
tint_progress = Color(0.1804, 0.5451, 0.3412, 1)
|
||||
|
||||
[node name="Start" type="Control" parent="ProgressBar"]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 0
|
||||
offset_left = -16.0
|
||||
offset_top = -9.0
|
||||
offset_right = 24.0
|
||||
offset_bottom = 31.0
|
||||
script = ExtResource("4_4udsi")
|
||||
|
||||
[node name="Over" type="TextureRect" parent="ProgressBar/Start"]
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_8wucn")
|
||||
|
||||
[node name="Fill" type="TextureRect" parent="ProgressBar/Start"]
|
||||
modulate = Color(0, 0, 0, 1)
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_eu8pt")
|
||||
|
||||
[node name="Dot" type="TextureRect" parent="ProgressBar/Start"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_pg7md")
|
||||
|
||||
[node name="End" type="Control" parent="ProgressBar"]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 0
|
||||
offset_left = 197.0
|
||||
offset_top = -9.0
|
||||
offset_right = 237.0
|
||||
offset_bottom = 31.0
|
||||
script = ExtResource("4_4udsi")
|
||||
percent = 1.0
|
||||
|
||||
[node name="Fill" type="TextureRect" parent="ProgressBar/End"]
|
||||
modulate = Color(0, 0, 0, 1)
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_bnohr")
|
||||
|
||||
[node name="Over" type="TextureRect" parent="ProgressBar/End"]
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_mmi8n")
|
||||
|
||||
[node name="Dot" type="TextureRect" parent="ProgressBar/End"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_pg7md")
|
||||
|
||||
[node name="Waypoints" type="Control" parent="ProgressBar"]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Hero" type="Sprite2D" parent="ProgressBar"]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(-1, -12)
|
||||
texture = ExtResource("6_lufuo")
|
||||
script = ExtResource("7_nby1n")
|
||||
|
||||
[node name="UpdateBubble" type="NinePatchRect" parent="ProgressBar/Hero"]
|
||||
clip_contents = true
|
||||
anchors_preset = -1
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -61.0
|
||||
offset_top = -90.0
|
||||
offset_right = -42.0
|
||||
offset_bottom = -75.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset = Vector2(0, 15)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("8_b7pey")
|
||||
patch_margin_left = 13
|
||||
patch_margin_top = 5
|
||||
patch_margin_right = 6
|
||||
patch_margin_bottom = 10
|
||||
axis_stretch_horizontal = 1
|
||||
axis_stretch_vertical = 1
|
||||
script = ExtResource("9_pq74m")
|
||||
|
||||
[node name="Label" type="Label" parent="ProgressBar/Hero/UpdateBubble"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 5.0
|
||||
offset_top = 1.0
|
||||
offset_right = 95.0
|
||||
offset_bottom = 37.0
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/line_spacing = -4
|
||||
theme_override_font_sizes/font_size = 8
|
||||
text = "testing one 1 2 3"
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Timer" type="Timer" parent="ProgressBar/Hero/UpdateBubble"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Container" type="Container" parent="ProgressBar"]
|
||||
layout_mode = 0
|
||||
offset_top = -32.0
|
||||
offset_right = 75.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Path" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 34.0
|
||||
offset_right = 231.0
|
||||
offset_bottom = 54.0
|
||||
|
||||
[connection signal="timeout" from="ProgressBar/Hero/UpdateBubble/Timer" to="ProgressBar/Hero/UpdateBubble" method="_on_timer_timeout"]
|
||||
116
templates/quest_window.tscn
Normal file
116
templates/quest_window.tscn
Normal file
@@ -0,0 +1,116 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ba2wunbmxgevl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b3flxu0sduc1" path="res://scripts/quest_window.gd" id="1_56dff"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="2_rp282"]
|
||||
|
||||
[node name="QuestWindow" type="Popup"]
|
||||
oversampling_override = 1.0
|
||||
size = Vector2i(500, 655)
|
||||
visible = true
|
||||
exclusive = true
|
||||
script = ExtResource("1_56dff")
|
||||
|
||||
[node name="PostQuest" type="VBoxContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="PostQuest"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="PostQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_rp282")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PostQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quest Name"
|
||||
|
||||
[node name="NameField" type="Label" parent="PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.7204674, 0.7204675, 0.7204674, 1)
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "A Simple Task"
|
||||
|
||||
[node name="Label2" type="Label" parent="PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Difficulty"
|
||||
|
||||
[node name="DifficultyField" type="Label" parent="PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.7204674, 0.7204675, 0.7204674, 1)
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Trivial"
|
||||
|
||||
[node name="Label3" type="Label" parent="PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Location"
|
||||
|
||||
[node name="LocationField" type="Label" parent="PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.72156864, 0.72156864, 0.72156864, 1)
|
||||
custom_minimum_size = Vector2(480, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Nestor Woods"
|
||||
|
||||
[node name="Label4" type="Label" parent="PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Reward"
|
||||
|
||||
[node name="RewardField" type="TextEdit" parent="PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.7204674, 0.7204675, 0.7204674, 1)
|
||||
custom_minimum_size = Vector2(480, 300)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Reward"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label5" type="Label" parent="PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Status"
|
||||
|
||||
[node name="StatusField" type="Label" parent="PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.7204674, 0.7204675, 0.7204674, 1)
|
||||
custom_minimum_size = Vector2(480, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "(Status here)"
|
||||
|
||||
[node name="OptionsList" type="HBoxContainer" parent="PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="AcceptButton" type="Button" parent="PostQuest/OptionsList"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "ACCEPT"
|
||||
|
||||
[node name="CloseButton" type="Button" parent="PostQuest/OptionsList"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "CLOSE"
|
||||
|
||||
[connection signal="pressed" from="PostQuest/OptionsList/AcceptButton" to="." method="_on_accept_pressed"]
|
||||
[connection signal="pressed" from="PostQuest/OptionsList/CloseButton" to="." method="_on_close_button_pressed"]
|
||||
40
templates/receptionist.tscn
Normal file
40
templates/receptionist.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cf6nnjyp8kv78"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2unuudq5qfl" path="res://scripts/guild_employee.gd" id="1_vwytd"]
|
||||
[ext_resource type="Texture2D" uid="uid://nrhxsevqn82" path="res://graphics/receptionist.png" id="2_dlmqr"]
|
||||
[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_wurf5"]
|
||||
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="4_dlmqr"]
|
||||
[ext_resource type="BehaviorTree" uid="uid://dxyx7tjsd7khq" path="res://ai/trees/receptionist.tres" id="7_qmbsn"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dlmqr"]
|
||||
radius = 15.0
|
||||
height = 54.0
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_xsrct"]
|
||||
|
||||
[node name="Receptionist" type="CharacterBody2D"]
|
||||
script = ExtResource("1_vwytd")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_dlmqr")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -56)
|
||||
texture = ExtResource("2_dlmqr")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
||||
path_desired_distance = 30.0
|
||||
avoidance_enabled = true
|
||||
|
||||
[node name="Queue" type="Node2D" parent="."]
|
||||
position = Vector2(0, 70)
|
||||
script = ExtResource("3_wurf5")
|
||||
direction = Vector2(0, 1)
|
||||
|
||||
[node name="SpeechBubble" parent="." instance=ExtResource("4_dlmqr")]
|
||||
position = Vector2(44, -93)
|
||||
|
||||
[node name="BTPlayer" type="BTPlayer" parent="."]
|
||||
behavior_tree = ExtResource("7_qmbsn")
|
||||
blackboard_plan = SubResource("BlackboardPlan_xsrct")
|
||||
114
templates/speech_bubble.tscn
Normal file
114
templates/speech_bubble.tscn
Normal file
@@ -0,0 +1,114 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://jbqw0n6dlj08"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cbamfadh7wwr7" path="res://graphics/speech-blip.png" id="1_ra651"]
|
||||
[ext_resource type="Script" uid="uid://w57riwplc00t" path="res://scripts/speech_bubble.gd" id="2_n7y37"]
|
||||
[ext_resource type="Texture2D" uid="uid://chnk20ey5qxfh" path="res://graphics/speech-emojis.png" id="3_iafp4"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bog1h"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_13vc8"]
|
||||
resource_name = "busy"
|
||||
length = 0.7000034
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 8, 9, 16, 17, 24, 25]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_lsinl"]
|
||||
resource_name = "talk"
|
||||
length = 0.40000334
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, -3)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:frame")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [2, 3, 10, 3, 2]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_uo85v"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_bog1h"),
|
||||
&"busy": SubResource("Animation_13vc8"),
|
||||
&"talk": SubResource("Animation_lsinl")
|
||||
}
|
||||
|
||||
[node name="SpeechBubble" type="Sprite2D"]
|
||||
visible = false
|
||||
position = Vector2(25, -26)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("1_ra651")
|
||||
script = ExtResource("2_n7y37")
|
||||
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("3_iafp4")
|
||||
hframes = 8
|
||||
vframes = 8
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_uo85v")
|
||||
}
|
||||
6
templates/test_adventurer.tscn
Normal file
6
templates/test_adventurer.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://djirqtsrttqwe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://0jl2qbvtmsik" path="res://scripts/adventurer_data.gd" id="1_jdutx"]
|
||||
|
||||
[node name="Test Guildmember" type="Node"]
|
||||
script = ExtResource("1_jdutx")
|
||||
48
templates/test_adventurer_sprite.tscn
Normal file
48
templates/test_adventurer_sprite.tscn
Normal file
@@ -0,0 +1,48 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dew8gxu55ex6q"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cjqumk0kw2vte" path="res://scripts/adventurer.gd" id="1_kt0f0"]
|
||||
[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="2_i6rus"]
|
||||
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="3_lqojj"]
|
||||
[ext_resource type="BehaviorTree" uid="uid://dght2flegv70i" path="res://ai/trees/adventurer.tres" id="4_86mwh"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_aos2b"]
|
||||
radius = 15.0
|
||||
height = 54.0
|
||||
|
||||
[sub_resource type="BlackboardPlan" id="BlackboardPlan_tdl5m"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aos2b"]
|
||||
size = Vector2(54, 97)
|
||||
|
||||
[node name="AdventurerSprite" type="CharacterBody2D"]
|
||||
script = ExtResource("1_kt0f0")
|
||||
movement_speed = 200.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_aos2b")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
modulate = Color(0, 1, 0, 1)
|
||||
position = Vector2(0, -43)
|
||||
texture = ExtResource("2_i6rus")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
||||
path_desired_distance = 30.0
|
||||
avoidance_enabled = true
|
||||
|
||||
[node name="SpeechBubble" parent="." instance=ExtResource("3_lqojj")]
|
||||
position = Vector2(39, -110)
|
||||
|
||||
[node name="BTPlayer" type="BTPlayer" parent="."]
|
||||
behavior_tree = ExtResource("4_86mwh")
|
||||
blackboard_plan = SubResource("BlackboardPlan_tdl5m")
|
||||
|
||||
[node name="HoverArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="HoverArea"]
|
||||
position = Vector2(0, -43.5)
|
||||
shape = SubResource("RectangleShape2D_aos2b")
|
||||
|
||||
[connection signal="mouse_entered" from="HoverArea" to="." method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="HoverArea" to="." method="_on_mouse_exited"]
|
||||
455
templates/top_menu.tscn
Normal file
455
templates/top_menu.tscn
Normal file
@@ -0,0 +1,455 @@
|
||||
[gd_scene load_steps=17 format=3 uid="uid://c7jagw4y7w42l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c0e0iw8osv0qh" path="res://graphics/top-icon-members.png" id="1_krxmy"]
|
||||
[ext_resource type="Script" uid="uid://wyv0gt0ww6fp" path="res://scripts/top_menu.gd" id="1_o3fau"]
|
||||
[ext_resource type="Texture2D" uid="uid://hc1lmivi4bjs" path="res://graphics/top-icon-members-hover.png" id="2_370kg"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkb0bhk4t15fh" path="res://graphics/guild-mopt.png" id="2_kvelj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dlm6ei0v0tokv" path="res://graphics/guild-mopt-hover.png" id="3_jgt6v"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2iyta0nbba4v" path="res://graphics/top-icon-quests.png" id="3_o3fau"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3s762qc45n68" path="res://graphics/top-icon-quests-hover.png" id="4_ehkcg"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpakd262awyrv" path="res://graphics/top-icon-policies.png" id="5_3nqsh"]
|
||||
[ext_resource type="Texture2D" uid="uid://is4b1a0jroee" path="res://graphics/top-icon-policies-hover.png" id="6_8h6j7"]
|
||||
[ext_resource type="Theme" uid="uid://dj45k1nfllyvv" path="res://styles/primary_theme.tres" id="8_ehkcg"]
|
||||
[ext_resource type="Script" uid="uid://ep03avmd4jbc" path="res://scripts/generate_quest_dialog.gd" id="9_ehkcg"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="10_3nqsh"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnrqig3gojcls" path="res://graphics/options-mopt.png" id="10_acyux"]
|
||||
[ext_resource type="Texture2D" uid="uid://dupdvrthv3edd" path="res://graphics/options-mopt-hover.png" id="11_xu0sb"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_7d00h"]
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_len8m"]
|
||||
gradient = SubResource("Gradient_7d00h")
|
||||
width = 1
|
||||
|
||||
[node name="TopMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_o3fau")
|
||||
|
||||
[node name="Menu" type="Control" parent="."]
|
||||
anchors_preset = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 69.0
|
||||
offset_right = 44.0
|
||||
offset_bottom = 109.0
|
||||
scale = Vector2(2, 2)
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_right = 234.5
|
||||
offset_bottom = 19.0
|
||||
texture = SubResource("GradientTexture1D_len8m")
|
||||
|
||||
[node name="GuildButton" type="TextureButton" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 2.5
|
||||
offset_top = -25.5
|
||||
offset_right = 50.5
|
||||
offset_bottom = 22.5
|
||||
texture_normal = ExtResource("2_kvelj")
|
||||
texture_pressed = ExtResource("3_jgt6v")
|
||||
texture_hover = ExtResource("3_jgt6v")
|
||||
|
||||
[node name="MembersButton" type="TextureButton" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 44.0
|
||||
offset_top = -31.5
|
||||
offset_right = 92.0
|
||||
offset_bottom = 16.5
|
||||
texture_normal = ExtResource("1_krxmy")
|
||||
texture_pressed = ExtResource("2_370kg")
|
||||
texture_hover = ExtResource("2_370kg")
|
||||
|
||||
[node name="QuestsButton" type="TextureButton" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 89.0
|
||||
offset_top = -32.5
|
||||
offset_right = 137.0
|
||||
offset_bottom = 15.5
|
||||
texture_normal = ExtResource("3_o3fau")
|
||||
texture_pressed = ExtResource("4_ehkcg")
|
||||
texture_hover = ExtResource("4_ehkcg")
|
||||
|
||||
[node name="PoliciesButton" type="TextureButton" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 141.0
|
||||
offset_top = -32.0
|
||||
offset_right = 189.0
|
||||
offset_bottom = 16.0
|
||||
texture_normal = ExtResource("5_3nqsh")
|
||||
texture_pressed = ExtResource("6_8h6j7")
|
||||
texture_hover = ExtResource("6_8h6j7")
|
||||
|
||||
[node name="OptionsButton" type="TextureButton" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 186.5
|
||||
offset_top = -25.5
|
||||
offset_right = 234.5
|
||||
offset_bottom = 22.5
|
||||
texture_normal = ExtResource("10_acyux")
|
||||
texture_pressed = ExtResource("11_xu0sb")
|
||||
texture_hover = ExtResource("11_xu0sb")
|
||||
|
||||
[node name="Members" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
offset_top = 109.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 149.0
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Members"]
|
||||
layout_mode = 0
|
||||
offset_top = 7.0
|
||||
offset_right = 334.0
|
||||
offset_bottom = 530.0
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Members/Panel"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("8_ehkcg")
|
||||
vertical_scroll_mode = 2
|
||||
|
||||
[node name="MembersList" type="VBoxContainer" parent="Members/Panel/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Quests" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 109.0
|
||||
offset_right = 44.0
|
||||
offset_bottom = 149.0
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Quests"]
|
||||
layout_mode = 0
|
||||
offset_top = 7.0
|
||||
offset_right = 334.0
|
||||
offset_bottom = 530.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Quests/Panel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Quests/Panel/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 475)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("8_ehkcg")
|
||||
vertical_scroll_mode = 2
|
||||
|
||||
[node name="QuestList" type="VBoxContainer" parent="Quests/Panel/VBoxContainer/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="Quests/Panel/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 50)
|
||||
layout_mode = 2
|
||||
text = "Generate Quest"
|
||||
|
||||
[node name="GenerateQuestDialog" type="Control" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = -9.0
|
||||
offset_right = 4.0
|
||||
offset_bottom = -9.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("9_ehkcg")
|
||||
|
||||
[node name="Window" type="PanelContainer" parent="GenerateQuestDialog"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -250.0
|
||||
offset_top = -300.0
|
||||
offset_right = 250.0
|
||||
offset_bottom = 300.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="GenerateQuest" type="VBoxContainer" parent="GenerateQuestDialog/Window"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("10_3nqsh")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quest Name"
|
||||
|
||||
[node name="NameField" type="TextEdit" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "A Simple Task"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label2" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Difficulty"
|
||||
|
||||
[node name="DifficultyOptions" type="OptionButton" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label3" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
layout_mode = 2
|
||||
text = "Location"
|
||||
|
||||
[node name="LocationOptions" type="OptionButton" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(480, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Label4" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
layout_mode = 2
|
||||
text = "Bonus Reward"
|
||||
|
||||
[node name="RewardField" type="TextEdit" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
custom_minimum_size = Vector2(480, 150)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "(To be determined)"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label5" type="Label" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
layout_mode = 2
|
||||
text = "Guild Reward"
|
||||
|
||||
[node name="GuildRewardField" type="TextEdit" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(480, 150)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "(To be determined)"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="GenerateQuestDialog/Window/GenerateQuest"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GenerateButton" type="Button" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "GENERATE"
|
||||
|
||||
[node name="GenerateBackButton" type="Button" parent="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "BACK"
|
||||
|
||||
[node name="PostQuest" type="VBoxContainer" parent="GenerateQuestDialog/Window"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("10_3nqsh")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quest Name"
|
||||
|
||||
[node name="NameField" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "A Simple Task"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label2" type="Label" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Difficulty"
|
||||
|
||||
[node name="DifficultyField" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer2/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(365, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Trivial"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label3" type="Label" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Location"
|
||||
|
||||
[node name="LocationField" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(480, 35)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "Nestor Woods"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label4" type="Label" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Bonus Reward"
|
||||
|
||||
[node name="RewardList" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(480, 150)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "(To be determined)"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="Label5" type="Label" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
layout_mode = 2
|
||||
text = "Guild Reward"
|
||||
|
||||
[node name="GuildRewardList" type="TextEdit" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
custom_minimum_size = Vector2(480, 150)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "(To be determined)"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
emoji_menu_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
selecting_enabled = false
|
||||
deselect_on_focus_loss_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
virtual_keyboard_show_on_focus = false
|
||||
middle_mouse_paste_enabled = false
|
||||
empty_selection_clipboard_enabled = false
|
||||
tab_input_mode = false
|
||||
use_default_word_separators = false
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="GenerateQuestDialog/Window/PostQuest"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PostQuestButton" type="Button" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "POST"
|
||||
|
||||
[node name="ApprovalBackButton" type="Button" parent="GenerateQuestDialog/Window/PostQuest/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(248, 60)
|
||||
layout_mode = 2
|
||||
text = "BACK"
|
||||
|
||||
[connection signal="pressed" from="Menu/GuildButton" to="." method="_on_guild_button_pressed"]
|
||||
[connection signal="pressed" from="Menu/MembersButton" to="." method="_on_members_button_pressed"]
|
||||
[connection signal="pressed" from="Menu/QuestsButton" to="." method="_on_quests_button_pressed"]
|
||||
[connection signal="pressed" from="Quests/Panel/VBoxContainer/Button" to="." method="_on_quest_generate_button_pressed"]
|
||||
[connection signal="pressed" from="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer/GenerateButton" to="GenerateQuestDialog" method="_on_generate_button_pressed"]
|
||||
[connection signal="pressed" from="GenerateQuestDialog/Window/GenerateQuest/HBoxContainer/GenerateBackButton" to="GenerateQuestDialog" method="_on_generate_back_button_pressed"]
|
||||
[connection signal="pressed" from="GenerateQuestDialog/Window/PostQuest/HBoxContainer/PostQuestButton" to="GenerateQuestDialog" method="_on_post_button_pressed"]
|
||||
[connection signal="pressed" from="GenerateQuestDialog/Window/PostQuest/HBoxContainer/ApprovalBackButton" to="GenerateQuestDialog" method="_on_post_back_button_pressed"]
|
||||
46
templates/waypoint.tscn
Normal file
46
templates/waypoint.tscn
Normal file
@@ -0,0 +1,46 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://wnkqgapgh7br"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dnytdxwuk6b7x" path="res://scripts/waypoint.gd" id="1_m8nlk"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://graphics/progress-marks.png" id="2_u6u05"]
|
||||
[ext_resource type="Texture2D" uid="uid://bcrg5ea4niu0e" path="res://graphics/progress-dot-fill.png" id="3_ddqum"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nyilg"]
|
||||
atlas = ExtResource("2_u6u05")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g6crn"]
|
||||
atlas = ExtResource("3_ddqum")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_m8nlk"]
|
||||
atlas = ExtResource("2_u6u05")
|
||||
region = Rect2(32, 32, 32, 32)
|
||||
|
||||
[node name="Waypoint" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = 96.0
|
||||
offset_top = -9.0
|
||||
offset_right = 128.0
|
||||
offset_bottom = 23.0
|
||||
script = ExtResource("1_m8nlk")
|
||||
|
||||
[node name="Over" type="TextureRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_nyilg")
|
||||
|
||||
[node name="Fill" type="TextureRect" parent="."]
|
||||
modulate = Color(0, 0, 0, 1)
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_g6crn")
|
||||
|
||||
[node name="Dot" type="TextureRect" parent="."]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 32.0
|
||||
texture = SubResource("AtlasTexture_m8nlk")
|
||||
Reference in New Issue
Block a user