Fix offshore targets for WW2 factions.

This makes the oil platform a required building so that all factions can
use it. Alternatively, we could pick a different offshore target for WW2
factions, or gracefully degrade to not generating these targets for WW2
factions. This approach seems to best match the designer's intent.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2322.
This commit is contained in:
Dan Albert 2022-10-09 18:57:31 -07:00 committed by Raffson
parent 33ae428506
commit 0135e40f1a
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -1,10 +1,12 @@
import inspect import inspect
import dcs import dcs
REQUIRED_BUILDINGS = [ REQUIRED_BUILDINGS = [
"ammo", "ammo",
"factory", "factory",
"fob", "fob",
"oil",
] ]
IADS_BUILDINGS = [ IADS_BUILDINGS = [
@ -15,7 +17,6 @@ IADS_BUILDINGS = [
DEFAULT_AVAILABLE_BUILDINGS = [ DEFAULT_AVAILABLE_BUILDINGS = [
"fuel", "fuel",
"oil",
"ware", "ware",
"farp", "farp",
"derrick", "derrick",