mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move faction cache out of db.py.
This commit is contained in:
@@ -27,7 +27,6 @@ from dcs.vehicles import (
|
||||
)
|
||||
|
||||
# PATCH pydcs data with MODS
|
||||
from game.factions.faction_loader import FactionLoader
|
||||
|
||||
"""
|
||||
---------- BEGINNING OF CONFIGURATION SECTION
|
||||
@@ -55,12 +54,6 @@ For example, player accessible Hornet is called `FA_18C_hornet`, and MANPAD Igla
|
||||
# to be cheap enough to repair with a single turn's income.
|
||||
RUNWAY_REPAIR_COST = 100
|
||||
|
||||
"""
|
||||
Units separated by country.
|
||||
country : DCS Country name
|
||||
"""
|
||||
FACTIONS = FactionLoader()
|
||||
|
||||
"""
|
||||
Possible time periods for new games
|
||||
|
||||
|
||||
4
game/factions/__init__.py
Normal file
4
game/factions/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from .faction import Faction
|
||||
from .faction_loader import FactionLoader
|
||||
|
||||
FACTIONS = FactionLoader()
|
||||
Reference in New Issue
Block a user