-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.py
36 lines (31 loc) · 1.78 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import os
from system.constants import SpecialRulesType, SystemSettingsKeys, GameImportSpecs
from util.generate_util import get_random_bs_id
default_system = 'moreus-heresy'
default_data_directory = os.getenv("DEFAULT_DATA_DIRECTORY", os.path.expanduser("~/BattleScribe/data/"))
default_settings = {
SystemSettingsKeys.SPECIAL_RULE_TYPE: SpecialRulesType.RULE,
SystemSettingsKeys.WEAPON_AS_DESCRIPTION: False,
SystemSettingsKeys.GAME_IMPORT_SPEC: GameImportSpecs.HERESY
}
name_synonyms = {
"Corpus Skitarii": "The Corpus Skitarii",
"Nuncio Vox": "Nuncio-Vox"
}
# These force org links should only be used once per entry. Not the cleanest way of doing this but it works.
hq_force_org = \
f"""<categoryLink targetId="4f85-eb33-30c9-8f51" id="{get_random_bs_id()}" primary="true" name="HQ:"/>"""
elites_force_org = \
f"""<categoryLink targetId="7aee-565f-b0ae-294e" id="{get_random_bs_id()}" primary="true" name="Elites:"/>"""
troops_force_org = \
f"""<categoryLink targetId="9b5d-fac7-799b-d7e7" id="{get_random_bs_id()}" primary="true" name="Troops:"/>"""
fast_attack_force_org = \
f"""<categoryLink targetId="20ef-cd01-a8da-376e" id="{get_random_bs_id()}" primary="true" name="Fast Attack:"/>"""
heavy_support_force_org = \
f"""<categoryLink targetId="7031-469a-1aeb-eab0" id="{get_random_bs_id()}" primary="true" name="Heavy Support:"/>"""
fortification_force_org = \
f"""<categoryLink targetId="a24f-12d8-36c1-f477" id="{get_random_bs_id()}" primary="true" name="Fortification:"/>"""
lords_of_war_force_org = \
f"""<categoryLink targetId="c658-dc6b-727b-c488" id="{get_random_bs_id()}" primary="true" name="Lords of War:"/>"""
primarch_force_org = \
f"""<categoryLink targetId="ad5f-31db-8bc7-5c46" id="{get_random_bs_id()}" primary="true" name="Primarch:"/>"""