Files
g-world/scenes/game/vault.tscn
T

220 lines
8.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gd_scene format=3 uid="uid://dprxap0ioe3ps"]
[ext_resource type="Script" uid="uid://lsclvc1dgviq" path="res://scripts/game/vault_scene.gd" id="1_o8yry"]
[ext_resource type="Script" uid="uid://ddaqvur2yl61c" path="res://scripts/game/sky_view.gd" id="2_lffpp"]
[ext_resource type="Script" uid="uid://bvimo3kgmefgf" path="res://scripts/game/vault_view.gd" id="2_mkhle"]
[ext_resource type="Script" uid="uid://c4c36o4o35gqw" path="res://scripts/game/surface_view.gd" id="3_lvdr8"]
[ext_resource type="Script" uid="uid://dg751mcd0v178" path="res://scripts/game/vault_camera.gd" id="3_x7j0k"]
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="4_sch52"]
[ext_resource type="PackedScene" uid="uid://cvx4ot7ugyprk" path="res://scenes/ui/pause_menu.tscn" id="5_lffpp"]
[ext_resource type="Script" uid="uid://7wstqw8ve2he" path="res://scripts/game/game_clock.gd" id="6_mkhle"]
[ext_resource type="Script" uid="uid://dpifh4u0gmgxw" path="res://scripts/ui/weather_icon.gd" id="7_lvdr8"]
[ext_resource type="Script" uid="uid://by1cwvs3fc3pa" path="res://scripts/game/weather_system.gd" id="9_m0p8k"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lvdr8"]
content_margin_left = 22.0
content_margin_top = 12.0
content_margin_right = 22.0
content_margin_bottom = 12.0
bg_color = Color(0.043137256, 0.07450981, 0.13333334, 0.8784314)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.18039216, 0.9019608, 0.77254903, 0.2)
corner_radius_top_left = 12
corner_radius_top_right = 12
corner_radius_bottom_right = 12
corner_radius_bottom_left = 12
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m0p8k"]
content_margin_left = 20.0
content_margin_top = 14.0
content_margin_right = 20.0
content_margin_bottom = 12.0
bg_color = Color(0.043137256, 0.07450981, 0.13333334, 0.9019608)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.18039216, 0.9019608, 0.77254903, 0.2)
corner_radius_top_left = 14
corner_radius_top_right = 14
corner_radius_bottom_right = 14
corner_radius_bottom_left = 14
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mkhle"]
content_margin_left = 14.0
content_margin_top = 8.0
content_margin_right = 14.0
content_margin_bottom = 8.0
bg_color = Color(0.043137256, 0.07450981, 0.13333334, 0.8784314)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.18039216, 0.9019608, 0.77254903, 0.2)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[node name="Vault" type="Node2D" unique_id=1382797618]
script = ExtResource("1_o8yry")
[node name="Sky" type="Node2D" parent="." unique_id=1428657021]
script = ExtResource("2_lffpp")
[node name="Surface" type="Node2D" parent="." unique_id=320825958]
script = ExtResource("3_lvdr8")
[node name="View" type="Node2D" parent="." unique_id=1238774489]
script = ExtResource("2_mkhle")
[node name="Camera" type="Camera2D" parent="." unique_id=702468079]
script = ExtResource("3_x7j0k")
[node name="Hud" type="CanvasLayer" parent="." unique_id=1492666604]
[node name="Root" type="Control" parent="Hud" unique_id=344458851]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource("4_sch52")
[node name="TopBar" type="PanelContainer" parent="Hud/Root" unique_id=54306824]
layout_mode = 0
offset_left = 36.0
offset_top = 36.0
offset_right = 36.0
offset_bottom = 36.0
theme_override_styles/panel = SubResource("StyleBoxFlat_lvdr8")
[node name="Stats" type="HBoxContainer" parent="Hud/Root/TopBar" unique_id=1335064924]
layout_mode = 2
theme_override_constants/separation = 34
[node name="BottomAnchor" type="MarginContainer" parent="Hud/Root" unique_id=1579352404]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme_override_constants/margin_left = 36
theme_override_constants/margin_top = 36
theme_override_constants/margin_right = 36
theme_override_constants/margin_bottom = 36
[node name="Row" type="HBoxContainer" parent="Hud/Root/BottomAnchor" unique_id=1936091014]
layout_mode = 2
mouse_filter = 2
alignment = 1
[node name="BuildBar" type="PanelContainer" parent="Hud/Root/BottomAnchor/Row" unique_id=2023620303]
layout_mode = 2
size_flags_vertical = 8
theme_override_styles/panel = SubResource("StyleBoxFlat_m0p8k")
[node name="Panel" type="VBoxContainer" parent="Hud/Root/BottomAnchor/Row/BuildBar" unique_id=1051865182]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Tools" type="HBoxContainer" parent="Hud/Root/BottomAnchor/Row/BuildBar/Panel" unique_id=375147046]
layout_mode = 2
theme_override_constants/separation = 8
alignment = 1
[node name="Status" type="Label" parent="Hud/Root/BottomAnchor/Row/BuildBar/Panel" unique_id=1253597500]
layout_mode = 2
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
theme_override_font_sizes/font_size = 15
horizontal_alignment = 1
[node name="TopRight" type="MarginContainer" parent="Hud/Root" unique_id=417759891]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme_override_constants/margin_left = 36
theme_override_constants/margin_top = 36
theme_override_constants/margin_right = 36
theme_override_constants/margin_bottom = 36
[node name="Row" type="HBoxContainer" parent="Hud/Root/TopRight" unique_id=705018436]
layout_mode = 2
size_flags_vertical = 0
mouse_filter = 2
alignment = 2
[node name="ClockBar" type="PanelContainer" parent="Hud/Root/TopRight/Row" unique_id=2028708536]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_mkhle")
[node name="Body" type="VBoxContainer" parent="Hud/Root/TopRight/Row/ClockBar" unique_id=220234733]
layout_mode = 2
theme_override_constants/separation = 6
[node name="Climate" type="HBoxContainer" parent="Hud/Root/TopRight/Row/ClockBar/Body" unique_id=1529257714]
layout_mode = 2
theme_override_constants/separation = 8
alignment = 2
[node name="Icon" type="Control" parent="Hud/Root/TopRight/Row/ClockBar/Body/Climate" unique_id=788552715]
custom_minimum_size = Vector2(22, 22)
layout_mode = 2
size_flags_vertical = 4
script = ExtResource("7_lvdr8")
[node name="WeatherLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Climate" unique_id=214206235]
layout_mode = 2
theme_override_colors/font_color = Color(0.7764706, 0.83137256, 0.8784314, 1)
theme_override_font_sizes/font_size = 14
text = "Ясно"
vertical_alignment = 1
[node name="TempLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Climate" unique_id=663157161]
layout_mode = 2
theme_override_colors/font_color = Color(0.9490196, 0.69411767, 0.20392157, 1)
theme_override_font_sizes/font_size = 14
text = "8°C"
vertical_alignment = 1
[node name="WindLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Climate" unique_id=298035379]
layout_mode = 2
theme_override_colors/font_color = Color(0.48235294, 0.56078434, 0.6392157, 1)
theme_override_font_sizes/font_size = 14
text = "2 м/с"
vertical_alignment = 1
[node name="Moment" type="HBoxContainer" parent="Hud/Root/TopRight/Row/ClockBar/Body" unique_id=195744038]
layout_mode = 2
theme_override_constants/separation = 10
alignment = 2
[node name="DateLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Moment" unique_id=1045252723]
layout_mode = 2
theme_override_colors/font_color = Color(0.56078434, 0.64705884, 0.7294118, 1)
theme_override_font_sizes/font_size = 14
text = "1 апреля 2012"
vertical_alignment = 1
[node name="TimeLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Moment" unique_id=686404941]
layout_mode = 2
theme_override_colors/font_color = Color(0.18039216, 0.9019608, 0.77254903, 1)
theme_override_font_sizes/font_size = 20
text = "06:00"
[node name="Controls" type="HBoxContainer" parent="Hud/Root/TopRight/Row/ClockBar/Body" unique_id=278368540]
layout_mode = 2
theme_override_constants/separation = 4
alignment = 2
[node name="PauseMenu" parent="." unique_id=1649378803 instance=ExtResource("5_lffpp")]
[node name="Clock" type="Node" parent="." unique_id=1353564659]
script = ExtResource("6_mkhle")
[node name="Weather" type="Node" parent="." unique_id=1790958949]
script = ExtResource("9_m0p8k")