On action

on_military_annex

on_military_annexin_game/common/on_action/_hardcoded.txt:539

fired before the annexation happens; root = country doing the annexing , scope:target = country being annexed

ТребуетВизантияДержаваeffectbyzantine_empire_fallenПеременнаяeffect

Определениеin_game/common/on_action/_hardcoded.txt:539

540effect = {
541if = {
542limit = {
543scope:target = {
544tag = BYZ
}
546NOT = {
546has_global_variable = byzantine_empire_fallen
}
}
548save_scope_as = target_country
549scope:target = {
550capital = {
551save_scope_as = target_location
}
553save_scope_as = target_country2
}
556every_country_in_religion = {
557limit = {
558culture_percentage_in_country(culture:greek_culture) > 0.05
}
560trigger_event_silently = flavor_byz.18
}
}
564set_global_variable = byzantine_empire_fallen
}
}