Add gas giant resource system

This commit is contained in:
Loïc Wisniewski 2026-08-13 21:07:35 +02:00
commit fc68c4e8cf
9 changed files with 180 additions and 10 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=21 format=3]
[gd_scene load_steps=22 format=3]
[ext_resource type="Script" path="res://Starfield.gd" id="1"]
[ext_resource type="Script" path="res://Fleet.gd" id="2"]
@ -23,6 +23,7 @@
[ext_resource type="Script" path="res://CargoCounter.gd" id="22"]
[ext_resource type="Script" path="res://TransporterField.gd" id="23"]
[ext_resource type="Script" path="res://ResourceBar.gd" id="24"]
[ext_resource type="Script" path="res://GasCounter.gd" id="25"]
[sub_resource type="ShaderMaterial" id="1"]
shader = ExtResource("5")
@ -91,6 +92,34 @@ offset_bottom = 92
script = ExtResource("16")
digit_height = 60.0
[node name="OreCaption" type="Label" parent="UI"]
mouse_filter = 2
offset_left = 28
offset_top = 22
offset_right = 120
offset_bottom = 48
theme_override_font_sizes/font_size = 18
text = "ORE"
[node name="GasCounter" type="Control" parent="UI"]
mouse_filter = 2
offset_left = 336
offset_top = 24
offset_right = 628
offset_bottom = 92
script = ExtResource("25")
digit_height = 60.0
[node name="GasCaption" type="Label" parent="UI"]
mouse_filter = 2
offset_left = 336
offset_top = 22
offset_right = 428
offset_bottom = 48
theme_override_font_sizes/font_size = 18
theme_override_colors/font_color = Color(0.85, 0.52, 1, 1)
text = "GAS"
[node name="CargoCounter" type="Control" parent="UI"]
mouse_filter = 2
offset_left = 28