broken_seals_2d/game/ui/unitframes/UnitframeBase.tscn

98 lines
3.0 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/unitframes/UnitframeBase.gd" type="Script" id=1]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
[ext_resource path="res://ui/theme/scrollbar_grabber_red.tres" type="StyleBox" id=3]
[ext_resource path="res://ui/theme/scrollbar_grabber_blue.tres" type="StyleBox" id=4]
[ext_resource path="res://ui/theme/scrollbar_grabber_blue_xp.tres" type="StyleBox" id=5]
[node name="UnitFrame" type="PanelContainer"]
margin_right = 150.0
margin_bottom = 61.0
theme = ExtResource( 2 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
name_text_path = NodePath("VBoxContainer/HBoxContainer/Label")
level_text_path = NodePath("VBoxContainer/HBoxContainer/Label2")
health_range_path = NodePath("VBoxContainer/MarginContainer/ProgressBar")
health_text_path = NodePath("VBoxContainer/MarginContainer/Label")
resource_range_path = NodePath("VBoxContainer/MarginContainer2/ResourceBar")
resource_text_path = NodePath("VBoxContainer/MarginContainer2/Label")
xp_range_path = NodePath("VBoxContainer/XPBar")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 4.0
margin_top = 4.0
margin_right = 146.0
margin_bottom = 57.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_right = 142.0
margin_bottom = 15.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_right = 138.0
margin_bottom = 15.0
size_flags_horizontal = 3
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 142.0
margin_right = 142.0
margin_bottom = 15.0
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
margin_top = 16.0
margin_right = 142.0
margin_bottom = 31.0
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer/MarginContainer"]
margin_right = 142.0
margin_bottom = 15.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/fg = ExtResource( 3 )
percent_visible = false
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer"]
margin_right = 142.0
margin_bottom = 15.0
size_flags_horizontal = 3
size_flags_vertical = 3
align = 1
valign = 1
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
margin_top = 32.0
margin_right = 142.0
margin_bottom = 47.0
[node name="ResourceBar" type="ProgressBar" parent="VBoxContainer/MarginContainer2"]
margin_right = 142.0
margin_bottom = 15.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/fg = ExtResource( 4 )
percent_visible = false
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2"]
margin_right = 142.0
margin_bottom = 15.0
size_flags_horizontal = 3
size_flags_vertical = 3
align = 1
valign = 1
[node name="XPBar" type="ProgressBar" parent="VBoxContainer"]
margin_top = 48.0
margin_right = 142.0
margin_bottom = 53.6018
rect_min_size = Vector2( 20, 5 )
size_flags_horizontal = 3
custom_styles/fg = ExtResource( 5 )
percent_visible = false