Provision transporters with hubs

This commit is contained in:
Loïc Wisniewski 2026-08-15 00:09:10 +02:00
commit d0a9f5b971
21 changed files with 309 additions and 588 deletions

132
Main.tscn
View file

@ -788,8 +788,8 @@ horizontal_alignment = 1
[node name="AvailableInterceptor" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = -250
offset_right = -130
offset_left = -180
offset_right = -60
offset_top = 255
offset_bottom = 375
script = ExtResource("10")
@ -799,8 +799,8 @@ icon = 2
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -300
offset_right = -80
offset_left = -250
offset_right = 10
offset_top = 380
offset_bottom = 460
theme_override_font_sizes/font_size = 22
@ -809,8 +809,8 @@ horizontal_alignment = 1
[node name="AvailableShield" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = -60
offset_right = 60
offset_left = 60
offset_right = 180
offset_top = 255
offset_bottom = 375
script = ExtResource("10")
@ -821,30 +821,8 @@ glow_color = Color(0.45, 0.8, 1, 1)
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -110
offset_right = 110
offset_top = 380
offset_bottom = 460
theme_override_font_sizes/font_size = 22
horizontal_alignment = 1
[node name="AvailableTransporter" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = 130
offset_left = -10
offset_right = 250
offset_top = 255
offset_bottom = 375
script = ExtResource("10")
icon = 12
glow_color = Color(0.95, 0.55, 0.85, 1)
[node name="AvailableTransporterLabel" type="Label" parent="UI/HangarMenu"]
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = 80
offset_right = 300
offset_top = 380
offset_bottom = 460
theme_override_font_sizes/font_size = 22
@ -862,8 +840,8 @@ horizontal_alignment = 1
[node name="FleetInterceptor" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = -250
offset_right = -130
offset_left = -180
offset_right = -60
offset_top = 565
offset_bottom = 685
script = ExtResource("10")
@ -873,8 +851,8 @@ icon = 2
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -300
offset_right = -80
offset_left = -250
offset_right = 10
offset_top = 690
offset_bottom = 770
theme_override_font_sizes/font_size = 22
@ -883,8 +861,8 @@ horizontal_alignment = 1
[node name="FleetShield" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = -60
offset_right = 60
offset_left = 60
offset_right = 180
offset_top = 565
offset_bottom = 685
script = ExtResource("10")
@ -895,30 +873,8 @@ glow_color = Color(0.45, 0.8, 1, 1)
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -110
offset_right = 110
offset_top = 690
offset_bottom = 770
theme_override_font_sizes/font_size = 22
horizontal_alignment = 1
[node name="FleetTransporter" type="Control" parent="UI/HangarMenu"]
anchor_left = 0.5
anchor_right = 0.5
offset_left = 130
offset_left = -10
offset_right = 250
offset_top = 565
offset_bottom = 685
script = ExtResource("10")
icon = 12
glow_color = Color(0.95, 0.55, 0.85, 1)
[node name="FleetTransporterLabel" type="Label" parent="UI/HangarMenu"]
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = 80
offset_right = 300
offset_top = 690
offset_bottom = 770
theme_override_font_sizes/font_size = 22
@ -1290,10 +1246,10 @@ anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -234
offset_right = -86
offset_top = 60
offset_bottom = 208
offset_left = -220
offset_right = -72
offset_top = -100
offset_bottom = 48
script = ExtResource("10")
icon = 2
@ -1303,51 +1259,23 @@ anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -300
offset_right = -20
offset_top = 216
offset_bottom = 296
offset_left = -290
offset_right = -2
offset_top = 56
offset_bottom = 136
theme_override_font_sizes/font_size = 32
text = "Interceptor"
horizontal_alignment = 1
[node name="TransporterButton" type="Control" parent="UI/CraftMenu"]
anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 86
offset_right = 234
offset_top = 60
offset_bottom = 208
script = ExtResource("10")
icon = 12
glow_color = Color(0.95, 0.55, 0.85, 1)
[node name="TransporterLabel" type="Label" parent="UI/CraftMenu"]
mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 20
offset_right = 300
offset_top = 216
offset_bottom = 296
theme_override_font_sizes/font_size = 32
autowrap_mode = 2
text = "Transporter"
horizontal_alignment = 1
[node name="ShieldButton" type="Control" parent="UI/CraftMenu"]
anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -74
offset_right = 74
offset_top = -200
offset_bottom = -52
offset_left = 72
offset_right = 220
offset_top = -100
offset_bottom = 48
script = ExtResource("10")
icon = 2
glow_color = Color(0.45, 0.8, 1, 1)
@ -1358,10 +1286,10 @@ anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -160
offset_right = 160
offset_top = -44
offset_bottom = 16
offset_left = 2
offset_right = 290
offset_top = 56
offset_bottom = 136
theme_override_font_sizes/font_size = 32
autowrap_mode = 2
text = "Shield Vessel"