角色互动本版本变更

与出身卑微者结婚

marry_lowbornin_game/common/character_interactions/marry_lowborn.txt:1

该角色会与一位出身卑微的角色结婚。

需要贵族阶层effect神权国政体allow, potential执政团选举制继承法potential禁止与出身卑微角色结婚修正类型select triggerGame Concept Royal Marriages修正类型potential教士角色不能结婚修正类型allow禁止与出身卑微角色结婚修正类型allow嫡庶制政策effect尼卡罕政策effect一夫多妻制政策effect因蒂崇拜宗教effect基督教宗教组allow

3sound = UI_action_character_marry_lowborn
5is_consort_action = yes
6on_own_nation = yes
8message = yes
11potential = {
12scope:actor = {
}
}
21ai_tick = daily
22ai_tick_frequency = 365
24allow = {
25scope:actor = {
}
}
35select_trigger = {
36looking_for_a = character
37source = actor
38target_flag = recipient
39name = "choose_character" 选择角色:
40column = {
41data = name
}
43visible = {
44is_alive = yes
45is_female = no
}
47enabled = {
48is_eligible_for_royal_marriage = yes
50NOT = {
50has_trait = eunuch
}
51scope:actor.ruler_or_heir_if_regent ?= {
52is_close_relative = root
}
}
}
57ai_will_do = {
59add = {
60if = {
61limit = {
62scope:recipient ?= {
63has_available_marriage_slot = no
}
}
66value = -1000
}
}
72add = {
73if = {
74limit = {
75scope:recipient = {
76is_ruler = yes
}
78scope:actor = {
79legitimacy > 80
}
}
82value = scope:recipient.age_in_years
83subtract = 30
84multiply = 10
}
}
89add = {
90value = scope:recipient.random_integer
91modulo = 1000
92multiply = -10
}
}
96effect = {
97scope:actor = {
98custom_tooltip = "DEBUTANTE_WILL_MARRY" 迎娶一位新的出身卑微女性
99hidden_effect = {
100create_character = {
101religion = scope:recipient.religion
102age = {
16
21
}
103female = yes
104random_estate_type_trigger = {
}
112marry_character = scope:recipient
}
}
115if = {
116limit = {
117NOR = {
118has_policy = muslim_marriage
119has_policy = polygyny
120has_policy = dishu_system
121religion = religion:inti
}
}
124if = {
125limit = {
126scope:recipient = {
127has_dynasty = yes
128OR = {
129is_ruler = yes
130is_heir = yes
}
}
}
134add_legitimacy = legitimacy_mild_penalty (-10)
135add_prestige = prestige_extreme_penalty (-20)
}
137else_if = {
138limit = {
139scope:recipient = {
140has_dynasty = yes
}
}
143add_legitimacy = legitimacy_weak_penalty (-5)
144add_prestige = prestige_mild_penalty (-10)
}
146else_if = {
147limit = {
148scope:recipient = {
}
}
152add_prestige = prestige_weak_penalty (-5)
}
}
155else = {
156add_legitimacy = legitimacy_weak_penalty (-5)
157add_prestige = prestige_weak_penalty (-5)
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明