57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bv384dpmvjv8o"]
|
|
|
|
[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://world/Background/background.gd" id="1_fj7yv"]
|
|
[ext_resource type="PackedScene" uid="uid://cdbqh3hvqvpab" path="res://UI/TopMenu/top_menu.tscn" id="3_036b0"]
|
|
[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://world/Background/starry_sky_layer.tscn" id="3_aqk2v"]
|
|
[ext_resource type="Script" uid="uid://xte4iwvipeve" path="res://command_processor.gd" id="5_036b0"]
|
|
[ext_resource type="PackedScene" uid="uid://dg15dpxiepicb" path="res://UI/Border/border.tscn" id="28_o3ebs"]
|
|
|
|
[node name="World" type="Node2D"]
|
|
|
|
[node name="Background" type="Node2D" parent="."]
|
|
script = ExtResource("1_fj7yv")
|
|
STARRY_SKY_LAYER = ExtResource("3_aqk2v")
|
|
|
|
[node name="MainScreen" type="Control" parent="."]
|
|
custom_minimum_size = Vector2(1080, 1920)
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 3
|
|
|
|
[node name="MainRows" type="VBoxContainer" parent="MainScreen"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_bottom = 128.0
|
|
grow_horizontal = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="TopMenu" parent="MainScreen/MainRows" node_paths=PackedStringArray("TopMenuButtons") instance=ExtResource("3_036b0")]
|
|
layout_mode = 2
|
|
TopMenuButtons = {
|
|
"Charsheet": NodePath("Control/CharsheetButton"),
|
|
"Dialog": NodePath("Control/DialogButton"),
|
|
"Equipment": null,
|
|
"Questlog": NodePath("Control/QuestlogButton"),
|
|
"Starship": NodePath("Control/StarshipButton"),
|
|
"Trade": null,
|
|
"Travel": NodePath("Control/TravelButton"),
|
|
"Worm": null
|
|
}
|
|
|
|
[node name="TopMenuBorder" parent="MainScreen/MainRows" instance=ExtResource("28_o3ebs")]
|
|
layout_mode = 2
|
|
|
|
[node name="CommandProcessor" type="Node" parent="."]
|
|
script = ExtResource("5_036b0")
|
|
|
|
[node name="Tree" type="Tree" parent="CommandProcessor"]
|
|
offset_right = 16.0
|
|
offset_bottom = 17.0
|
|
|
|
[connection signal="button_pressed" from="MainScreen/MainRows/TopMenu" to="CommandProcessor" method="print_smth"]
|