This commit is contained in:
2025-08-21 11:41:16 -04:00
parent a5d5a05369
commit 906f761041
103 changed files with 2670 additions and 250 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=4 uid="uid://cd08dp16bixfv"]
[gd_scene load_steps=15 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"]
@@ -10,11 +10,12 @@
[ext_resource type="Script" uid="uid://bh54wpqgau8hc" path="res://scripts/npc.gd" id="8_nhrwr"]
[ext_resource type="Texture2D" uid="uid://dcrhry67g00vk" path="res://graphics/pom.png" id="9_4bidn"]
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="10_6hdsl"]
[ext_resource type="Texture2D" uid="uid://cg42wsmb3ocfq" path="res://graphics/first-guild.png" id="11_4bidn"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_w7eqs"]
vertices = PackedVector2Array(335, 241, 335, 128.77344, 360.28906, 141.42188, 399, 241, 582.1094, 145.17969, 582.10156, 145.17188, 589.9219, 141.70313, 689, 241, 377.28906, 149.92188, 411.46094, 167, 497, 241, 497, 305, 399, 305, 533.1875, 167, 613.1875, 131.32031, 689, 54.757813, 642.3672, 97.28125, 646.02344, 65.71875, 647.34375, 54.179688)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7), PackedInt32Array(3, 2, 8), PackedInt32Array(3, 8, 9, 10), PackedInt32Array(10, 11, 12, 3), PackedInt32Array(10, 9, 13, 7), PackedInt32Array(7, 13, 4), PackedInt32Array(7, 6, 14), PackedInt32Array(15, 7, 14, 16), PackedInt32Array(15, 16, 17), PackedInt32Array(18, 15, 17)])
outlines = Array[PackedVector2Array]([PackedVector2Array(315, 60, 337, 113, 415, 152, 530, 152, 604, 119, 628, 91, 634, 39, 706, 40, 708, -15, 317, -19)])
vertices = PackedVector2Array(335, 241, 335, 111.36719, 378.1875, 129.53125, 399, 241, 395.97656, 137, 523.21875, 137, 497, 241, 624.0469, 71.046875, 689, 30, 689, 241, 588.78125, 107.5, 497, 305, 399, 305, 630.75, 30, 582.15625, 110.47656)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 2, 4), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(7, 8, 9, 6, 10), PackedInt32Array(6, 11, 12, 3), PackedInt32Array(7, 13, 8), PackedInt32Array(10, 6, 5, 14)])
outlines = Array[PackedVector2Array]([PackedVector2Array(315, 60, 330, 93, 399, 122, 520, 122, 580, 95, 610, 64, 618, 15, 695, 15, 695, -18, 317, -19)])
border_size = 250.0
agent_radius = 15.0
@@ -23,9 +24,9 @@ radius = 15.0
height = 54.0
[sub_resource type="NavigationPolygon" id="NavigationPolygon_l3mu1"]
vertices = PackedVector2Array(112, 144, 14, 144, 14, 0, 112, 0)
vertices = PackedVector2Array(112, 144, 14, 144, 14, -69, 112, -69)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(4, -10, 122, -10, 122, 154, 4, 154)])
outlines = Array[PackedVector2Array]([PackedVector2Array(4, -79, 122, -79, 122, 154, 4, 154)])
[node name="Guildhall" type="Node2D"]
script = ExtResource("1_lsinl")
@@ -34,6 +35,7 @@ script = ExtResource("1_lsinl")
navigation_polygon = SubResource("NavigationPolygon_w7eqs")
[node name="TileMapLayer" type="TileMapLayer" parent="RoomRegion"]
visible = false
tile_map_data = PackedByteArray("AAAFAAIAAAAOAAEAAAAGAAIAAAAOAAEAAAAHAAIAAAAOAAEAAAAIAAIAAAAOAAEAAAAJAAIAAAAOAAEAAAAKAAIAAAAOAAEAAAAHAAEAAAAOAAEAAAAGAAEAAAAOAAEAAAAFAAEAAAAOAAEAAAAKAAEAAAAOAAEAAAAJAAEAAAAOAAEAAAAIAAEAAAAOAAEAAAALAAIAAAACAAUAAAALAAEAAAACAAUAAAAKAAAAAAAOAAEAAAAJAAAAAAAOAAEAAAAIAAAAAAAOAAEAAAAHAAAAAAAOAAEAAAAGAAAAAAAOAAEAAAAFAAAAAAAOAAEAAAALAAAAAAACAAUAAAAFAP//AAACAAQAAAAGAP//AAACAAQAAAAHAP//AAACAAQAAAAIAP//AAACAAQAAAAJAP//AAACAAQAAAAKAP//AAACAAQAAAALAP//AAABAAQAAAAEAP//AAAAAAQAAAAEAAAAAAACAAUAAAAEAAEAAAACAAUAAAAEAAIAAAACAAUAAAAEAAMAAAACAAUAAAAFAAMAAAAOAAEAAAAGAAMAAAAOAAEAAAAHAAMAAAAOAAEAAAAIAAMAAAAOAAEAAAAJAAMAAAAOAAEAAAAKAAMAAAAOAAEAAAALAAMAAAACAAUAAAAEAAQAAAAAAAUAAAAKAAQAAAACAAQAAAALAAQAAAABAAUAAAAFAAQAAAACAAQAAAAHAAQAAAAOAAEAAAAIAAQAAAACAAQAAAAGAAQAAAAOAAEAAAAJAAQAAAACAAQAAAA=")
tile_set = ExtResource("1_qel1r")
@@ -42,12 +44,16 @@ visible = false
tile_map_data = PackedByteArray("AAANAAAAAAAKABEAAAAOAAAAAAAKABEAAAAPAAAAAAAKABEAAAAQAAAAAAAKABEAAAA=")
tile_set = ExtResource("1_qel1r")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(497, 136)
texture = ExtResource("11_4bidn")
[node name="Sprites" type="Node2D" parent="."]
z_index = 1
y_sort_enabled = true
[node name="Reception Desk" type="StaticBody2D" parent="Sprites"]
position = Vector2(472, 142)
position = Vector2(457, 112)
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Reception Desk"]
texture = ExtResource("3_13vc8")
@@ -57,13 +63,15 @@ offset = Vector2(0, -80)
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(473, 71)
visible = false
position = Vector2(457, 32)
[node name="Queue" parent="Sprites/Receptionist" index="3"]
position = Vector2(0, 97)
[node name="Player" type="CharacterBody2D" parent="Sprites"]
position = Vector2(451, 311)
visible = false
position = Vector2(451, 430)
script = ExtResource("2_5n4iw")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprites/Player"]
@@ -79,15 +87,15 @@ path_desired_distance = 30.0
avoidance_enabled = true
[node name="EntranceRegion" type="NavigationRegion2D" parent="."]
position = Vector2(385, 305)
position = Vector2(385, 374)
navigation_polygon = SubResource("NavigationPolygon_l3mu1")
[node name="Quest Board" parent="." instance=ExtResource("7_hph4e")]
position = Vector2(670, 32)
position = Vector2(654, -2)
[node name="Npc" type="CharacterBody2D" parent="."]
z_index = 1
position = Vector2(365, 39)
position = Vector2(347, 3)
script = ExtResource("8_nhrwr")
metadata/_custom_type_script = "uid://bh54wpqgau8hc"

View File

@@ -1,16 +1,19 @@
[gd_scene load_steps=6 format=3 uid="uid://c8ofw6na082gv"]
[gd_scene load_steps=9 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"]
[ext_resource type="Texture2D" uid="uid://cs7bvpn6jgofn" path="res://graphics/ui/options.png" id="5_6vw8v"]
[ext_resource type="PackedScene" uid="uid://du4hyv7egc7ny" path="res://templates/quest_view_window.tscn" id="6_er2tk"]
[ext_resource type="AudioStream" uid="uid://dq7e5u8j14atb" path="res://sounds/Paper Turn.wav" id="6_osxme"]
[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)
bg_color = Color(0.36, 0.2256, 0.1584, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
@@ -19,8 +22,8 @@ corner_detail = 5
[node name="MainPanel" type="MarginContainer"]
anchors_preset = -1
offset_right = 319.0
offset_bottom = 189.0
offset_right = 401.0
offset_bottom = 853.0
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 0
@@ -34,13 +37,18 @@ autostart = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="OpenShift" type="PanelContainer" parent="VBoxContainer"]
[node name="OpenShift" type="Panel" parent="VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(401, 216)
layout_mode = 2
theme_override_styles/panel = ExtResource("2_b7y1i")
[node name="Margin" type="MarginContainer" parent="VBoxContainer/OpenShift"]
layout_mode = 2
layout_mode = 0
offset_left = 74.0
offset_top = 34.0
offset_right = 236.0
offset_bottom = 174.0
theme_override_constants/margin_top = -20
theme_override_constants/margin_right = -80
@@ -50,12 +58,14 @@ layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/OpenShift/Margin/OpenList"]
modulate = Color(0.4209763, 0.2318669, 0, 1)
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"]
modulate = Color(0.4209763, 0.2318669, 0, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "00:00:00.00"
@@ -63,9 +73,10 @@ horizontal_alignment = 1
script = ExtResource("2_5rs2c")
[node name="VisitorsLabel" type="Label" parent="VBoxContainer/OpenShift/Margin/OpenList"]
modulate = Color(0.4209763, 0.2318669, 0, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
text = "Visitors"
script = ExtResource("2_5rs2c")
[node name="Button" type="Button" parent="VBoxContainer/OpenShift/Margin/OpenList"]
@@ -73,16 +84,34 @@ layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "CLOSE GUILD"
[node name="WorkingShift" type="PanelContainer" parent="VBoxContainer"]
[node name="WorkingShift" type="Panel" parent="VBoxContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(401, 216)
layout_mode = 2
theme_override_styles/panel = ExtResource("4_b7y1i")
[node name="DragRegion" type="Control" parent="VBoxContainer/WorkingShift"]
layout_mode = 1
offset_left = 4.0
offset_top = 3.0
offset_right = 399.0
offset_bottom = 43.0
[node name="TextureButton" type="TextureButton" parent="VBoxContainer/WorkingShift"]
layout_mode = 0
offset_left = 352.0
offset_top = 5.0
offset_right = 391.0
offset_bottom = 44.0
texture_normal = ExtResource("5_6vw8v")
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/WorkingShift"]
layout_mode = 2
theme_override_constants/margin_left = -80
theme_override_constants/margin_top = -20
layout_mode = 0
offset_left = 13.0
offset_top = 45.0
offset_right = 388.0
offset_bottom = 205.0
[node name="WorkingList" type="VBoxContainer" parent="VBoxContainer/WorkingShift/MarginContainer"]
unique_name_in_owner = true
@@ -98,15 +127,38 @@ horizontal_alignment = 1
layout_mode = 2
theme_override_font_sizes/font_size = 28
text = "000:00:00.00"
horizontal_alignment = 1
script = ExtResource("2_5rs2c")
[node name="ShowQuestsButton" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
[node name="Control" type="Control" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList"]
layout_mode = 2
alignment = 1
[node name="QuestViewerButton" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(175, 0)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "Quest Viewer"
[node name="ShowQuestsButton" type="Button" parent="VBoxContainer/WorkingShift/MarginContainer/WorkingList/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(175, 0)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_q6wja")
text = "Show Quests"
[node name="QuestView" parent="VBoxContainer" instance=ExtResource("6_er2tk")]
unique_name_in_owner = true
custom_minimum_size = Vector2(375, 325)
layout_mode = 2
[node name="Panel" type="PanelContainer" parent="VBoxContainer"]
custom_minimum_size = Vector2(400, 100)
layout_mode = 2
[node name="QuestProgressList" type="ScrollContainer" parent="VBoxContainer/Panel"]
@@ -124,9 +176,16 @@ size_flags_horizontal = 3
[node name="Notices" type="VBoxContainer" parent="VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("6_osxme")
volume_db = -10.31
[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"]
[connection signal="gui_input" from="VBoxContainer/WorkingShift/DragRegion" to="." method="_on_drag_region_gui_input"]
[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/HBoxContainer/QuestViewerButton" to="." method="_on_quest_viewer_button_pressed"]
[connection signal="pressed" from="VBoxContainer/WorkingShift/MarginContainer/WorkingList/HBoxContainer/ShowQuestsButton" to="." method="_on_show_quests_pressed"]

View File

@@ -1,160 +1,587 @@
[gd_scene load_steps=3 format=3 uid="uid://bktxswsjql86p"]
[gd_scene load_steps=15 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"]
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="2_s0l16"]
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="3_wy4e0"]
[ext_resource type="Texture2D" uid="uid://bblr27slj6ap0" path="res://graphics/portraits/farmer_f.png" id="4_wafq0"]
[ext_resource type="Theme" uid="uid://dlobmn4esosk3" path="res://styles/stat_font.tres" id="5_wafq0"]
[ext_resource type="FontFile" uid="uid://cju0vb3cw5qoj" path="res://fonts/Bagnard.otf" id="6_ktflt"]
[ext_resource type="Texture2D" uid="uid://bnyl6eaynixm5" path="res://graphics/ui/gear-heading.png" id="6_tiew1"]
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="7_ktflt"]
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="8_1nmd1"]
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="10_tiew1"]
[ext_resource type="Script" uid="uid://cw6yo5opbrpr8" path="res://scripts/item_slot.gd" id="11_tiew1"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
blend_mode = 3
[sub_resource type="Gradient" id="Gradient_1nmd1"]
offsets = PackedFloat32Array(0.2754717, 0.36226416, 0.43773586)
colors = PackedColorArray(1, 1, 1, 1, 0.46274376, 0.4643005, 0.5605066, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bj16a"]
gradient = SubResource("Gradient_1nmd1")
width = 100
height = 49
fill_to = Vector2(0, 1)
[node name="Profile Window" type="Window"]
transparent_bg = true
oversampling_override = 1.0
initial_position = 1
size = Vector2i(210, 265)
size = Vector2i(707, 857)
wrap_controls = true
unresizable = true
borderless = true
always_on_top = true
transparent = true
popup_window = true
script = ExtResource("1_4xbne")
[node name="MarginContainer" type="MarginContainer" parent="."]
[node name="CloseButton" type="Button" parent="."]
modulate = Color(1, 1, 1, 0)
anchors_preset = -1
offset_right = 40.0
offset_bottom = 50.0
theme_override_constants/margin_left = 3
theme_override_constants/margin_top = 4
offset_left = 586.0
offset_top = 15.0
offset_right = 625.0
offset_bottom = 54.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="DragRegion" type="Control" parent="."]
layout_mode = 3
offset_left = 2.0
offset_top = 11.0
offset_right = 584.0
offset_bottom = 56.0
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = -1
offset_right = 635.0
offset_bottom = 843.0
texture = ExtResource("2_s0l16")
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
texture = ExtResource("2_ffbu2")
[node name="HSeparator" type="Control" parent="."]
custom_minimum_size = Vector2(0, 100)
layout_mode = 3
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_constants/separation = -4
[node name="TextureRect2" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="JobLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="PortraitFrame" type="TextureRect" parent="."]
self_modulate = Color(1, 1, 1, 0)
clip_contents = true
custom_minimum_size = Vector2(153, 153)
anchors_preset = -1
offset_left = 27.0
offset_top = 103.0
offset_right = 180.0
offset_bottom = 256.0
texture = ExtResource("3_wy4e0")
expand_mode = 1
[node name="Portrait" type="TextureRect" parent="PortraitFrame"]
unique_name_in_owner = true
layout_mode = 2
layout_mode = 0
offset_right = 76.5
offset_bottom = 76.5
scale = Vector2(2, 2)
texture = ExtResource("4_wafq0")
expand_mode = 1
[node name="NameLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 74.0
offset_top = 54.0
offset_right = 178.0
offset_bottom = 104.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 36
text = "Name"
[node name="JobLabel" type="Label" parent="."]
unique_name_in_owner = true
anchors_preset = -1
offset_left = 188.0
offset_top = 100.0
offset_right = 272.0
offset_bottom = 134.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
text = "Class"
[node name="LevelLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="LevelLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = -1
offset_left = 188.0
offset_top = 127.0
offset_right = 272.0
offset_bottom = 161.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_font_sizes/font_size = 24
text = "Lv ##"
[node name="ExpLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="ExpLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = -1
offset_left = 188.0
offset_top = 156.0
offset_right = 314.0
offset_bottom = 190.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
text = "Exp: ##/##"
[node name="LifeLabel" type="Label" parent="MarginContainer/VBoxContainer"]
[node name="LifeLabel" type="Label" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
anchors_preset = -1
offset_left = 26.0
offset_top = 273.0
offset_right = 652.0
offset_bottom = 307.0
theme_override_font_sizes/font_size = 24
text = "Life: ####/####"
[node name="EnergyLabel" type="Label" parent="MarginContainer/VBoxContainer"]
[node name="EnergyLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
anchors_preset = -1
offset_left = 234.0
offset_top = 273.0
offset_right = 860.0
offset_bottom = 307.0
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
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"]
[node name="STRLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 110.0
offset_top = 302.0
offset_right = 210.0
offset_bottom = 346.0
theme = ExtResource("5_wafq0")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ktflt")
theme_override_font_sizes/font_size = 32
text = "457"
horizontal_alignment = 1
vertical_alignment = 2
[node name="INTLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
[node name="TextureRect" type="TextureRect" parent="STRLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="INTLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 110.0
offset_top = 364.0
offset_right = 210.0
offset_bottom = 408.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="DEXLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"]
[node name="TextureRect" type="TextureRect" parent="INTLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="Label" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 65.0
offset_top = 405.0
offset_right = 139.0
offset_bottom = 450.0
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 32
text = "ATK"
[node name="Label2" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 201.0
offset_top = 405.0
offset_right = 275.0
offset_bottom = 450.0
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 32
text = "MAG"
[node name="Label3" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 330.0
offset_top = 405.0
offset_right = 408.0
offset_bottom = 450.0
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 32
text = "PDEF"
[node name="Label4" type="Label" parent="."]
modulate = Color(0.4, 0.22666667, 0, 1)
anchors_preset = -1
offset_left = 481.0
offset_top = 405.0
offset_right = 569.0
offset_bottom = 450.0
theme_override_constants/outline_size = 2
theme_override_font_sizes/font_size = 32
text = "MDEF"
[node name="ATKLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 43.0
offset_top = 436.0
offset_right = 143.0
offset_bottom = 480.0
theme = ExtResource("5_wafq0")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ktflt")
theme_override_font_sizes/font_size = 32
text = "457"
horizontal_alignment = 1
vertical_alignment = 2
[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="TextureRect" type="TextureRect" parent="ATKLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="CHALabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
[node name="MAGLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 188.0
offset_top = 435.0
offset_right = 288.0
offset_bottom = 479.0
theme = ExtResource("5_wafq0")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ktflt")
theme_override_font_sizes/font_size = 32
text = "457"
horizontal_alignment = 1
vertical_alignment = 2
[node name="FAILabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
[node name="TextureRect" type="TextureRect" parent="MAGLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="PDEFLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 316.0
offset_top = 435.0
offset_right = 416.0
offset_bottom = 479.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="LUKLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer2"]
[node name="TextureRect" type="TextureRect" parent="PDEFLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="MDEFLabel" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "Stat: ##"
clip_children = 2
anchors_preset = -1
offset_left = 471.0
offset_top = 435.0
offset_right = 571.0
offset_bottom = 479.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="MDEFLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="WeaponIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
layout_mode = 2
texture = ExtResource("2_ffbu2")
[node name="DEXLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 111.0
offset_top = 333.0
offset_right = 211.0
offset_bottom = 377.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="ArmorIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
layout_mode = 2
texture = ExtResource("2_ffbu2")
[node name="TextureRect" type="TextureRect" parent="DEXLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="AccessoryIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
layout_mode = 2
texture = ExtResource("2_ffbu2")
[node name="CHALabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 302.0
offset_right = 354.0
offset_bottom = 346.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="ConsumableList" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="CHALabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[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="FAILabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 333.0
offset_right = 354.0
offset_bottom = 377.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[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="TextureRect" type="TextureRect" parent="FAILabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[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="LUKLabel" type="Label" parent="."]
unique_name_in_owner = true
clip_children = 2
anchors_preset = -1
offset_left = 254.0
offset_top = 364.0
offset_right = 354.0
offset_bottom = 408.0
theme = ExtResource("5_wafq0")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[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="TextureRect" type="TextureRect" parent="LUKLabel"]
material = SubResource("CanvasItemMaterial_ktflt")
layout_mode = 1
anchors_preset = -1
offset_right = 100.0
offset_bottom = 64.0
texture = SubResource("GradientTexture2D_bj16a")
[node name="Sprite2D5" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
custom_minimum_size = Vector2(32, 32)
[node name="GearBanner" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = -89.0
offset_top = 485.0
offset_right = 382.0
offset_bottom = 509.0
texture = ExtResource("6_tiew1")
[node name="Sideview" type="NinePatchRect" parent="."]
anchors_preset = -1
offset_left = 13.0
offset_top = 543.0
offset_right = 238.0
offset_bottom = 768.0
texture = ExtResource("7_ktflt")
patch_margin_left = 6
patch_margin_top = 6
patch_margin_right = 6
patch_margin_bottom = 6
[node name="TempChar" type="TextureRect" parent="Sideview"]
layout_mode = 0
offset_left = 47.0
offset_top = 55.0
offset_right = 175.0
offset_bottom = 183.0
texture = ExtResource("10_tiew1")
[node name="GearGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 241.0
offset_top = 545.0
offset_right = 462.0
offset_bottom = 766.0
[node name="TextureRect" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("2_ffbu2")
expand_mode = 1
texture = ExtResource("7_ktflt")
[node name="TextureRect2" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect3" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="VSeparator" type="VSeparator" parent="."]
modulate = Color(1.2044971, 0.7664488, 0.43147072, 1)
custom_minimum_size = Vector2(0, 275)
anchors_preset = -1
offset_left = 314.0
offset_top = 512.0
offset_right = 318.0
offset_bottom = 812.0
scale = Vector2(2, 1)
[node name="InventoryBanner" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 236.0
offset_top = 485.0
offset_right = 707.0
offset_bottom = 509.0
texture = ExtResource("8_1nmd1")
[node name="InventoryGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 325.0
offset_top = 513.0
offset_right = 621.0
offset_bottom = 809.0
columns = 4
[node name="ItemSlot" type="Control" parent="InventoryGrid"]
custom_minimum_size = Vector2(71, 71)
layout_mode = 2
script = ExtResource("11_tiew1")
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/ItemSlot"]
layout_mode = 0
offset_right = 71.0
offset_bottom = 71.0
texture = ExtResource("7_ktflt")
[node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect3" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect4" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect5" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect6" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect7" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect8" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect9" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect10" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect11" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect12" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect13" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect14" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect15" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[node name="TextureRect16" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("7_ktflt")
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
[connection signal="focus_exited" from="." to="." method="_on_close_requested"]
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]

View File

@@ -1,159 +1,430 @@
[gd_scene load_steps=4 format=3 uid="uid://djhq68y24p5px"]
[gd_scene load_steps=11 format=3 uid="uid://djhq68y24p5px"]
[ext_resource type="Texture2D" uid="uid://biir7hjo6b4nl" path="res://graphics/adventurer-profile-pic.png" id="1_4aa5t"]
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://graphics/icon.svg" id="1_h0ett"]
[ext_resource type="Script" uid="uid://dpws8rq811nt8" path="res://scripts/profile_window.gd" id="1_ldy3k"]
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="1_sdlbe"]
[ext_resource type="Texture2D" uid="uid://bblr27slj6ap0" path="res://graphics/portraits/farmer_f.png" id="2_uhag7"]
[ext_resource type="Texture2D" uid="uid://bnyl6eaynixm5" path="res://graphics/ui/gear-heading.png" id="5_ldy3k"]
[ext_resource type="Theme" uid="uid://dlobmn4esosk3" path="res://styles/stat_font.tres" id="5_ycvrv"]
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="6_qu58s"]
[ext_resource type="FontFile" uid="uid://cju0vb3cw5qoj" path="res://fonts/Bagnard.otf" id="6_ye5k7"]
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="7_ycvrv"]
[node name="Profile Window" type="Window"]
oversampling_override = 1.0
position = Vector2i(0, 36)
size = Vector2i(223, 265)
initial_position = 1
size = Vector2i(707, 843)
wrap_controls = true
unresizable = true
borderless = true
popup_window = true
script = ExtResource("1_ldy3k")
[node name="MarginContainer" type="MarginContainer" parent="."]
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = -1
offset_right = 40.0
offset_bottom = 50.0
theme_override_constants/margin_left = 3
theme_override_constants/margin_top = 4
offset_right = 635.0
offset_bottom = 843.0
texture = ExtResource("1_sdlbe")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 0
[node name="HSeparator" type="Control" parent="."]
custom_minimum_size = Vector2(0, 100)
layout_mode = 3
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="TextureRect2" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="PortraitFrame" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
[node name="PortraitFrame" type="TextureRect" parent="."]
self_modulate = Color(1, 1, 1, 0)
clip_contents = true
custom_minimum_size = Vector2(64, 64)
layout_mode = 2
custom_minimum_size = Vector2(153, 153)
anchors_preset = -1
offset_left = 27.0
offset_top = 103.0
offset_right = 180.0
offset_bottom = 256.0
texture = ExtResource("1_h0ett")
expand_mode = 1
[node name="Portrait" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/PortraitFrame"]
[node name="Portrait" type="TextureRect" parent="PortraitFrame"]
unique_name_in_owner = true
layout_mode = 0
offset_left = -34.0
offset_top = -8.0
offset_right = 94.0
offset_bottom = 120.0
offset_left = -49.0
offset_top = 7.0
offset_right = 79.0
offset_bottom = 135.0
scale = Vector2(2, 2)
texture = ExtResource("2_uhag7")
expand_mode = 1
[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
[node name="NameLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 68.0
offset_top = 66.0
offset_right = 172.0
offset_bottom = 116.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_fonts/font = ExtResource("6_ye5k7")
theme_override_font_sizes/font_size = 36
text = "Name"
[node name="ClassLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 126.0
offset_right = 282.0
offset_bottom = 149.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
text = "Class"
[node name="LevelLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="LevelLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 145.0
offset_right = 282.0
offset_bottom = 168.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_font_sizes/font_size = 24
text = "Lv ##"
[node name="ExpLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="ExpLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 198.0
offset_top = 164.0
offset_right = 282.0
offset_bottom = 187.0
theme_override_colors/font_color = Color(0.33, 0.17600001, 0, 1)
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
text = "Exp: ##/##"
[node name="LifeLabel" type="Label" parent="MarginContainer/VBoxContainer"]
[node name="LifeLabel" type="Label" parent="."]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
anchors_preset = -1
offset_left = 26.0
offset_top = 273.0
offset_right = 652.0
offset_bottom = 296.0
theme_override_font_sizes/font_size = 24
text = "Life: ####/####"
[node name="EnergyLabel" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="EnergyLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 234.0
offset_top = 273.0
offset_right = 860.0
offset_bottom = 296.0
theme_override_constants/line_spacing = 0
theme_override_font_sizes/font_size = 24
text = "Energy: ####/####"
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="STRLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 109.0
offset_top = 297.0
offset_right = 209.0
offset_bottom = 346.0
theme = ExtResource("5_ycvrv")
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_constants/outline_size = 1
theme_override_fonts/font = ExtResource("6_ye5k7")
theme_override_font_sizes/font_size = 32
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
[node name="INTLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 109.0
offset_top = 364.0
offset_right = 209.0
offset_bottom = 408.0
theme = ExtResource("5_ycvrv")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="DEXLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 110.0
offset_top = 333.0
offset_right = 210.0
offset_bottom = 377.0
theme = ExtResource("5_ycvrv")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="CHALabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 302.0
offset_right = 353.0
offset_bottom = 346.0
theme = ExtResource("5_ycvrv")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="FAILabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 333.0
offset_right = 353.0
offset_bottom = 377.0
theme = ExtResource("5_ycvrv")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="LUKLabel" type="Label" parent="."]
anchors_preset = -1
offset_left = 253.0
offset_top = 364.0
offset_right = 353.0
offset_bottom = 408.0
theme = ExtResource("5_ycvrv")
text = "9999"
horizontal_alignment = 1
vertical_alignment = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="."]
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[node name="VBoxContainer" type="VBoxContainer" parent="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"]
[node name="VBoxContainer2" type="VBoxContainer" parent="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="HBoxContainer3" type="HBoxContainer" parent="."]
visible = false
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
[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"]
[node name="WeaponIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[node name="ArmorIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
[node name="ArmorIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[node name="AccessoryIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer3"]
[node name="AccessoryIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[node name="ConsumableList" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="ConsumableList" type="HBoxContainer" parent="."]
visible = false
anchors_preset = -1
offset_left = 3.0
offset_top = 4.0
offset_right = 629.0
offset_bottom = 839.0
alignment = 1
[node name="Sprite2D" type="TextureRect" parent="MarginContainer/VBoxContainer/ConsumableList"]
[node name="Sprite2D" type="TextureRect" parent="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"]
[node name="Sprite2D2" type="TextureRect" parent="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"]
[node name="Sprite2D3" type="TextureRect" parent="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"]
[node name="Sprite2D4" type="TextureRect" parent="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"]
[node name="Sprite2D5" type="TextureRect" parent="ConsumableList"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("1_4aa5t")
expand_mode = 1
[node name="TextureRect3" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = -89.0
offset_top = 466.0
offset_right = 382.0
offset_bottom = 490.0
texture = ExtResource("5_ldy3k")
[node name="TextureRect5" type="NinePatchRect" parent="."]
anchors_preset = -1
offset_left = 13.0
offset_top = 524.0
offset_right = 238.0
offset_bottom = 749.0
texture = ExtResource("6_qu58s")
patch_margin_left = 6
patch_margin_top = 6
patch_margin_right = 6
patch_margin_bottom = 6
[node name="GearGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 241.0
offset_top = 526.0
offset_right = 462.0
offset_bottom = 747.0
[node name="TextureRect" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect2" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect3" type="TextureRect" parent="GearGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect4" type="TextureRect" parent="."]
anchors_preset = -1
offset_left = 236.0
offset_top = 466.0
offset_right = 707.0
offset_bottom = 490.0
texture = ExtResource("7_ycvrv")
[node name="VSeparator" type="VSeparator" parent="TextureRect4"]
custom_minimum_size = Vector2(0, 325)
layout_mode = 0
offset_left = 80.0
offset_top = 32.0
offset_right = 84.0
offset_bottom = 72.0
[node name="InventoryGrid" type="GridContainer" parent="."]
anchors_preset = -1
offset_left = 325.0
offset_top = 494.0
offset_right = 771.0
offset_bottom = 640.0
columns = 4
[node name="TextureRect" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect3" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect4" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect5" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect6" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect7" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect8" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect9" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect10" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect11" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect12" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect13" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect14" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect15" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="TextureRect16" type="TextureRect" parent="InventoryGrid"]
visible = false
layout_mode = 2
texture = ExtResource("6_qu58s")
[node name="CloseButton" type="Button" parent="."]
modulate = Color(1, 1, 1, 0)
anchors_preset = -1
offset_left = 586.0
offset_top = 15.0
offset_right = 625.0
offset_bottom = 54.0
[node name="DragRegion" type="Control" parent="."]
layout_mode = 3
offset_left = 2.0
offset_top = 11.0
offset_right = 584.0
offset_bottom = 56.0
[connection signal="pressed" from="CloseButton" to="." method="_on_close_button_pressed"]

View File

@@ -0,0 +1,90 @@
[gd_scene load_steps=6 format=3 uid="uid://du4hyv7egc7ny"]
[ext_resource type="Texture2D" uid="uid://b7jry0kqho7y7" path="res://graphics/questview/forest-back.png" id="1_pphhk"]
[ext_resource type="Texture2D" uid="uid://bu18dxqnd3hf6" path="res://graphics/questview/forest-back2.png" id="2_4qpsm"]
[ext_resource type="Texture2D" uid="uid://cr0sb3p1r7bdq" path="res://graphics/questview/forest-mid.png" id="2_mburs"]
[ext_resource type="Texture2D" uid="uid://ci7ngqo1sh7ao" path="res://graphics/questview/ground.png" id="2_rcl5q"]
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="4_4qpsm"]
[node name="QuestViewWindow" type="Panel"]
anchors_preset = -1
offset_left = 1.0
offset_right = 401.0
offset_bottom = 325.0
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(375, 325)
layout_mode = 1
anchors_preset = -1
offset_left = 12.0
offset_right = 387.0
offset_bottom = 325.0
[node name="Setting" type="Control" parent="Panel"]
clip_contents = true
layout_mode = 1
offset_right = 375.0
offset_bottom = 325.0
[node name="Control" type="Control" parent="Panel/Setting"]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="StageParallax" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(750, 0)
autoscroll = Vector2(-20, 0)
ignore_camera_scroll = true
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax"]
anchors_preset = -1
offset_top = -50.0
offset_right = 750.0
offset_bottom = 375.0
texture = ExtResource("1_pphhk")
[node name="StageParallax3" type="Parallax2D" parent="Panel/Setting/Control"]
scale = Vector2(0.8, 0.8)
repeat_size = Vector2(750, 0)
autoscroll = Vector2(-25, 0)
ignore_camera_scroll = true
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax3"]
modulate = Color(1.179842, 1.179842, 1.179842, 1)
anchors_preset = -1
offset_right = 750.0
offset_bottom = 425.0
texture = ExtResource("2_4qpsm")
[node name="BackgroundParallax" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(475, 0)
autoscroll = Vector2(-40, 0)
ignore_camera_scroll = true
[node name="TextureRect" type="TextureRect" parent="Panel/Setting/Control/BackgroundParallax"]
anchors_preset = -1
offset_top = -50.0
offset_right = 475.0
offset_bottom = 375.0
texture = ExtResource("2_rcl5q")
[node name="StageParallax2" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(750, 0)
autoscroll = Vector2(-40, 0)
ignore_camera_scroll = true
[node name="Foreground" type="TextureRect" parent="Panel/Setting/Control/StageParallax2"]
anchors_preset = -1
offset_top = -50.0
offset_right = 750.0
offset_bottom = 375.0
texture = ExtResource("2_mburs")
[node name="Adventurer" type="TextureRect" parent="Panel"]
layout_mode = 1
anchors_preset = -1
offset_left = 2.0
offset_top = 152.0
offset_right = 130.0
offset_bottom = 280.0
texture = ExtResource("4_4qpsm")