Effet scripté

leave_situation_faction

leave_situation_factionin_game/common/scripted_effects/situation_effects.txt:50

Définitionin_game/common/scripted_effects/situation_effects.txt:50

51if = {
52limit = {
52$target$ = {
52is_member_of_international_organization = $international_organization$
}
}
53$international_organization$ = {
54if = {
55limit = {
56international_organization_has_leader = yes
57exists = leader_country
58leader_country = $target$
}
60set_local_variable = io_revote
}
62remove_country_from_international_organization = $target$
63if = {
64limit = {
64has_local_variable = io_revote
}
66remove_local_variable = io_revote
}
}
}
70hidden_effect = {
71$target$ = {
72set_variable = {
73name = $leave_variable$
74value = $international_organization$
75years = $leave_years$
}
77if = {
78limit = {
79has_variable = $join_variable$
80var:$join_variable$ = $international_organization$
}
82remove_variable = $join_variable$
}
}
}
© 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