forked from hadorganization/geheimnisnacht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wh_racial_decisions.txt
185 lines (183 loc) · 3.2 KB
/
wh_racial_decisions.txt
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
#
# Those decisions are used for enforcing racial system
decisions = {
ai_race_trait_check = {
potential = {
#ai = yes
is_demon_trigger = no
nor = {
trait = creature_human
trait = creature_amazon
trait = creature_elf
trait = creature_dwarf
trait = creature_chaos_dwarf
trait = creature_halfling
trait = creature_orc
trait = creature_goblin
trait = creature_snotling
trait = creature_nehekharan
trait = creature_skink
trait = creature_saurus
trait = creature_slann
trait = creature_skaven
trait = creature_forestspirit
trait = creature_treekin
trait = creature_beastman
trait = creature_ogre
trait = creature_chaosspawn
trait = vampire_carstein_visible
trait = vampire_lahmian_visible
trait = creature_celdragon
}
}
allow = {
}
effect = {
log = "work decision ai_race_trait_check for [Root.GetBestName]"
character_event = {
id = wh_maintenance.51
}
}
ai_will_do = {
factor = 1
}
}
# Lizardmen
# ai_dynasty_lizardman = {
# potential = {
# ai = yes
# OR = {
# trait = creature_amazon
# graphical_culture = lizardmangfx
# }
# dynasty = 0
# }
# allow = {
# always = no
# }
# effect = {
# log = "work decision ai_dynasty_lizardman [This.GetBestName]"
# any_spouse = {
# remove_spouse = ROOT
# }
# character_event = {
# id = slizardmen.81
# }
# }
# ai_will_do = {
# factor = 1
# }
# }
ai_intermarriage_fix = {
potential = {
ai = yes
spouse = {
is_alive = yes
}
OR = {
spouse = {
cannot_marry_race_trigger = yes
}
nor = {
AND = {
spouse = { ai = no }
has_global_flag = optionB
}
# beastmen can hybridize with everyone else
spouse = {
trait = creature_beastman
}
trait = creature_beastman
# human
and = {
spouse = {
trait = creature_human
}
trait = creature_human
}
# elf
and = {
spouse = {
trait = creature_elf
}
trait = creature_elf
}
# dwarf
and = {
spouse = {
or = {
trait = creature_dwarf
trait = creature_chaos_dwarf
}
}
or = {
trait = creature_dwarf
trait = creature_chaos_dwarf
}
}
# halfling
and = {
spouse = {
trait = creature_halfling
}
trait = creature_halfling
}
# ogre
and = {
spouse = {
trait = creature_ogre
}
trait = creature_ogre
}
}
}
}
allow = {
}
effect = {
log = "work decision ai_intermarriage_fix for [Root.GetBestName]"
any_spouse = {
remove_spouse = ROOT
}
}
ai_will_do = {
factor = 1
}
}
# Intermarriage fix
ai_intermarriage_fix_elf = {
potential = {
ai = yes
trait = creature_elf
NOR = {
trait = elven_scion
trait = elven_maiden
}
age = 12
NOT = {
age = 45
}
is_married = no
}
allow = {
}
effect = {
log = "work decision ai_intermarriage_fix_elf for [Root.GetBestName]"
if = {
limit = {
is_female = yes
}
add_trait = elven_maiden
}
if = {
limit = {
is_female = no
}
add_trait = elven_scion
}
}
ai_will_do = {
factor = 1
}
}
}