mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixing warehouse stuff
This commit is contained in:
parent
65e529aa55
commit
1b757ec544
@ -859,15 +859,15 @@ class HelipadGenerator:
|
|||||||
else:
|
else:
|
||||||
cull_farp_statics = False
|
cull_farp_statics = False
|
||||||
|
|
||||||
if not cull_farp_statics:
|
warehouse = Airport(
|
||||||
warehouse = Airport(
|
pad.position,
|
||||||
pad.position,
|
self.m.terrain,
|
||||||
self.m.terrain,
|
).dict()
|
||||||
).dict()
|
warehouse["coalition"] = "blue" if self.cp.coalition.player else "red"
|
||||||
warehouse["coalition"] = "blue" if self.cp.coalition.player else "red"
|
# configure dynamic spawn + hot start of DS, plus dynamic cargo?
|
||||||
# configure dynamic spawn + hot start of DS, plus dynamic cargo?
|
self.m.warehouses.warehouses[pad.id] = warehouse
|
||||||
self.m.warehouses.warehouses[pad.id] = warehouse
|
|
||||||
|
|
||||||
|
if not cull_farp_statics:
|
||||||
# Generate a FARP Ammo and Fuel stack for each pad
|
# Generate a FARP Ammo and Fuel stack for each pad
|
||||||
self.m.static_group(
|
self.m.static_group(
|
||||||
country=country,
|
country=country,
|
||||||
@ -986,6 +986,14 @@ class GroundSpawnRoadbaseGenerator:
|
|||||||
else:
|
else:
|
||||||
cull_farp_statics = False
|
cull_farp_statics = False
|
||||||
|
|
||||||
|
warehouse = Airport(
|
||||||
|
pad.position,
|
||||||
|
self.m.terrain,
|
||||||
|
).dict()
|
||||||
|
warehouse["coalition"] = "blue" if self.cp.coalition.player else "red"
|
||||||
|
# configure dynamic spawn + hot start of DS, plus dynamic cargo?
|
||||||
|
self.m.warehouses.warehouses[pad.id] = warehouse
|
||||||
|
|
||||||
if not cull_farp_statics:
|
if not cull_farp_statics:
|
||||||
# Generate ammo truck/farp and fuel truck/stack for each pad
|
# Generate ammo truck/farp and fuel truck/stack for each pad
|
||||||
if self.game.settings.ground_start_trucks_roadbase:
|
if self.game.settings.ground_start_trucks_roadbase:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user