Event
Target Character2 Demands the Crown

Throughout his years, Target Character2 has served faithfully under our banner. However, recent turbulent times in the sphere of foreign diplomacy and internal affairs have given rise to many misfortunes. The latest and greatest of these is none other than Target Character2 who fancies himself to be a successor by the sword against Target Character.
His populist message to resurrect our people and restore our strength has resonated with many and trouble steers for us in every corner...
EretnidsCountrydynamic historical event.tagcurrent_ruler_power_variableVariableimmediate, optionnum_rebelling_locationsVariableoptionDefinitionin_game/events/DHE/flavor_ERE.txt:274
275hide_portraits = yes
276type = country_event
277title = flavor_ere.5.title Target Character2 Demands the Crown
278desc = flavor_ere.5.desc Throughout his years, Target Character2 has served faithfully under our banner. However, recent turbulent times in the sphere of foreign diplomacy and internal affairs have given rise to many misfortunes. The latest and greatest of these is none other than Target Character2 who fancies himself to be a successor by the sword against Target Character.
His populist message to resurrect our people and restore our strength has resonated with many and trouble steers for us in every corner...
His populist message to resurrect our people and restore our strength has resonated with many and trouble steers for us in every corner...
279outcome = neutral
280fire_only_once = yes
289illustration_tags = {
29010 = exterior
29110 = angry
}
294trigger = {
295character:ere_burhan_al_din = {
296is_alive = yes
297owner = root
298is_ruler = no
299is_heir = no
}
}
303immediate = {
}
305ruler_or_regent ?= {
306save_scope_as = target_character
}
308create_rebel = {
309category = pretender
310name = burhan_al_din_pretenders Burhan Pretenders
311save_scope_as = target_rebel
}
314character:ere_burhan_al_din = {
315save_scope_as = target_character2
316change_character_allegiance = scope:target_rebel
}
318set_variable = {
320value = {
321add = {
322value = "estate_power(estate_type:crown_estate)"
323multiply = 10
}
325add = {
326value = government_power
327divide = 2
}
}
}
335if = {
339while = {
341ordered_owned_location = {
342limit = {
343is_capital = no
}
345order_by = {
346value = population
347multiply = -1
}
349max = 1
350owner = {
}
360every_pop = {
361limit = {
362owner = root
}
365change_pop_allegiance = scope:target_rebel
}
}
}
}
370else = {
}
}
403after = {
}