[gd_scene load_steps=4 format=2] [ext_resource path="res://ui/windows/SpellContainer.tscn" type="PackedScene" id=1] [ext_resource path="res://ui/windows/SpellBookWindow.gd" type="Script" id=4] [ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=5] [node name="SpellBookWindow" type="PanelContainer"] margin_right = 884.0 margin_bottom = 510.0 theme = ExtResource( 5 ) script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } spell_entry_container_path = NodePath("PagedContent/GridContainer") prev_button_path = NodePath("PagedContent/Controls/HBoxContainer/Button2") next_button_path = NodePath("PagedContent/Controls/HBoxContainer/Button") spell_points_label_path = NodePath("PagedContent/Controls/HBoxContainer/SpellPoints") show_not_learnable = true [node name="PagedContent" type="VBoxContainer" parent="."] margin_left = 4.0 margin_top = 4.0 margin_right = 880.0 margin_bottom = 506.0 [node name="Header" type="HBoxContainer" parent="PagedContent"] margin_right = 876.0 margin_bottom = 30.0 [node name="Label" type="Label" parent="PagedContent/Header"] margin_top = 7.0 margin_right = 54.0 margin_bottom = 22.0 text = "Spellbook" [node name="HBoxContainer" type="HBoxContainer" parent="PagedContent/Header"] margin_left = 58.0 margin_right = 832.0 margin_bottom = 30.0 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 1 [node name="Button" type="Button" parent="PagedContent/Header/HBoxContainer"] margin_left = 337.0 margin_right = 437.0 margin_bottom = 30.0 rect_min_size = Vector2( 100, 0 ) text = "Nature" [node name="Button" type="Button" parent="PagedContent/Header"] margin_left = 836.0 margin_right = 876.0 margin_bottom = 30.0 rect_min_size = Vector2( 40, 30 ) text = "X" [node name="GridContainer" type="GridContainer" parent="PagedContent"] margin_top = 38.0 margin_right = 876.0 margin_bottom = 464.0 size_flags_horizontal = 3 size_flags_vertical = 3 columns = 2 [node name="SpellContainer" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 0.0 margin_right = 436.0 margin_bottom = 67.0 [node name="SpellContainer2" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 0.0 margin_right = 876.0 margin_bottom = 67.0 [node name="SpellContainer3" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 71.0 margin_right = 436.0 margin_bottom = 138.0 [node name="SpellContainer4" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 71.0 margin_right = 876.0 margin_bottom = 138.0 [node name="SpellContainer5" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 142.0 margin_right = 436.0 margin_bottom = 209.0 [node name="SpellContainer6" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 142.0 margin_right = 876.0 margin_bottom = 209.0 [node name="SpellContainer7" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 213.0 margin_right = 436.0 margin_bottom = 280.0 [node name="SpellContainer8" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 213.0 margin_right = 876.0 margin_bottom = 280.0 [node name="SpellContainer9" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 284.0 margin_right = 436.0 margin_bottom = 351.0 [node name="SpellContainer10" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 284.0 margin_right = 876.0 margin_bottom = 351.0 [node name="SpellContainer11" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 0.0 margin_top = 355.0 margin_right = 436.0 margin_bottom = 422.0 [node name="SpellContainer12" parent="PagedContent/GridContainer" instance=ExtResource( 1 )] margin_left = 440.0 margin_top = 355.0 margin_right = 876.0 margin_bottom = 422.0 [node name="Controls" type="MarginContainer" parent="PagedContent"] margin_top = 472.0 margin_right = 876.0 margin_bottom = 502.0 custom_constants/margin_right = 2 custom_constants/margin_top = 2 custom_constants/margin_left = 2 custom_constants/margin_bottom = 2 [node name="HBoxContainer" type="HBoxContainer" parent="PagedContent/Controls"] margin_left = 2.0 margin_top = 2.0 margin_right = 874.0 margin_bottom = 28.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Button2" type="Button" parent="PagedContent/Controls/HBoxContainer"] margin_right = 434.0 margin_bottom = 26.269 size_flags_horizontal = 3 size_flags_vertical = 3 text = "< Previous page" [node name="SpellPoints" type="Label" parent="PagedContent/Controls/HBoxContainer"] visible = false margin_left = 292.0 margin_top = 5.0 margin_right = 580.0 margin_bottom = 20.0 size_flags_horizontal = 3 align = 1 valign = 1 [node name="Button" type="Button" parent="PagedContent/Controls/HBoxContainer"] margin_left = 438.0 margin_right = 872.0 margin_bottom = 26.269 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Next page >" [connection signal="pressed" from="PagedContent/Header/Button" to="." method="hide"]