Event
Wokou Name Raid!

The fearsome Wokou Name have just launched an attack on our province of Target Province, and especially on the port of Target Location. Though we wish we could say that we have repulsed those invaders, the truth is much more dire. Unfortunately, our local garrison was simply unable to respond in time, leading to much destruction in Target Province. Burned homes, enslaved families, stolen goods, all of that misery has been unleashed on the poor Commoners. We must make those pirates pay.
PeasantsPop TypeoptionDefinitionin_game/events/wokou_events.txt:71
72type = country_event
73title = wokou_events.1.title Wokou Name Raid!
74desc = wokou_events.1.desc The fearsome Wokou Name have just launched an attack on our province of Target Province, and especially on the port of Target Location. Though we wish we could say that we have repulsed those invaders, the truth is much more dire. Unfortunately, our local garrison was simply unable to respond in time, leading to much destruction in Target Province. Burned homes, enslaved families, stolen goods, all of that misery has been unleashed on the poor Commoners. We must make those pirates pay.
75outcome = neutral
77illustration_tags = {
7810 = angry
7910 = exterior
}
82immediate = {
}
86random_port_in_country = {
90weight = {
91factor = 1
92modifier = {
93factor = {
94value = 300
95subtract = "distance_to(scope:target_country.capital)"
}
}
}
99save_scope_as = target_location
100province = {
101save_scope_as = target_province
}
}
104set_local_variable = {
105name = slaves_amount
106value = 0
}
108set_local_variable = {
109name = gold_amount
110value = 0
}
}
114trigger = {
}