Effet scripté

select_suitable_patriarch

select_suitable_patriarchin_game/common/scripted_effects/on_action_effects.txt:319
RequiertClergéOrdreifis_patriarchVariableifis_pentarchVariableif

Dé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 = {
333type = autocephalous_patriarchate
}
}
}
336has_variable = is_patriarch
}
338NOT = {
338has_variable = is_pentarch
}
}
340trigger_else = {
341NOT = {
341has_variable = is_patriarch
}
}
}
}
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 = {
357type = autocephalous_patriarchate
}
}
}
360has_variable = is_patriarch
}
362NOT = {
362has_variable = is_pentarch
}
}
364trigger_else = {
365NOT = {
365has_variable = is_patriarch
}
}
}
368save_scope_as = target_patriarch
}
}
371else = {
372create_character = {
373religion = this.religion
375age = {
40
50
}
376save_scope_as = target_patriarch
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales