You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
4.5 KiB
130 lines
4.5 KiB
|
3 weeks ago
|
[gd_scene load_steps=4 format=3 uid="uid://cu2vkr5h5b8hb"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://level/ui/scripts/character_sheet.gd" id="1_script"]
|
||
|
|
[ext_resource type="Theme" uid="uid://dvsh7tuhulnfm" path="res://level/ui/theme/wow_style.tres" id="2_theme"]
|
||
|
|
|
||
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_book"]
|
||
|
|
bg_color = Color(0.12, 0.1, 0.08, 0.95)
|
||
|
|
border_width_left = 4
|
||
|
|
border_width_top = 4
|
||
|
|
border_width_right = 4
|
||
|
|
border_width_bottom = 4
|
||
|
|
border_color = Color(0.6, 0.5, 0.2, 1)
|
||
|
|
corner_radius_top_left = 8
|
||
|
|
corner_radius_top_right = 8
|
||
|
|
corner_radius_bottom_right = 8
|
||
|
|
corner_radius_bottom_left = 8
|
||
|
|
|
||
|
|
[node name="CharacterSheet" type="Control"]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
theme = ExtResource("2_theme")
|
||
|
|
script = ExtResource("1_script")
|
||
|
|
|
||
|
|
[node name="DarkBackground" type="ColorRect" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
color = Color(0, 0, 0, 0.7)
|
||
|
|
|
||
|
|
[node name="Panel" type="PanelContainer" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -450.0
|
||
|
|
offset_top = -300.0
|
||
|
|
offset_right = 450.0
|
||
|
|
offset_bottom = 300.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_book")
|
||
|
|
|
||
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
|
||
|
|
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="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 10
|
||
|
|
|
||
|
|
[node name="TitleLabel" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_colors/font_color = Color(1, 0.8, 0, 1)
|
||
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||
|
|
theme_override_constants/outline_size = 3
|
||
|
|
theme_override_font_sizes/font_size = 28
|
||
|
|
text = "CHARACTER SHEET"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
|
||
|
|
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 5
|
||
|
|
|
||
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_vertical = 3
|
||
|
|
theme_override_constants/separation = 20
|
||
|
|
|
||
|
|
[node name="LeftPage" type="PanelContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
|
||
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/LeftPage"]
|
||
|
|
layout_mode = 2
|
||
|
|
horizontal_scroll_mode = 0
|
||
|
|
|
||
|
|
[node name="StatsContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/LeftPage/ScrollContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
theme_override_constants/separation = 2
|
||
|
|
|
||
|
|
[node name="Divider" type="VSeparator" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
|
||
|
|
[node name="RightPage" type="PanelContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
|
||
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/RightPage"]
|
||
|
|
layout_mode = 2
|
||
|
|
horizontal_scroll_mode = 0
|
||
|
|
|
||
|
|
[node name="ContentContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/RightPage/ScrollContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
theme_override_constants/separation = 10
|
||
|
|
|
||
|
|
[node name="WeaponsContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/RightPage/ScrollContainer/ContentContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 2
|
||
|
|
|
||
|
|
[node name="Spacer" type="Control" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/RightPage/ScrollContainer/ContentContainer"]
|
||
|
|
custom_minimum_size = Vector2(0, 15)
|
||
|
|
layout_mode = 2
|
||
|
|
|
||
|
|
[node name="AbilitiesContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/RightPage/ScrollContainer/ContentContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 2
|
||
|
|
|
||
|
|
[node name="CloseHint" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
||
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||
|
|
theme_override_constants/outline_size = 1
|
||
|
|
theme_override_font_sizes/font_size = 14
|
||
|
|
text = "Press TAB to close"
|
||
|
|
horizontal_alignment = 2
|