123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- [gd_scene load_steps=5 format=3 uid="uid://duqpp1dik8h8h"]
- [ext_resource type="Script" path="res://sources/gui/character/Character.gd" id="2_aacye"]
- [ext_resource type="Script" path="res://sources/gui/character/Attributes.gd" id="2_nrudd"]
- [ext_resource type="Script" path="res://sources/gui/character/Stats.gd" id="3_v4km6"]
- [ext_resource type="Script" path="res://sources/gui/character/Traits.gd" id="4_1wiqu"]
- [node name="Character" type="VBoxContainer"]
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- script = ExtResource("2_aacye")
- [node name="PlayerName" type="PanelContainer" parent="."]
- custom_minimum_size = Vector2(260, 0)
- layout_mode = 2
- size_flags_horizontal = 4
- [node name="MarginContainer" type="MarginContainer" parent="PlayerName"]
- layout_mode = 2
- theme_override_constants/margin_top = 8
- [node name="VBoxContainer" type="VBoxContainer" parent="PlayerName/MarginContainer"]
- layout_mode = 2
- [node name="Title" type="Label" parent="PlayerName/MarginContainer/VBoxContainer"]
- layout_mode = 2
- text = "Name"
- horizontal_alignment = 1
- [node name="HSeparator" type="HSeparator" parent="PlayerName/MarginContainer/VBoxContainer"]
- layout_mode = 2
- [node name="Entry" type="LineEdit" parent="PlayerName/MarginContainer/VBoxContainer"]
- visible = false
- custom_minimum_size = Vector2(250, 32)
- layout_mode = 2
- size_flags_vertical = 3
- placeholder_text = "Enter Character Name"
- alignment = 1
- expand_to_text_length = true
- context_menu_enabled = false
- [node name="Name" type="Label" parent="PlayerName/MarginContainer/VBoxContainer"]
- custom_minimum_size = Vector2(0, 20)
- layout_mode = 2
- size_flags_vertical = 1
- horizontal_alignment = 1
- [node name="EmptyTop" type="Control" parent="."]
- layout_mode = 2
- size_flags_vertical = 3
- [node name="Display" type="HBoxContainer" parent="."]
- layout_mode = 2
- [node name="EmptyLeft" type="Control" parent="Display"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Attributes" type="PanelContainer" parent="Display"]
- visible = false
- layout_mode = 2
- size_flags_vertical = 0
- theme_type_variation = &"PanelSideLeft"
- script = ExtResource("2_nrudd")
- [node name="Margin" type="MarginContainer" parent="Display/Attributes"]
- layout_mode = 2
- theme_override_constants/margin_left = 12
- theme_override_constants/margin_right = 12
- [node name="VBox" type="VBoxContainer" parent="Display/Attributes/Margin"]
- custom_minimum_size = Vector2(250, 0)
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- text = "Attributes"
- horizontal_alignment = 1
- [node name="HSeparator" type="HSeparator" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Strength" type="HBoxContainer" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Attributes/Margin/VBox/Strength"]
- layout_mode = 2
- text = "Strength"
- [node name="Empty" type="Control" parent="Display/Attributes/Margin/VBox/Strength"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Minus" type="Button" parent="Display/Attributes/Margin/VBox/Strength"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "-"
- [node name="Value" type="Label" parent="Display/Attributes/Margin/VBox/Strength"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "0"
- horizontal_alignment = 1
- [node name="Plus" type="Button" parent="Display/Attributes/Margin/VBox/Strength"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "+"
- [node name="Vitality" type="HBoxContainer" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Attributes/Margin/VBox/Vitality"]
- layout_mode = 2
- text = "Vitality"
- [node name="Empty" type="Control" parent="Display/Attributes/Margin/VBox/Vitality"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Minus" type="Button" parent="Display/Attributes/Margin/VBox/Vitality"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "-"
- [node name="Value" type="Label" parent="Display/Attributes/Margin/VBox/Vitality"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "0"
- horizontal_alignment = 1
- [node name="Plus" type="Button" parent="Display/Attributes/Margin/VBox/Vitality"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "+"
- [node name="Agility" type="HBoxContainer" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Attributes/Margin/VBox/Agility"]
- layout_mode = 2
- text = "Agility"
- [node name="Empty" type="Control" parent="Display/Attributes/Margin/VBox/Agility"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Minus" type="Button" parent="Display/Attributes/Margin/VBox/Agility"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "-"
- [node name="Value" type="Label" parent="Display/Attributes/Margin/VBox/Agility"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "0"
- horizontal_alignment = 1
- [node name="Plus" type="Button" parent="Display/Attributes/Margin/VBox/Agility"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "+"
- [node name="Endurance" type="HBoxContainer" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Attributes/Margin/VBox/Endurance"]
- layout_mode = 2
- text = "Endurance"
- [node name="Empty" type="Control" parent="Display/Attributes/Margin/VBox/Endurance"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Minus" type="Button" parent="Display/Attributes/Margin/VBox/Endurance"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "-"
- [node name="Value" type="Label" parent="Display/Attributes/Margin/VBox/Endurance"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "0"
- horizontal_alignment = 1
- [node name="Plus" type="Button" parent="Display/Attributes/Margin/VBox/Endurance"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "+"
- [node name="Concentration" type="HBoxContainer" parent="Display/Attributes/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Attributes/Margin/VBox/Concentration"]
- layout_mode = 2
- text = "Concentration"
- [node name="Empty" type="Control" parent="Display/Attributes/Margin/VBox/Concentration"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Minus" type="Button" parent="Display/Attributes/Margin/VBox/Concentration"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "-"
- [node name="Value" type="Label" parent="Display/Attributes/Margin/VBox/Concentration"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "0"
- horizontal_alignment = 1
- [node name="Plus" type="Button" parent="Display/Attributes/Margin/VBox/Concentration"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "+"
- [node name="Stats" type="PanelContainer" parent="Display"]
- visible = false
- layout_mode = 2
- size_flags_vertical = 0
- theme_type_variation = &"PanelSideLeft"
- script = ExtResource("3_v4km6")
- [node name="Margin" type="MarginContainer" parent="Display/Stats"]
- layout_mode = 2
- theme_override_constants/margin_left = 12
- theme_override_constants/margin_right = 12
- [node name="VBox" type="VBoxContainer" parent="Display/Stats/Margin"]
- custom_minimum_size = Vector2(250, 0)
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Stats/Margin/VBox"]
- layout_mode = 2
- text = "Stats"
- horizontal_alignment = 1
- [node name="HSeparator" type="HSeparator" parent="Display/Stats/Margin/VBox"]
- layout_mode = 2
- [node name="Level" type="HBoxContainer" parent="Display/Stats/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Stats/Margin/VBox/Level"]
- layout_mode = 2
- text = "Level"
- [node name="Empty" type="Control" parent="Display/Stats/Margin/VBox/Level"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Value" type="Label" parent="Display/Stats/Margin/VBox/Level"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "1"
- horizontal_alignment = 2
- [node name="Location" type="HBoxContainer" parent="Display/Stats/Margin/VBox"]
- layout_mode = 2
- [node name="Name" type="Label" parent="Display/Stats/Margin/VBox/Location"]
- layout_mode = 2
- text = "Location"
- [node name="Empty" type="Control" parent="Display/Stats/Margin/VBox/Location"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Value" type="Label" parent="Display/Stats/Margin/VBox/Location"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- text = "Artis"
- horizontal_alignment = 1
- [node name="Selection" type="HBoxContainer" parent="Display/Stats/Margin/VBox"]
- layout_mode = 2
- [node name="Previous" type="Button" parent="Display/Stats/Margin/VBox/Selection"]
- layout_mode = 2
- size_flags_horizontal = 3
- text = "Previous"
- [node name="Empty" type="Control" parent="Display/Stats/Margin/VBox/Selection"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Next" type="Button" parent="Display/Stats/Margin/VBox/Selection"]
- custom_minimum_size = Vector2(32, 0)
- layout_mode = 2
- size_flags_horizontal = 3
- text = "Next"
- [node name="EmptyMiddleLeft" type="Control" parent="Display"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="EmptyMiddleRight" type="Control" parent="Display"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Traits" type="PanelContainer" parent="Display"]
- visible = false
- layout_mode = 2
- size_flags_vertical = 0
- theme_type_variation = &"PanelSideRight"
- script = ExtResource("4_1wiqu")
- [node name="Margin" type="MarginContainer" parent="Display/Traits"]
- layout_mode = 2
- theme_override_constants/margin_left = 12
- theme_override_constants/margin_right = 12
- [node name="VBox" type="VBoxContainer" parent="Display/Traits/Margin"]
- custom_minimum_size = Vector2(250, 0)
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- text = "Traits"
- horizontal_alignment = 1
- [node name="HSeparator" type="HSeparator" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Hairstyle" type="HBoxContainer" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox/Hairstyle"]
- layout_mode = 2
- text = "Hairstyle"
- [node name="Empty" type="Control" parent="Display/Traits/Margin/VBox/Hairstyle"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Previous" type="Button" parent="Display/Traits/Margin/VBox/Hairstyle"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "<"
- [node name="Name" type="Label" parent="Display/Traits/Margin/VBox/Hairstyle"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Hairstyle"
- horizontal_alignment = 1
- [node name="Next" type="Button" parent="Display/Traits/Margin/VBox/Hairstyle"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = ">"
- [node name="HairColor" type="HBoxContainer" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox/HairColor"]
- layout_mode = 2
- text = "Hair Color"
- [node name="Empty" type="Control" parent="Display/Traits/Margin/VBox/HairColor"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Previous" type="Button" parent="Display/Traits/Margin/VBox/HairColor"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "<"
- [node name="Name" type="Label" parent="Display/Traits/Margin/VBox/HairColor"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Hair Color"
- horizontal_alignment = 1
- [node name="Next" type="Button" parent="Display/Traits/Margin/VBox/HairColor"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = ">"
- [node name="Gender" type="HBoxContainer" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox/Gender"]
- layout_mode = 2
- text = "Gender"
- [node name="Empty" type="Control" parent="Display/Traits/Margin/VBox/Gender"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Previous" type="Button" parent="Display/Traits/Margin/VBox/Gender"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "<"
- [node name="Name" type="Label" parent="Display/Traits/Margin/VBox/Gender"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Gender"
- horizontal_alignment = 1
- [node name="Next" type="Button" parent="Display/Traits/Margin/VBox/Gender"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = ">"
- [node name="Race" type="HBoxContainer" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox/Race"]
- layout_mode = 2
- text = "Race"
- [node name="Empty" type="Control" parent="Display/Traits/Margin/VBox/Race"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Previous" type="Button" parent="Display/Traits/Margin/VBox/Race"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "<"
- [node name="Name" type="Label" parent="Display/Traits/Margin/VBox/Race"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Ethnicity"
- horizontal_alignment = 1
- [node name="Next" type="Button" parent="Display/Traits/Margin/VBox/Race"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = ">"
- [node name="SkinTone" type="HBoxContainer" parent="Display/Traits/Margin/VBox"]
- layout_mode = 2
- [node name="Label" type="Label" parent="Display/Traits/Margin/VBox/SkinTone"]
- layout_mode = 2
- text = "Skin Tone"
- [node name="EmptyLeft" type="Control" parent="Display/Traits/Margin/VBox/SkinTone"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="Previous" type="Button" parent="Display/Traits/Margin/VBox/SkinTone"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = "<"
- [node name="Name" type="Label" parent="Display/Traits/Margin/VBox/SkinTone"]
- custom_minimum_size = Vector2(120, 0)
- layout_mode = 2
- text = "Skin Tone"
- horizontal_alignment = 1
- [node name="Next" type="Button" parent="Display/Traits/Margin/VBox/SkinTone"]
- custom_minimum_size = Vector2(25, 25)
- layout_mode = 2
- text = ">"
- [node name="EmptyRight" type="Control" parent="Display"]
- layout_mode = 2
- size_flags_horizontal = 3
- [node name="EmptyBottom" type="Control" parent="."]
- layout_mode = 2
- size_flags_vertical = 3
- [connection signal="focus_entered" from="PlayerName/MarginContainer/VBoxContainer/Entry" to="." method="_on_text_focus_entered"]
- [connection signal="focus_exited" from="PlayerName/MarginContainer/VBoxContainer/Entry" to="." method="_on_text_focus_exited"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Strength/Minus" to="Display/Attributes" method="_on_strength_minus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Strength/Plus" to="Display/Attributes" method="_on_strength_plus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Vitality/Minus" to="Display/Attributes" method="_on_vitality_minus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Vitality/Plus" to="Display/Attributes" method="_on_vitality_plus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Agility/Minus" to="Display/Attributes" method="_on_agility_minus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Agility/Plus" to="Display/Attributes" method="_on_agility_plus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Endurance/Minus" to="Display/Attributes" method="_on_endurance_minus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Endurance/Plus" to="Display/Attributes" method="_on_endurance_plus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Concentration/Minus" to="Display/Attributes" method="_on_concentration_minus_button"]
- [connection signal="pressed" from="Display/Attributes/Margin/VBox/Concentration/Plus" to="Display/Attributes" method="_on_concentration_plus_button"]
- [connection signal="pressed" from="Display/Stats/Margin/VBox/Selection/Previous" to="Display/Stats" method="_on_previous_pressed"]
- [connection signal="pressed" from="Display/Stats/Margin/VBox/Selection/Next" to="Display/Stats" method="_on_next_pressed"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Hairstyle/Previous" to="Display/Traits" method="_on_hairstyle_prev_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Hairstyle/Next" to="Display/Traits" method="_on_hairstyle_next_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/HairColor/Previous" to="Display/Traits" method="_on_haircolor_prev_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/HairColor/Next" to="Display/Traits" method="_on_haircolor_next_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Gender/Previous" to="Display/Traits" method="_on_gender_prev_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Gender/Next" to="Display/Traits" method="_on_gender_next_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Race/Previous" to="Display/Traits" method="_on_race_prev_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/Race/Next" to="Display/Traits" method="_on_race_next_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/SkinTone/Previous" to="Display/Traits" method="_on_skintone_prev_button"]
- [connection signal="pressed" from="Display/Traits/Margin/VBox/SkinTone/Next" to="Display/Traits" method="_on_skintone_next_button"]
|