Move faction cache out of db.py.

This commit is contained in:
Dan Albert
2022-02-18 17:58:34 -08:00
parent 36f74ae0a9
commit b4742ad54c
8 changed files with 31 additions and 31 deletions

View File

@@ -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

View File

@@ -0,0 +1,4 @@
from .faction import Faction
from .faction_loader import FactionLoader
FACTIONS = FactionLoader()