Evento
Ascensão de Target Character2

Com o tumulto em Country, novos homens se rebelaram contra nós, prontos para reivindicar o trono. Um deles é Target Character2, um nobre ambicioso e inteligente que se opõe diretamente a Target Character. he/she reuniu vários apoiadores e agora exige o trono.
SongaiPaísdynamic historical event.tag
MonarquiaTipo de Governotriggeralready_supports_rebel_variableVariávelimmediatecurrent_ruler_power_variableVariávelimmediateDefiniçãoin_game/events/DHE/flavor_son.txt:236
237type = country_event
239title = flavor_son.5.title Ascensão de Target Character2
240desc = flavor_son.5.desc Com o tumulto em Country, novos homens se rebelaram contra nós, prontos para reivindicar o trono. Um deles é Target Character2, um nobre ambicioso e inteligente que se opõe diretamente a Target Character. he/she reuniu vários apoiadores e agora exige o trono.
241outcome = neutral
242historical_info = flavor_son.5.historical_info O reinado de Ásquia, o Grande, é reconhecido como o início do Império Songai. Embora tenha servido como general de Sunni Ali, ele o confrontava com frequência, provavelmente devido às diferenças religiosas e pela forma como tratavam os ulemás em Tombuctu. No entanto, após a morte de Sunni Ali, Ásquia armou um golpe contra o filho do antigo governante, usando a influência daqueles que foram perseguidos em Songai para criar uma base de poder.
244illustration_tags = {
24510 = armed
24610 = interior
}
249fire_only_once = yes
257immediate = {
}
260ruler_or_regent ?= {
261save_scope_as = target_character
}
264location:gao = {
265create_dynasty_from_location = askia_dynasty
}
268create_character = {
269first_name = name_muhammad
270last_name = askia
271birth_date = 1420.6.1
272culture = root.culture
273birth_location = root.capital
274save_scope_as = target_character2
276dynasty = dynasty:askia_dynasty
}
279create_rebel = {
280category = pretender
281name = askia_rebels Rebelião de Ásquia Maomé
282save_scope_as = target_rebel
}
285set_variable = {
287value = {
288add = {
289value = "estate_power(estate_type:crown_estate)"
290multiply = 5
}
292add = {
293value = government_power
294divide = 2
}
}
}
302if = {
306while = {
308ordered_owned_location = {
313order_by = {
314value = population
315multiply = -1
}
317max = 1
318owner = {
}
332every_pop = {
333limit = {
334owner = root
}
337change_pop_allegiance = scope:target_rebel
}
}
}
}
342else = {
}
347scope:target_character2 = {
348change_character_allegiance = scope:target_rebel
}
}