脚本效果
event_illustration_nobility_estate_of_rival_effect
贵族阶层if定义in_game/common/scripted_effects/00_event_illustration_effects.txt:215
216if = {
217limit = {
218OR = {
219AND = {
220scope_type = location
221owner ?= {
221is_ai = no
}
}
223AND = {
224scope_type = country
225is_ai = no
}
}
}
229if = {
230limit = {
231num_rivals > 0
}
233random_rival = {
234random_pop = {
235weight = {
236base = 1
237modifier = {
238add = pop_character_chance
}
}
244save_scope_as = target_pop
245save_scope_as = target_pop_bckg
}
}
}
249else = {
250random_pop = {
251weight = {
252base = 1
253modifier = {
254add = pop_character_chance
}
}
260save_scope_as = target_pop
261save_scope_as = target_pop_bckg
}
}
}