Implemented ground power trucks for ground spawns. Added settings to turn them off or on.

This commit is contained in:
MetalStormGhost
2023-09-20 00:23:12 +03:00
committed by Raffson
parent 54777a9045
commit d271428f9d
2 changed files with 44 additions and 3 deletions

View File

@@ -768,6 +768,24 @@ class Settings:
default=False,
detail=("Might have a negative performance impact."),
)
ground_start_ground_power_trucks: bool = boolean_option(
"Spawn ground power trucks at ground starts in airbases",
MISSION_GENERATOR_PAGE,
GAMEPLAY_SECTION,
default=True,
detail=(
"Needed to cold-start some aircraft types. Might have a performance impact."
),
)
ground_start_ground_power_trucks_roadbase: bool = boolean_option(
"Spawn ground power trucks at ground starts in roadbases",
MISSION_GENERATOR_PAGE,
GAMEPLAY_SECTION,
default=True,
detail=(
"Needed to cold-start some aircraft types. Might have a performance impact."
),
)
# Performance
perf_smoke_gen: bool = boolean_option(