2021-12-22 16:15:39 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2021-12-21 21:50:22 +01:00
|
|
|
|
2021-12-21 21:57:15 +01:00
|
|
|
[ext_resource path="res://addons/world_generator/ui/MainScreen.gd" type="Script" id=1]
|
2021-12-22 16:15:39 +01:00
|
|
|
[ext_resource path="res://addons/world_generator/ui/RectEditor.tscn" type="PackedScene" id=2]
|
|
|
|
[ext_resource path="res://addons/world_generator/ui/DataList.tscn" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://addons/world_generator/ui/WorldTab.gd" type="Script" id=4]
|
|
|
|
[ext_resource path="res://addons/world_generator/ui/ResourcePropertyList.tscn" type="PackedScene" id=5]
|
2021-12-21 21:57:15 +01:00
|
|
|
|
|
|
|
[node name="WorldGenerator" type="PanelContainer"]
|
2021-12-21 21:50:22 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_min_size = Vector2( 0, 200 )
|
|
|
|
size_flags_vertical = 3
|
2021-12-21 21:57:15 +01:00
|
|
|
script = ExtResource( 1 )
|
2021-12-21 21:50:22 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="."]
|
|
|
|
margin_left = 7.0
|
|
|
|
margin_top = 7.0
|
|
|
|
margin_right = 1017.0
|
|
|
|
margin_bottom = 593.0
|
|
|
|
tab_align = 0
|
|
|
|
|
2021-12-22 16:15:39 +01:00
|
|
|
[node name="World" type="HBoxContainer" parent="TabContainer"]
|
2021-12-21 21:50:22 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = -4.0
|
|
|
|
margin_bottom = -4.0
|
2021-12-22 16:15:39 +01:00
|
|
|
script = ExtResource( 4 )
|
|
|
|
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="TabContainer/World"]
|
|
|
|
margin_right = 825.0
|
|
|
|
margin_bottom = 550.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="RectEditor" parent="TabContainer/World/HSplitContainer" instance=ExtResource( 2 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 713.0
|
|
|
|
margin_bottom = 550.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="ResourcePropertyList" parent="TabContainer/World/HSplitContainer" instance=ExtResource( 5 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 725.0
|
|
|
|
margin_right = 825.0
|
|
|
|
margin_bottom = 550.0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/World"]
|
|
|
|
margin_left = 829.0
|
|
|
|
margin_right = 1002.0
|
|
|
|
margin_bottom = 550.0
|
|
|
|
|
2021-12-22 16:52:06 +01:00
|
|
|
[node name="Label" type="Label" parent="TabContainer/World/VBoxContainer"]
|
|
|
|
margin_right = 173.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
text = "Continents"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
|
2021-12-22 16:15:39 +01:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/World/VBoxContainer"]
|
2021-12-22 16:52:06 +01:00
|
|
|
margin_top = 18.0
|
2021-12-22 16:15:39 +01:00
|
|
|
margin_right = 173.0
|
2021-12-22 16:52:06 +01:00
|
|
|
margin_bottom = 38.0
|
2021-12-22 16:15:39 +01:00
|
|
|
|
|
|
|
[node name="AddButton" type="Button" parent="TabContainer/World/VBoxContainer/HBoxContainer"]
|
|
|
|
margin_right = 37.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Add"
|
|
|
|
|
|
|
|
[node name="DeleteButton" type="Button" parent="TabContainer/World/VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 41.0
|
|
|
|
margin_right = 96.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Delete"
|
|
|
|
|
|
|
|
[node name="Duplicate" type="Button" parent="TabContainer/World/VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 100.0
|
|
|
|
margin_right = 173.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Duplicate"
|
|
|
|
|
|
|
|
[node name="DataList" parent="TabContainer/World/VBoxContainer" instance=ExtResource( 3 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2021-12-22 16:52:06 +01:00
|
|
|
margin_top = 42.0
|
2021-12-22 16:15:39 +01:00
|
|
|
margin_right = 173.0
|
|
|
|
margin_bottom = 550.0
|
2021-12-21 21:50:22 +01:00
|
|
|
|
|
|
|
[node name="Continent" type="VBoxContainer" parent="TabContainer"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = -4.0
|
|
|
|
margin_bottom = -4.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Continent"]
|
|
|
|
margin_right = 1002.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
|
|
|
|
[node name="AddButton" type="Button" parent="TabContainer/Continent/HBoxContainer"]
|
|
|
|
margin_right = 37.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Add"
|
|
|
|
|
|
|
|
[node name="DeleteButton" type="Button" parent="TabContainer/Continent/HBoxContainer"]
|
|
|
|
margin_left = 41.0
|
|
|
|
margin_right = 96.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Delete"
|
|
|
|
|
|
|
|
[node name="Zone" type="VBoxContainer" parent="TabContainer"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = -4.0
|
|
|
|
margin_bottom = -4.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Zone"]
|
|
|
|
margin_right = 1002.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
|
|
|
|
[node name="AddButton" type="Button" parent="TabContainer/Zone/HBoxContainer"]
|
|
|
|
margin_right = 37.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Add"
|
|
|
|
|
|
|
|
[node name="DeleteButton" type="Button" parent="TabContainer/Zone/HBoxContainer"]
|
|
|
|
margin_left = 41.0
|
|
|
|
margin_right = 96.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Delete"
|
|
|
|
|
|
|
|
[node name="SubZone" type="VBoxContainer" parent="TabContainer"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = -4.0
|
|
|
|
margin_bottom = -4.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/SubZone"]
|
|
|
|
margin_right = 1002.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
|
|
|
|
[node name="AddButton" type="Button" parent="TabContainer/SubZone/HBoxContainer"]
|
|
|
|
margin_right = 37.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Add"
|
|
|
|
|
|
|
|
[node name="DeleteButton" type="Button" parent="TabContainer/SubZone/HBoxContainer"]
|
|
|
|
margin_left = 41.0
|
|
|
|
margin_right = 96.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "Delete"
|
2021-12-22 16:52:06 +01:00
|
|
|
|
|
|
|
[connection signal="pressed" from="TabContainer/World/VBoxContainer/HBoxContainer/AddButton" to="TabContainer/World/VBoxContainer/DataList" method="add_item"]
|