Event
Victory at Target Location
Glorious news has arrived at our Court Title in Capital. Not only have we won the battle at Target Location, as we expected, but our victory was so absolute that we managed to take hold of Captured Emperor, the leader at the helm of the Middle Kingdom. If we push our advantage, we might be able to rake in great concessions from the Target War.
Event chain
Each event is fired by the one it is nested under; the line below it says which choice leads there and when.
- Victory at Target Location
- Ruler Title is Captured!↳ After any choice · right away
- Offer of Ransom↳ Option B “Offer [Target Country] ransom for [Captured Emperor].” · 90 days later
Definitionin_game/events/DHE/flavor_chi_mon.txt:15
16type = country_event
17title = flavor_chi_mon.1.title Victory at Target Location
18desc = flavor_chi_mon.1.desc Glorious news has arrived at our Court Title in Capital. Not only have we won the battle at Target Location, as we expected, but our victory was so absolute that we managed to take hold of Captured Emperor, the leader at the helm of the Middle Kingdom. If we push our advantage, we might be able to rake in great concessions from the Target War.
19outcome = neutral
21fire_only_once = yes
23immediate = {
24save_scope_as = capturing_country
29scope:target = {
30unit_location = {
31save_scope_as = target_location
}
33leader = {
34save_scope_as = captured_emperor
35move_country = ROOT
}
}
53war_with_country(scope:target_country) = {
54save_scope_as = target_war
}
57set_local_variable = {
58name = ransom_value
59value = {
60value = scope:target_country.yearly_gold
61multiply = {
2
3
}
}
}
65location:dadu = {
66if = {
67limit = {
68owner = scope:target_country
}
70save_scope_as = location_for_capture
}
}
73if = {
74limit = {
75NOT = {
75exists = scope:location_for_capture
}
}
77region:north_china_region = {
78ordered_location_in_region = {
79limit = {
80owner ?= scope:target_country
}
82order_by = population
83max = 1
84save_scope_as = location_for_capture
}
}
}
88if = {
89limit = {
90NOT = {
90exists = scope:location_for_capture
}
}
92scope:target_country.capital = {
93save_scope_as = location_for_capture
}
}
100scope:captured_emperor = {
101set_variable = {
103value = scope:location_for_capture
}
}
}