온 액션

on_character_death

on_character_deathin_game/common/on_action/character_death_pulses.txt:2

root = country, scope:target = character who dies

요구 조건프랑스국가effect무굴창설 국가effect정교회종교effect플뢰리의 부서정적 보정치effect플뢰리 장관정적 보정치effect약혼정적 보정치effectchi_captured_emperor_origin변수effectchinese_treasure_voyage_running변수effectfavored_heir변수effectfavored_in_country변수effecthome_country변수effecthostage_character_country변수effect

정의in_game/common/on_action/character_death_pulses.txt:2

9effect = {
11if = {
12limit = {
13scope:target = {
14has_variable = home_country
}
}
17if = {
18limit = {
19scope:target.var:home_country ?= {
20NOT = {
20this = root
}
}
}
23remove_relation = {
24type = relation_type:support_heir
25first = this
26second = scope:target.var:home_country
}
}
}
30if = {
31limit = {
32scope:target = {
33has_variable = favored_in_country
}
}
36scope:target.var:favored_in_country ?= {
37remove_list_variable = {
38name = supported_heirs
39target = scope:target
}
41if = {
42limit = {
43has_variable = favored_heir
44var:favored_heir = scope:target
}
46remove_variable = favored_heir
}
}
}
50if = {
51limit = {
52scope:target = {
53has_character_modifier = pol_blocked_from_marriage_betrothal
}
}
56c:POL ?= {
57trigger_event_non_silently = flavor_pol.46
}
}
60if = {
61limit = {
62scope:target = {
}
}
66trigger_event_non_silently = {
}
}
70if = {
71limit = {
72c:FRA ?= {
73has_country_modifier = fra_fleury_ministry
}
75scope:target = {
76has_character_modifier = is_andre_fleury
}
}
79c:FRA ?= {
80trigger_event_non_silently = flavor_fra.534
}
}
83if = {
84limit = {
85scope:target ?= {
85has_variable = hostage_character_country
}
}
87scope:target ?= {
89save_scope_as = origin_country
90if = {
91limit = {
92has_trust = {
92modifier = trust_offered_hostage
92target = root
}
}
94remove_trust_equilibrium = {
94modifier = trust_offered_hostage
94target = root
}
}
96if = {
97limit = {
98has_opinion = {
98modifier = opinion_offered_hostage
98target = root
}
}
100remove_opinion = {
100modifier = opinion_offered_hostage
100target = root
}
}
}
}
104root ?= {
105if = {
106limit = {
107has_trust = {
107modifier = trust_offered_hostage
107target = scope:origin_country
}
}
109remove_trust_equilibrium = {
109modifier = trust_offered_hostage
109target = scope:origin_country
}
}
111if = {
112limit = {
113has_opinion = {
113modifier = opinion_offered_hostage
113target = scope:origin_country
}
}
115remove_opinion = {
115modifier = opinion_offered_hostage
115target = scope:origin_country
}
}
}
}
119if = {
120limit = {
121tag_exists = MUG
122country_exists = c:MUG
123root = c:MUG
124location:agra.owner ?= root
125current_year > 1590
126current_year < 1650
127ruler ?= scope:target.first_spouse
}
129scope:target = {
130save_scope_as = target_character
}
132trigger_event_silently = {
133id = flavor_mug.6
134years = 1
}
}
137if = {
138limit = {
139scope:target = {
}
}
145scope:target = {
145save_scope_as = chinese_expedition_expedition_leader
}
147trigger_event_non_silently = {
}
}
}
152if = {
153limit = {
154scope:target ?= {
154has_variable = wali_songo
}
}
156trigger_event_non_silently = {
}
}
160if = {
161limit = {
162scope:target ?= {
162has_variable = searching_for_greek_fire
}
}
164trigger_event_non_silently = d008_flavor_byz.4
}
166if = {
167limit = {
168scope:target = {
169has_variable = is_patriarch
171exists = leader_country
172var:patriarch ?= {
172this = scope:target
}
}
}
}
176scope:target = {
}
}
182if = {
183limit = {
184scope:target = {
184has_variable = is_pentarch
}
}
187every_key_in_variable_map = {
188variable = pentarchy
189limit = {
191variable_map(pentarchy|prev) = scope:target
}
}
194save_scope_as = target_pentarchy_seat
195if = {
196limit = {
197OR = {
198NOT = {
198exists = scope:target_patriarch
}
199scope:target_patriarch = {
199has_variable = is_pentarch
}
}
201scope:target_pentarchy_seat.owner ?= {
201religion = religion:orthodox
}
}
203scope:target_pentarchy_seat.owner = {
203pentarchy = yes
}
}
}
205scope:target_patriarch ?= {
206location = scope:target_pentarchy_seat
}
}
209remove_from_variable_map = {
210name = pentarchy
211key = scope:target_pentarchy_seat
}
213add_to_variable_map = {
214name = pentarchy
215key = scope:target_pentarchy_seat
216value = scope:target_patriarch
}
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지