Files
pomchronicles/templates/profile_window.tscn
2025-08-21 11:41:16 -04:00

431 lines
12 KiB
Plaintext

[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
initial_position = 1
size = Vector2i(707, 843)
wrap_controls = true
unresizable = true
borderless = true
popup_window = true
script = ExtResource("1_ldy3k")
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = -1
offset_right = 635.0
offset_bottom = 843.0
texture = ExtResource("1_sdlbe")
[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="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="."]
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("1_h0ett")
expand_mode = 1
[node name="Portrait" type="TextureRect" parent="PortraitFrame"]
unique_name_in_owner = true
layout_mode = 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="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="."]
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="."]
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="."]
custom_minimum_size = Vector2(100, 0)
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="."]
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="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="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="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer2"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_constants/separation = -8
[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="WeaponIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[node name="ArmorIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[node name="AccessoryIcon" type="TextureRect" parent="HBoxContainer3"]
layout_mode = 2
texture = ExtResource("1_4aa5t")
[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="ConsumableList"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("1_4aa5t")
expand_mode = 1
[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="ConsumableList"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("1_4aa5t")
expand_mode = 1
[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="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"]