forked from dcs-liberation/dcs_liberation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
222 changed files
with
8,451 additions
and
4,478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,70 @@ | ||
import inspect | ||
import dcs | ||
|
||
DEFAULT_AVAILABLE_BUILDINGS = ['fuel', 'ammo', 'comms', 'oil', 'ware', 'farp', 'fob', 'power', 'factory', 'derrick'] | ||
DEFAULT_AVAILABLE_BUILDINGS = [ | ||
"fuel", | ||
"ammo", | ||
"comms", | ||
"oil", | ||
"ware", | ||
"farp", | ||
"fob", | ||
"power", | ||
"factory", | ||
"derrick", | ||
] | ||
|
||
WW2_FREE = ['fuel', 'factory', 'ware', 'fob'] | ||
WW2_GERMANY_BUILDINGS = ['fuel', 'factory', 'ww2bunker', 'ww2bunker', 'ww2bunker', 'allycamp', 'allycamp', 'fob'] | ||
WW2_ALLIES_BUILDINGS = ['fuel', 'factory', 'allycamp', 'allycamp', 'allycamp', 'allycamp', 'allycamp', 'fob'] | ||
WW2_FREE = ["fuel", "factory", "ware", "fob"] | ||
WW2_GERMANY_BUILDINGS = [ | ||
"fuel", | ||
"factory", | ||
"ww2bunker", | ||
"ww2bunker", | ||
"ww2bunker", | ||
"allycamp", | ||
"allycamp", | ||
"fob", | ||
] | ||
WW2_ALLIES_BUILDINGS = [ | ||
"fuel", | ||
"factory", | ||
"allycamp", | ||
"allycamp", | ||
"allycamp", | ||
"allycamp", | ||
"allycamp", | ||
"fob", | ||
] | ||
|
||
FORTIFICATION_BUILDINGS = ['Siegfried Line', 'Concertina wire', 'Concertina Wire', 'Czech hedgehogs 1', 'Czech hedgehogs 2', | ||
'Dragonteeth 1', 'Dragonteeth 2', 'Dragonteeth 3', 'Dragonteeth 4', 'Dragonteeth 5', | ||
'Haystack 1', 'Haystack 2', 'Haystack 3', 'Haystack 4', 'Hemmkurvenvenhindernis', | ||
'Log posts 1', 'Log posts 2', 'Log posts 3', 'Log ramps 1', 'Log ramps 2', 'Log ramps 3', | ||
'Belgian Gate', 'Container white'] | ||
FORTIFICATION_BUILDINGS = [ | ||
"Siegfried Line", | ||
"Concertina wire", | ||
"Concertina Wire", | ||
"Czech hedgehogs 1", | ||
"Czech hedgehogs 2", | ||
"Dragonteeth 1", | ||
"Dragonteeth 2", | ||
"Dragonteeth 3", | ||
"Dragonteeth 4", | ||
"Dragonteeth 5", | ||
"Haystack 1", | ||
"Haystack 2", | ||
"Haystack 3", | ||
"Haystack 4", | ||
"Hemmkurvenvenhindernis", | ||
"Log posts 1", | ||
"Log posts 2", | ||
"Log posts 3", | ||
"Log ramps 1", | ||
"Log ramps 2", | ||
"Log ramps 3", | ||
"Belgian Gate", | ||
"Container white", | ||
] | ||
|
||
FORTIFICATION_UNITS = [c for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c)] | ||
FORTIFICATION_UNITS_ID = [c.id for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c)] | ||
FORTIFICATION_UNITS = [ | ||
c for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c) | ||
] | ||
FORTIFICATION_UNITS_ID = [ | ||
c.id for c in vars(dcs.vehicles.Fortification).values() if inspect.isclass(c) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.