Character Interaction

Prefection

prefectionin_game/common/character_interactions/prefection.txt:1

The Character will be promoted to the status of praefecta—a Legal Male—allowing her to be an eligible Heir under certain conditions and granting access to niche interactions which are limited to male characters.

RequiresHungarianCulturepotentialCrownEstateselect triggerNobilityEstateselect triggerMonarchyGovernment TypepotentialPrefection StatusStatic Modifierselect trigger

2on_own_nation = yes
4message = yes
7potential = {
8scope:actor = {
9government_type = government_type:monarchy
10culture = culture:hungarian
}
}
14ai_tick = daily
15ai_tick_frequency = 10
17allow = {
18scope:actor = {
19estate_power(estate_type:crown_estate) >= 0.5
}
}
23select_trigger = {
24looking_for_a = character
25source = actor
26target_flag = recipient
27name = "choose_character" Choose the Character:
28column = {
29data = name
}
31visible = {
32is_alive = yes
33is_female = yes
}
35enabled = {
36is_adult = yes
37is_consort = no
38OR = {
}
42not = {
42has_character_modifier = prefection_modifier
}
}
}
46effect = {
47scope:actor = {
48add_government_power = government_power_extreme_penalty (-10)
49add_estate_satisfaction = {
}
}
51scope:recipient = {
51add_character_modifier = {
51modifier = prefection_modifier
51years = -1
51mode = add_and_extend
}
}
}
54ai_will_do = {
58add = {
59value = scope:recipient.total_abilities
60subtract = 250
}
63add = {
64value = scope:actor.estate_satisfaction:nobles_estate
66subtract = 1
69multiply = 50
}
72add = {
73value = scope:actor.estate_satisfaction:nobles_estate
75subtract = 1
78multiply = 50
}
81add = {
82if = {
83limit = {
84scope:recipient = {
85OR = {
86is_general = yes
87is_admiral = yes
}
}
}
91value = 30
}
}
95add = {
96if = {
97limit = {
98scope:recipient = {
99OR = {
100has_trait_category = general
101has_trait_category = admiral
}
}
}
105value = 30
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. About · Privacy · Legal notice