forked from fboerman/CoTC_Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathencoding.py
98 lines (90 loc) · 2.6 KB
/
encoding.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
__author__ = 'williewonka'
#mostly set per kingdom, if kingdom is not listed than its broken down per duchy if that is not listed then its undefined
#these are set by the original rules, for first time generation. religion and culture in an existing file will always take precedence over these lists
cultures_per_region = {
'Xin Zizhiqu' : 'sino_bianjiangese',
'Bianjiang' : 'sino_bianjiangese',
'Orion Reach' : 'hispanic_orion',
'Orion Nebula' : 'hispanic_orion',
'Fire Nebula' : 'hispanic_orion',
'Horsehead Nebula' : 'hispanic_orion',
'Mukta Duniya' : 'indo_mukta',
'The Outer Veil' : 'indo_mukta', #part of the Veil Nebula
'The Remote' : 'indo_tarkan', #part of the Veil Nebula
'Tarka' : 'indo_tarkan',
'Avalon' : 'anglo_avalonian',
'Frontier' : 'anglo_frontiersman',
'New Frontier' : 'anglo_frontiersman',
'Core Witch Head' : 'anglo_frontiersman', #part of witch head nebula
'Lower Witch Head' : 'japanese_tengoku', #part of witch head nebula
'Upper Witch Head' : 'japanese_tengoku', #part of witch head nebula
'Sector Tengoku' : 'japanese_tengoku', #part of The Centauri Reach
'Jion' : 'japanese_tengoku',
'Strugatsky' : 'russo_strugatskite',
'Novyy Edem' : 'russo_edemite',
'Sector Paraiso' : 'arab_samawati',
'Sector Miltia' : 'hispanic_samawati',
'Sector New Jerusalem' : 'hispanic_orion'
}
#same for ideology
ideology_per_region = {
'Orion Reach' : 'colonial_seperatist',
'Mukta Duniya' : 'colonial_seperatist',
'Xin Zizhiqu' : 'colonial_seperatist',
'New Frontier' : 'colonial_seperatist',
'Bianjiang' : 'colonial_seperatist',
'Tarka' : 'cyberneticist',
'Jion' : 'astrist',
'Novyy Edem' : 'astrist',
'Strugatsky' : 'neo_socialist',
'Parasio' : 'pilgrim'
}
Atmosphere = [
'xx_no_atmosphere',
'xx_no_atmosphere_domes',
'xx_artificial_atmosphere',
'xx_toxic_atmosphere',
'xx_toxic_atmosphere_domes',
'xx_scrubbed_atmosphere',
'xx_clean_atmosphere'
]
Temperature = [
'xx_frozen',
'xx_cold',
'xx_cool',
'xx_optimal_cold',
'xx_burning',
'xx_hot',
'xx_warm',
'xx_optimal_hot'
]
Water = [
'xx_no_water',
'xx_trace_water',
'xx_lakes',
'xx_seas',
'xx_oceans'
]
SpaceStation = [
'xx_space_station_0',
'xx_space_station_1',
'xx_space_station_2',
'xx_space_station_3',
'xx_space_station_4'
]
Colony = [
'xx_colony_0',
'xx_colony_1',
'xx_colony_2',
'xx_colony_3',
'xx_colony_4'
]
Asteroids = [
'None',
'xx_asteroids'
]
holding_codes = {
'castle' : 'ca',
'temple' : 'tp',
'city' : 'ct'
}