Event
The Sea Ban

As it stands, our coasts are plagued by rampant piracy and instability, wreaking much havoc in our coastal provinces. In order to curb the pirate problem, we decided to enact the policy of Hǎijìn, a ban on all maritime trade outside the official Tributary System. With it, we will systematically root out all illegal activities that are conducted on our coast.
ChinaCountrydynamic historical event.tag
Middle KingdomInternational Organizationtrigger
HǎijìnPolicytriggerDefinitionin_game/events/DHE/flavor_chi.txt:4907
4908type = country_event
4909title = flavor_chi.71.title The Sea Ban
4910desc = flavor_chi.71.desc As it stands, our coasts are plagued by rampant piracy and instability, wreaking much havoc in our coastal provinces. In order to curb the pirate problem, we decided to enact the policy of Hǎijìn, a ban on all maritime trade outside the official Tributary System. With it, we will systematically root out all illegal activities that are conducted on our coast.
4911outcome = neutral
4913trigger = {
4914has_global_variable_list = wokou_nation_list
4915any_in_global_list = {
4916variable = wokou_nation_list
4917border_distance_to(root) < 800
}
4919num_of_ports >= 10
4921leader_country = root
}
}
4926fire_only_once = yes
4927dynamic_historical_event = {
}
4934illustration_tags = {
493510 = exterior
493610 = angry
}
4939immediate = {
}
4941random_pop = {
4942save_scope_as = target_pop
}
4944random_port_in_country = {
4945random_pop = {
4946save_scope_as = target_pop
}
}
}