2020-05-25 12:44:03 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://ui/windows/TrainerWindow.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
|
|
|
|
|
|
|
|
[node name="TrainerWindow" type="PanelContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
theme = ExtResource( 2 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-12 01:01:43 +02:00
|
|
|
spell_entry_container_path = NodePath("VBoxContainer/PanelContainer3/ScrollContainer/Spells")
|
|
|
|
learn_button_path = NodePath("VBoxContainer/HBoxContainer/Train")
|
|
|
|
cost_points_label_path = NodePath("VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer2/Price")
|
|
|
|
spell_icon_path = NodePath("VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer/Icon")
|
|
|
|
spell_name_label_path = NodePath("VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2/Name")
|
|
|
|
spell_description_label_path = NodePath("VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2/Description")
|
|
|
|
spell_requirements_label_path = NodePath("VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2/Requirements")
|
2020-05-25 12:44:03 +02:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1020.0
|
|
|
|
margin_bottom = 596.0
|
|
|
|
|
2020-09-12 01:01:43 +02:00
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_right = 1016.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 26.0
|
2020-05-25 12:44:03 +02:00
|
|
|
|
2020-09-12 01:01:43 +02:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_top = 5.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_right = 982.0
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_bottom = 20.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Trainer"
|
|
|
|
|
2020-09-12 01:01:43 +02:00
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
|
|
|
margin_left = 986.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 26.5702
|
2020-05-25 12:44:03 +02:00
|
|
|
rect_min_size = Vector2( 30, 0 )
|
|
|
|
text = "X"
|
|
|
|
|
|
|
|
[node name="PanelContainer3" type="PanelContainer" parent="VBoxContainer"]
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_top = 34.0
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_right = 1016.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 292.0
|
2020-05-25 12:44:03 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/PanelContainer3"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1012.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 254.0
|
2020-05-25 12:44:03 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
scroll_horizontal_enabled = false
|
|
|
|
|
|
|
|
[node name="Spells" type="VBoxContainer" parent="VBoxContainer/PanelContainer3/ScrollContainer"]
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_right = 1008.0
|
2020-05-25 12:44:03 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
custom_constants/separation = 2
|
|
|
|
|
|
|
|
[node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer"]
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_top = 300.0
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 558.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer2"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1012.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 254.0
|
2020-05-25 12:44:03 +02:00
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer2/VBoxContainer"]
|
|
|
|
margin_right = 1008.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 227.0
|
2020-05-25 12:44:03 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer"]
|
|
|
|
margin_right = 60.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 227.0
|
2020-05-25 12:44:03 +02:00
|
|
|
|
|
|
|
[node name="Icon" type="TextureRect" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
|
|
margin_right = 60.0
|
|
|
|
margin_bottom = 60.0
|
|
|
|
rect_min_size = Vector2( 60, 60 )
|
2020-09-12 01:01:43 +02:00
|
|
|
expand = true
|
2020-05-25 12:44:03 +02:00
|
|
|
|
2020-09-12 01:01:43 +02:00
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer"]
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_left = 64.0
|
|
|
|
margin_right = 1008.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 227.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="Name" type="Label" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
|
|
|
margin_right = 944.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 5
|
|
|
|
|
|
|
|
[node name="Requirements" type="Label" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
|
|
|
margin_top = 23.0
|
|
|
|
margin_right = 944.0
|
|
|
|
margin_bottom = 38.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 5
|
|
|
|
|
|
|
|
[node name="Description" type="Label" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer/VBoxContainer2"]
|
|
|
|
margin_top = 46.0
|
|
|
|
margin_right = 944.0
|
|
|
|
margin_bottom = 227.0
|
2020-05-25 12:44:03 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 7
|
2020-09-12 01:01:43 +02:00
|
|
|
autowrap = true
|
2020-05-25 12:44:03 +02:00
|
|
|
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/PanelContainer2/VBoxContainer"]
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_top = 235.0
|
2020-05-25 12:44:03 +02:00
|
|
|
margin_right = 1008.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 250.0
|
2020-05-25 12:44:03 +02:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer2"]
|
|
|
|
margin_right = 36.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
text = "Costs "
|
|
|
|
|
|
|
|
[node name="Price" type="Label" parent="VBoxContainer/PanelContainer2/VBoxContainer/HBoxContainer2"]
|
|
|
|
margin_left = 40.0
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 566.0
|
|
|
|
margin_right = 1016.0
|
|
|
|
margin_bottom = 592.0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="Train" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 916.0
|
|
|
|
margin_right = 1016.0
|
2020-09-12 01:01:43 +02:00
|
|
|
margin_bottom = 26.5702
|
2020-05-25 12:44:03 +02:00
|
|
|
rect_min_size = Vector2( 100, 0 )
|
|
|
|
text = "Learn"
|
2020-09-12 01:01:43 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Button" to="." method="hide"]
|