事件
Target Location大捷
好消息传到了我们位于Capital的Court Title。我们不仅如料想般赢得了Target Location之战的胜利,甚至取得了完全的胜利,俘虏了天朝的掌舵者Captured Emperor。如果我们利用这一优势,也许能从Target War中获得巨大的收益。
事件链
每个事件由其上一层的事件触发;下方一行说明由哪个选项、在何时触发。
- Target Location大捷
- Ruler Title“北狩”!↳ 任意选项之后 · 立即
- 要求赎金↳ 选项B“向[Target Country]提出用[Captured Emperor]换取赎金。” · 90天后
定义in_game/events/DHE/flavor_chi_mon.txt:15
16type = country_event
17title = flavor_chi_mon.1.title Target Location大捷
18desc = flavor_chi_mon.1.desc 好消息传到了我们位于Capital的Court Title。我们不仅如料想般赢得了Target Location之战的胜利,甚至取得了完全的胜利,俘虏了天朝的掌舵者Captured Emperor。如果我们利用这一优势,也许能从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
}
}
}