On ActionChanged this version
on_annex
fired before the annexation happens; root = country doing the annexing , scope:target = country being annexed
DelhiCountryeffect
Knights HospitallerCountryeffect
TimuridCountryeffect
Holy Roman EmpireInternational Organizationeffect
Rise of TimurSituationeffectdlh_lodi_countryVariableeffecttrade_company_home_regionVariableeffectDefinitionin_game/common/on_action/_hardcoded.txt:641
642effect = {
643if = {
644limit = {
}
655scope:target = {
656save_scope_as = annexed
}
}
}
666if = {
}
677if = {
678limit = {
679is_target_in_global_variable_list = {
680name = eligible_beylik_list
681target = scope:target
}
}
684remove_list_global_variable = {
685name = eligible_beylik_list
686target = scope:target
}
}
689if = {
690limit = {
}
}
701if = {
}
708remove_list_global_variable = {
708name = council_of_trent_voters
708target = scope:target
}
709remove_list_global_variable = {
709name = council_of_trent_unvoters
709target = scope:target
}
710remove_list_global_variable = {
710name = council_of_trent_voting_for_debate
710target = scope:target
}
711remove_list_global_variable = {
711name = council_of_trent_voting_against_debate
711target = scope:target
}
713if = {
718overlord ?= {
719remove_list_variable = {
720name = trade_company_regions
721target = root.var:trade_company_home_region
}
723remove_list_variable = {
724name = trade_company_subjects
725target = root
}
}
}
729if = {
730limit = {
731scope:target = {
732is_subject = yes
}
734root = {
735is_human = yes
}
}
}
}