Efeito de Script

hacw_set_ruler

hacw_set_rulerin_game/events/disaster/hook_and_cod_wars.txt:1225
RequerPretendente da OposiçãoModificador EstáticoifPretendente ApoiadoModificador Estáticoifhacw_allegience_to_codVariávelifhacw_allegience_to_hookVariávelifhacw_sided_with_codVariávelifhacw_sided_with_hookVariávelif

Definiçãoin_game/events/disaster/hook_and_cod_wars.txt:1225

1226if = {
1227limit = {
1227exists = $ruler$
}
1228$ruler$ = {
1229if = {
1230limit = {
1230has_character_modifier = hacw_supported_character
}
1231remove_character_modifier = hacw_supported_character
}
1233if = {
1234limit = {
1234has_character_modifier = hacw_opposing_character
}
1235remove_character_modifier = hacw_opposing_character
}
}
1238if = {
1239limit = {
1240has_ruler = no
1241exists = regent
1242regent = $ruler$
}
}
1246else_if = {
1247limit = {
1248NOT = {
1248ruler ?= $ruler$
}
1249$ruler$ = {
1249is_adult = yes
}
}
1251set_new_ruler = $ruler$
}
1253if = {
1254limit = {
1254$ruler$ = {
1254has_variable = hacw_allegience_to_cod
}
}
1255$ruler$ = {
1255remove_variable = hacw_allegience_to_cod
}
1256if = {
1257limit = {
1257has_variable = hacw_sided_with_cod
}
1258add_stability = stability_extreme_bonus (20)
1259add_legitimacy = legitimacy_extreme_bonus (20)
1260$ruler$ = {
1260add_character_modifier = {
1260modifier = hacw_rightful_ruler
1260years = -1
}
}
1261add_estate_satisfaction = {
}
1262add_estate_satisfaction = {
}
}
1264else = {
1265add_stability = stability_extreme_bonus (20)
1266add_legitimacy = legitimacy_severe_penalty (-15)
1267add_estate_satisfaction = {
}
1268add_estate_satisfaction = {
}
}
}
1271else_if = {
1272limit = {
1272$ruler$ = {
1272has_variable = hacw_allegience_to_hook
}
}
1273$ruler$ = {
1273remove_variable = hacw_allegience_to_hook
}
1274if = {
1275limit = {
1275has_variable = hacw_sided_with_hook
}
1276add_stability = stability_extreme_bonus (20)
1277add_legitimacy = legitimacy_extreme_bonus (20)
1278$ruler$ = {
1278add_character_modifier = {
1278modifier = hacw_rightful_ruler
1278years = -1
}
}
1279add_estate_satisfaction = {
}
1280add_estate_satisfaction = {
}
}
1282else = {
1283add_stability = stability_extreme_bonus (20)
1284add_legitimacy = legitimacy_severe_penalty (-15)
1285add_estate_satisfaction = {
}
1286add_estate_satisfaction = {
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Todos os direitos reservados. Projeto de fã não oficial, sem afiliação com a Paradox Interactive. Conteúdo do jogo © Paradox Interactive. Sobre · Privacidade · Aviso legal