Event
Clash with a Pirate Fleet

While sailing through the Target Location Topography of Target Location, our glorious Treasure Fleet under the watchful eye of Character Expedition Leader Target has encountered a vile fleet of rowdy pirates. Our brave soldiers would not, of course, cower in fear, and promptly engaged the enemy in a decisive battle where the enemy ruffians were utterly defeated and their leaders captured. However, such an engagement was not without losses in manpower and ships, depriving our grand fleet of many resources.
NarrowsTopographytriggerDefinitionin_game/events/DHE/flavor_chi_treasure_expedition.txt:1970
1971type = country_event
1972title = flavor_chi.2101.title Clash with a Pirate Fleet
1973desc = flavor_chi.2101.desc While sailing through the Target Location Topography of Target Location, our glorious Treasure Fleet under the watchful eye of Character Expedition Leader Target has encountered a vile fleet of rowdy pirates. Our brave soldiers would not, of course, cower in fear, and promptly engaged the enemy in a decisive battle where the enemy ruffians were utterly defeated and their leaders captured. However, such an engagement was not without losses in manpower and ships, depriving our grand fleet of many resources.
1974outcome = neutral
1976trigger = {
}
1982illustration_tags = {
198310 = regular
198410 = interior
}
1987immediate = {
}
1990set_local_variable = {
1991name = cargo_lost
1992value = {
1994multiply = {
0.1
0.2
}
1995multiply = -1
1996multiply = {
1997value = 1
1998subtract = {
1999value = scope:expedition_initiator.var:chinese_expedition_expedition_leader.mil
2000divide = 100
2001multiply = 0.5
}
}
}
}
2007scope:expedition_initiator.var:chinese_treasure_fleet_location ?= {
2008save_scope_as = target_location
}
2011scope:expedition_initiator.var:chinese_treasure_fleet_location.province_definition = {
2012every_location_in_province_definition = {
2013every_neighbor_location = {
2014if = {
2015limit = {
2016owner ?= {
2017NOT = {
2017this = ROOT
}
2018NOT = {
2018has_reform = government_reform:pirate_brethren_reform
}
}
}
2021owner = {
2021add_to_list = list_of_grateful_countries
}
}
}
}
}
}