Event
An Uparaja for Target Country
We have been approached by a certain high-ranking minister, the Target Character of the Target Country. He has served us in the past and has offered to lead an expedition into South Sumatra in order to strengthen our grip on our subjects as well as to subdue Target Country2.
MelayuCountrytrigger
MajapahitCountrydynamic historical event.tag
SigunturCountrytriggerDefinitionin_game/events/DHE/flavor_maj.txt:1753
1754hide_portraits = yes
1755type = country_event
1756title = flavor_maj.26.title An Uparaja for Target Country
1757desc = flavor_maj.26.desc We have been approached by a certain high-ranking minister, the Target Character of the Target Country. He has served us in the past and has offered to lead an expedition into South Sumatra in order to strengthen our grip on our subjects as well as to subdue Target Country2.
1758outcome = neutral
1760fire_only_once = yes
1761dynamic_historical_event = {
}
1768trigger = {
1769character:jmb_adityawarman = {
1770is_alive = yes
1771owner ?= {
1772OR = {
1779AND = {
1780is_subject_or_below_of = ROOT
1781is_ai = yes
}
}
}
}
1791gold >= yearly_gold
}
1794immediate = {
1795save_scope_as = from
1796character:jmb_adityawarman = {
1797save_scope_as = target_character
}
1799if = {
1800limit = {
1801scope:target_character.owner = {
1802is_subject_or_below_of = ROOT
1803is_ai = yes
}
}
1806scope:target_character.owner = {
1807save_scope_as = target_country
}
}
1820set_local_variable = {
1821name = expedition_cost
1822value = yearly_gold
}
}