From 207d56c2e97e19f294de978a05639ce28ebd5a80 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sun, 9 Oct 2022 18:57:31 -0700 Subject: [PATCH] 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. --- game/data/building_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game/data/building_data.py b/game/data/building_data.py index 780c8646..d50c6c0f 100644 --- a/game/data/building_data.py +++ b/game/data/building_data.py @@ -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",