Effet scripté
select_suitable_patriarch
ClergéOrdreifis_patriarchVariableifis_pentarchVariableifDéfinitionin_game/common/scripted_effects/on_action_effects.txt:319
320if = {
321limit = {
322any_character = {
323is_adult = yes
324is_female = no
326religion = prev.religion
327is_artist = no
328trigger_if = {
329limit = {
329$pentarchy$ = yes
}
330trigger_if = {
331limit = {
332prev = {
}
}
}
}
}
}
345random_character = {
346limit = {
347is_adult = yes
348is_female = no
350religion = prev.religion
351is_artist = no
352trigger_if = {
353limit = {
353$pentarchy$ = yes
}
354trigger_if = {
355limit = {
356prev = {
}
}
}
}
}
368save_scope_as = target_patriarch
}
}
371else = {
372create_character = {
373religion = this.religion
375age = {
40
50
}
376save_scope_as = target_patriarch
}
}