Files
owniverse/world.tscn
T

271 lines
12 KiB
Plaintext
Raw Normal View History

2026-03-05 20:13:45 +03:00
[gd_scene format=3 uid="uid://bv384dpmvjv8o"]
2025-11-12 13:28:57 +03:00
2026-03-05 20:13:45 +03:00
[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://World/Background/background.gd" id="1_fj7yv"]
2025-11-20 10:02:20 +03:00
[ext_resource type="PackedScene" uid="uid://cdbqh3hvqvpab" path="res://UI/TopMenu/top_menu.tscn" id="3_036b0"]
2026-03-05 20:13:45 +03:00
[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://World/Background/starry_sky_layer.tscn" id="3_aqk2v"]
[ext_resource type="Script" uid="uid://iiva6x8uo0f2" path="res://Stage/stage.gd" id="3_bh8nc"]
2025-11-20 10:02:20 +03:00
[ext_resource type="Script" uid="uid://xte4iwvipeve" path="res://command_processor.gd" id="5_036b0"]
2026-03-30 00:48:20 +03:00
[ext_resource type="FontFile" uid="uid://d3k1ddvv0rmhs" path="res://fonts/Roboto_Condensed/RobotoCondensed-Light.ttf" id="6_wse8f"]
[ext_resource type="FontFile" uid="uid://dtyi81a0phumr" path="res://fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf" id="7_ic0uy"]
[ext_resource type="FontFile" uid="uid://8s0fv3gfj317" path="res://fonts/Roboto_Condensed/RobotoCondensed-BoldItalic.ttf" id="8_k3n1d"]
[ext_resource type="FontFile" uid="uid://derqj4pbwtae6" path="res://fonts/Roboto_Condensed/RobotoCondensed-Italic.ttf" id="9_2o6r5"]
2025-11-20 10:02:20 +03:00
[ext_resource type="PackedScene" uid="uid://dg15dpxiepicb" path="res://UI/Border/border.tscn" id="28_o3ebs"]
2025-11-12 13:28:57 +03:00
2026-03-05 20:13:45 +03:00
[node name="World" type="Node2D" unique_id=1392592456]
2025-11-12 13:28:57 +03:00
2026-03-05 20:13:45 +03:00
[node name="Background" type="Node2D" parent="." unique_id=1988758765]
2025-11-12 13:28:57 +03:00
script = ExtResource("1_fj7yv")
2025-11-15 08:22:49 +03:00
STARRY_SKY_LAYER = ExtResource("3_aqk2v")
2025-11-12 13:28:57 +03:00
2026-03-30 00:48:20 +03:00
[node name="Stage" type="Control" parent="." unique_id=1485959841 node_paths=PackedStringArray("item_pages", "stage_page_scroller")]
2025-11-20 10:02:20 +03:00
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
2026-03-05 20:13:45 +03:00
script = ExtResource("3_bh8nc")
2026-03-30 00:48:20 +03:00
item_pages = [NodePath("StageRows/PageScroller/HBoxContainer/ForcePage/Forces"), NodePath("StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer/Resources"), NodePath("StageRows/PageScroller/HBoxContainer/StarPage/Stars"), NodePath("StageRows/PageScroller/HBoxContainer/StructurePage/Structures"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Life"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/LivingPlanet"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ0"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ1"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ2"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ3"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ4")]
2026-03-09 16:10:35 +03:00
stage_page_scroller = NodePath("StageRows/PageScroller")
2025-11-12 13:28:57 +03:00
2026-03-05 20:13:45 +03:00
[node name="StageRows" type="VBoxContainer" parent="Stage" unique_id=1878643860]
2025-11-20 10:02:20 +03:00
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
2026-03-05 20:13:45 +03:00
[node name="TopMenu" parent="Stage/StageRows" unique_id=255793366 node_paths=PackedStringArray("TopMenuButtons") instance=ExtResource("3_036b0")]
2025-11-20 10:02:20 +03:00
layout_mode = 2
TopMenuButtons = {
2026-03-05 20:13:45 +03:00
"Charsheet": null,
"Dialog": null,
2025-11-20 10:02:20 +03:00
"Equipment": null,
2026-03-05 20:13:45 +03:00
"Questlog": null,
"Starship": null,
2025-11-20 10:02:20 +03:00
"Trade": null,
2026-03-05 20:13:45 +03:00
"Travel": null,
2025-11-20 10:02:20 +03:00
"Worm": null
}
2026-03-05 20:13:45 +03:00
[node name="TopMenuBorder" parent="Stage/StageRows" unique_id=476233375 instance=ExtResource("28_o3ebs")]
2025-11-20 10:02:20 +03:00
layout_mode = 2
2026-03-09 16:10:35 +03:00
[node name="PageScroller" type="ScrollContainer" parent="Stage/StageRows" unique_id=1772137283]
2026-03-05 20:13:45 +03:00
custom_minimum_size = Vector2(0, 1040)
layout_mode = 2
horizontal_scroll_mode = 3
vertical_scroll_mode = 0
2026-03-09 16:10:35 +03:00
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller" unique_id=398473867]
2026-03-05 20:13:45 +03:00
layout_mode = 2
theme_override_constants/separation = 0
2026-03-09 16:10:35 +03:00
[node name="ForcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=71643627]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1934400572]
custom_minimum_size = Vector2(0, 736)
layout_mode = 2
size_flags_vertical = 3
2026-03-30 00:48:20 +03:00
theme_override_fonts/normal_font = ExtResource("6_wse8f")
theme_override_fonts/bold_font = ExtResource("7_ic0uy")
theme_override_fonts/bold_italics_font = ExtResource("8_k3n1d")
theme_override_fonts/italics_font = ExtResource("9_2o6r5")
2026-03-09 16:10:35 +03:00
theme_override_font_sizes/normal_font_size = 42
2026-03-30 00:48:20 +03:00
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
2026-03-09 16:10:35 +03:00
text = "Forces"
fit_content = true
2026-03-30 00:48:20 +03:00
horizontal_alignment = 1
2026-03-09 16:10:35 +03:00
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=519355296 instance=ExtResource("28_o3ebs")]
layout_mode = 2
2026-03-30 00:48:20 +03:00
[node name="Forces" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=2057408842]
2026-03-05 20:13:45 +03:00
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
2026-03-09 16:10:35 +03:00
[node name="ResourcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1417647206]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1171833]
custom_minimum_size = Vector2(0, 736)
layout_mode = 2
size_flags_vertical = 3
2026-03-30 00:48:20 +03:00
theme_override_fonts/normal_font = ExtResource("6_wse8f")
theme_override_fonts/bold_font = ExtResource("7_ic0uy")
theme_override_fonts/bold_italics_font = ExtResource("8_k3n1d")
theme_override_fonts/italics_font = ExtResource("9_2o6r5")
2026-03-09 16:10:35 +03:00
theme_override_font_sizes/normal_font_size = 42
2026-03-30 00:48:20 +03:00
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
2026-03-09 16:10:35 +03:00
text = "Resources"
fit_content = true
2026-03-30 00:48:20 +03:00
horizontal_alignment = 1
2026-03-09 16:10:35 +03:00
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1268799323 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=206289176]
custom_minimum_size = Vector2(1080, 1024)
layout_mode = 2
2026-03-30 00:48:20 +03:00
[node name="Resources" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer" unique_id=1538364728]
2026-03-09 16:10:35 +03:00
custom_minimum_size = Vector2(256, 1024)
layout_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer" unique_id=420150583]
2026-03-05 20:13:45 +03:00
layout_mode = 2
size_flags_horizontal = 3
context_menu_enabled = true
2026-03-09 16:10:35 +03:00
[node name="StarPage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=270059674]
2026-03-05 20:13:45 +03:00
layout_mode = 2
2026-03-09 16:10:35 +03:00
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1195874488]
custom_minimum_size = Vector2(0, 736)
layout_mode = 2
size_flags_vertical = 3
2026-03-30 00:48:20 +03:00
theme_override_fonts/normal_font = ExtResource("6_wse8f")
theme_override_fonts/bold_font = ExtResource("7_ic0uy")
theme_override_fonts/bold_italics_font = ExtResource("8_k3n1d")
theme_override_fonts/italics_font = ExtResource("9_2o6r5")
2026-03-09 16:10:35 +03:00
theme_override_font_sizes/normal_font_size = 42
2026-03-30 00:48:20 +03:00
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
2026-03-09 16:10:35 +03:00
text = "Stars"
2026-03-30 00:48:20 +03:00
horizontal_alignment = 1
2026-03-09 16:10:35 +03:00
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=358659431 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Stars" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1969457639]
custom_minimum_size = Vector2(1080, 1024)
2026-03-05 20:13:45 +03:00
layout_mode = 2
2026-03-09 16:10:35 +03:00
[node name="StructurePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=435979853]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=414749774]
custom_minimum_size = Vector2(0, 736)
layout_mode = 2
size_flags_vertical = 3
2026-03-30 00:48:20 +03:00
theme_override_fonts/normal_font = ExtResource("6_wse8f")
theme_override_fonts/bold_font = ExtResource("7_ic0uy")
theme_override_fonts/bold_italics_font = ExtResource("8_k3n1d")
theme_override_fonts/italics_font = ExtResource("9_2o6r5")
2026-03-09 16:10:35 +03:00
theme_override_font_sizes/normal_font_size = 42
2026-03-30 00:48:20 +03:00
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
2026-03-09 16:10:35 +03:00
text = "Structures"
2026-03-30 00:48:20 +03:00
horizontal_alignment = 1
2026-03-09 16:10:35 +03:00
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=342730054 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Structures" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=1126505300]
custom_minimum_size = Vector2(1080, 1024)
2026-03-05 20:13:45 +03:00
layout_mode = 2
2026-03-09 16:10:35 +03:00
[node name="LifePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1519563846]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=454792539]
custom_minimum_size = Vector2(0, 736)
2026-03-05 20:13:45 +03:00
layout_mode = 2
2026-03-09 16:10:35 +03:00
size_flags_vertical = 3
2026-03-30 00:48:20 +03:00
theme_override_fonts/normal_font = ExtResource("6_wse8f")
theme_override_fonts/bold_font = ExtResource("7_ic0uy")
theme_override_fonts/bold_italics_font = ExtResource("8_k3n1d")
theme_override_fonts/italics_font = ExtResource("9_2o6r5")
2026-03-09 16:10:35 +03:00
theme_override_font_sizes/normal_font_size = 42
2026-03-30 00:48:20 +03:00
theme_override_font_sizes/bold_font_size = 54
theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true
2026-03-09 16:10:35 +03:00
text = "Planets"
2026-03-30 00:48:20 +03:00
horizontal_alignment = 1
2026-03-09 16:10:35 +03:00
[node name="Border" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=335602062 instance=ExtResource("28_o3ebs")]
layout_mode = 2
2026-03-30 00:48:20 +03:00
[node name="Planets" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=1203503863]
custom_minimum_size = Vector2(1080, 1024)
2026-03-09 16:10:35 +03:00
layout_mode = 2
2026-03-30 00:48:20 +03:00
[node name="Life" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=2090564849]
2026-03-09 16:10:35 +03:00
custom_minimum_size = Vector2(1080, 512)
2026-03-30 00:48:20 +03:00
anchors_preset = 0
offset_right = 1080.0
offset_bottom = 512.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="LivingPlanet" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=678651682]
2026-03-09 16:10:35 +03:00
visible = false
custom_minimum_size = Vector2(1080, 512)
2026-03-30 00:48:20 +03:00
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="Civ0" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=7201092]
2026-03-09 16:10:35 +03:00
visible = false
custom_minimum_size = Vector2(1080, 512)
2026-03-30 00:48:20 +03:00
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="Civ1" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=986637561]
2026-03-09 16:10:35 +03:00
visible = false
custom_minimum_size = Vector2(1080, 512)
2026-03-30 00:48:20 +03:00
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="Civ2" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=323991195]
2026-03-09 16:10:35 +03:00
visible = false
custom_minimum_size = Vector2(1080, 512)
2026-03-30 00:48:20 +03:00
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="Civ3" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=289902942]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-09 16:10:35 +03:00
2026-03-30 00:48:20 +03:00
[node name="Civ4" type="Control" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/Planets" unique_id=19783669]
visible = false
custom_minimum_size = Vector2(1080, 512)
anchors_preset = 0
offset_top = 512.0
offset_right = 1080.0
offset_bottom = 1024.0
2026-03-05 20:13:45 +03:00
[node name="CommandProcessor" type="Node" parent="." unique_id=2069361293]
2025-11-20 10:02:20 +03:00
script = ExtResource("5_036b0")
2026-03-05 20:13:45 +03:00
[connection signal="button_pressed" from="Stage/StageRows/TopMenu" to="CommandProcessor" method="print_smth"]