1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- [gd_scene load_steps=4 format=3 uid="uid://cjg64w82poqg3"]
- [ext_resource type="Script" path="res://addons/game_data_manager/RefreshButton.gd" id="1_02c80"]
- [ext_resource type="Script" path="res://addons/game_data_manager/ItemList.gd" id="2_2kinw"]
- [ext_resource type="Script" path="res://addons/game_data_manager/ItemTypeSelector.gd" id="7_nn4vo"]
- [node name="Manager-ui" type="Control"]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- size_flags_horizontal = 3
- size_flags_vertical = 3
- [node name="VBoxContainer" type="VBoxContainer" parent="."]
- layout_mode = 1
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
- layout_mode = 2
- [node name="Reload" type="Button" parent="VBoxContainer/HBoxContainer"]
- layout_mode = 2
- text = "Reload"
- script = ExtResource("1_02c80")
- [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
- layout_mode = 2
- text = "Item List, click on an item to inspect it."
- [node name="LineEdit" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
- layout_mode = 2
- size_flags_horizontal = 10
- placeholder_text = "Search"
- [node name="ItemList" type="ItemList" parent="VBoxContainer"]
- custom_minimum_size = Vector2(100, 100)
- layout_mode = 2
- size_flags_vertical = 3
- script = ExtResource("2_2kinw")
- [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
- layout_mode = 2
- [node name="LineEdit" type="LineEdit" parent="VBoxContainer/HBoxContainer2"]
- custom_minimum_size = Vector2(140, 0)
- layout_mode = 2
- size_flags_horizontal = 10
- placeholder_text = "Item Filename"
- [node name="ItemTypeSelector" type="MenuButton" parent="VBoxContainer/HBoxContainer2"]
- layout_mode = 2
- text = "Type: BaseItem"
- flat = false
- icon_alignment = 2
- script = ExtResource("7_nn4vo")
- [node name="create item" type="Button" parent="VBoxContainer/HBoxContainer2"]
- layout_mode = 2
- text = "Create item"
- [node name="AcceptDialog" type="AcceptDialog" parent="VBoxContainer/HBoxContainer2"]
- [connection signal="pressed" from="VBoxContainer/HBoxContainer/Reload" to="VBoxContainer/HBoxContainer/Reload" method="_on_pressed"]
- [connection signal="text_changed" from="VBoxContainer/HBoxContainer/LineEdit" to="VBoxContainer/ItemList" method="_on_line_edit_text_changed"]
- [connection signal="item_clicked" from="VBoxContainer/ItemList" to="VBoxContainer/ItemList" method="_on_item_clicked"]
- [connection signal="pressed" from="VBoxContainer/HBoxContainer2/create item" to="VBoxContainer/ItemList" method="_on_create_item_pressed"]
|