Event
A Dangerous Mutiny

One of our generals, Target Character, greatly disappointed by the actions of Ruler, has decided to take reins into his/her own hands and raised arms in a vicious mutiny against the Flavor Rank! The Target Country are now up in arms against us in Target Location.
GoryeoCountrydynamic historical event.tagDefinitionin_game/events/DHE/flavor_KOR.txt:2173
2174type = country_event
2175title = flavor_kor.32.title A Dangerous Mutiny
2176desc = flavor_kor.32.desc One of our generals, Target Character, greatly disappointed by the actions of Ruler, has decided to take reins into his/her own hands and raised arms in a vicious mutiny against the Flavor Rank! The Target Country are now up in arms against us in Target Location.
2177outcome = neutral
2179trigger = {
2180any_character = {
2181is_general = yes
2182unit.unit_location.owner ?= ROOT
}
2184has_ruler = yes
2186army_size >= 2
}
2189illustration_tags = {
219010 = exterior
219110 = armed
}
2194immediate = {
}
2196random_character = {
2197limit = {
2198is_general = yes
2199unit.unit_location.owner ?= ROOT
}
2201save_scope_as = target_character
}
2203create_rebel = {
2204category = pretender
2205name = korean_pretender_mutiny General Mutiny
2206save_scope_as = target_rebels
}
2208scope:target_character = {
2209change_character_allegiance = scope:target_rebels
2210unit = {
2211save_scope_as = target_unit
2212unit_location = {
2213save_scope_as = target_location
2214province = {
2215every_location_in_province = {
2216every_pop = {
2217change_pop_allegiance = scope:target_rebels
}
}
}
}
}
}
2224scope:target_rebels = {
2225start_civil_war = {
2226save_scope_as = target_country
}
}
2233scope:target_unit = {
2234change_unit_owner = scope:target_country
}
2236ruler_or_regent ?= {
2237save_scope_as = our_ruler
}
}
2241fire_only_once = yes
2242dynamic_historical_event = {
}