Event
Rebellion of Target Character

With the increasing popularity of Target Character, he/she has decided to turn part of the nation against us. Rallying thousands of soldiers, it seems inevitable that Country will face a civil war unless Target Character2 abdicates the throne to Target Character.
OrissaCountrydynamic historical event.tag
MonarchyGovernment Typetriggeralready_supports_rebel_variableVariableimmediatecurrent_ruler_power_variableVariableimmediatekapilendra_varVariabletriggerDefinitionin_game/events/DHE/flavor_ori.txt:288
289hide_portraits = yes
290type = country_event
291title = flavor_ori.6.title Rebellion of Target Character
292desc = flavor_ori.6.desc With the increasing popularity of Target Character, he/she has decided to turn part of the nation against us. Rallying thousands of soldiers, it seems inevitable that Country will face a civil war unless Target Character2 abdicates the throne to Target Character.
293outcome = neutral
302fire_only_once = yes
304trigger = {
}
311illustration_tags = {
31210 = armed
31310 = exterior
}
316immediate = {
}
321ruler_or_regent ?= {
322save_scope_as = target_character2
}
327create_rebel = {
328category = pretender
329name = kapilendra_rebels Kapilendra Supporters
330save_scope_as = target_rebel
}
333set_variable = {
335value = {
336add = {
337value = "estate_power(estate_type:crown_estate)"
338multiply = 5
}
340add = {
341value = government_power
342divide = 2
}
}
}
350if = {
354while = {
356ordered_owned_location = {
361order_by = {
362value = population
363multiply = -1
}
365max = 1
366owner = {
}
380every_pop = {
381limit = {
382owner = root
}
385change_pop_allegiance = scope:target_rebel
}
}
}
}
390else = {
}
395scope:target_character = {
396change_character_allegiance = scope:target_rebel
}
}
424after = {
}