Implement weather system and developer console features. Added functionality for setting weather conditions, temperature, and wind speed through a new developer console. Enhanced the vault scene to display current weather, temperature, and wind information, and updated game clock to allow time manipulation. Improved cloud rendering and introduced a new climate management system for seasonal temperature adjustments.
This commit is contained in:
+33
-7
@@ -8,6 +8,7 @@
|
||||
[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"]
|
||||
@@ -154,18 +155,43 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_mkhle")
|
||||
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="WeatherLabel" type="Label" parent="Hud/Root/TopRight/Row/ClockBar/Body/Moment" unique_id=895640468]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.48235294, 0.56078434, 0.6392157, 1)
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Ясно"
|
||||
vertical_alignment = 1
|
||||
|
||||
[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)
|
||||
|
||||
Reference in New Issue
Block a user