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 dcs
REQUIRED_BUILDINGS = [
"ammo",
"factory",
"fob",
"oil",
]
IADS_BUILDINGS = [
@ -15,7 +17,6 @@ IADS_BUILDINGS = [
DEFAULT_AVAILABLE_BUILDINGS = [
"fuel",
"oil",
"ware",
"farp",
"derrick",