EventChanged this version
The Seal of the League

The union that our many merchants operate under has been prospering for some time. Business and affluence flow freely from our trade hubs throughout the entirety of Europe. In order to further solidify our grasp on our diplomatic status in spite of our decentralized nature, our members have elected to be represented by a common seal, to signify our unity.
Hanseatic KontorBuildingimmediate, trigger
HansaCountrydynamic historical event.tag
CityLocation Rankimmediate
MegalopolisLocation Rankimmediate
BurghersPop Typeoption 1, option 2, option 3eligible_for_event_variableVariableimmediateDefinitionin_game/events/DHE/flavor_HSA.txt:249
250type = country_event
251title = flavor_hsa.5.title The Seal of the League
252desc = flavor_hsa.5.desc The union that our many merchants operate under has been prospering for some time. Business and affluence flow freely from our trade hubs throughout the entirety of Europe. In order to further solidify our grasp on our diplomatic status in spite of our decentralized nature, our members have elected to be represented by a common seal, to signify our unity.
253outcome = neutral
254fire_only_once = yes
261trigger = {
263total_effective_building_levels:hanseatic_kontor > 15
264country_type = building
}
267illustration_tags = {
26810 = happy
26910 = interior
}
272immediate = {
}
274ordered_owned_foreign_building = {
275limit = {
276location.region = region:north_german_region
277location != location:lubeck
}
279order_by = {
280value = location.population
281if = {
282limit = {
283location = {
}
}
285multiply = 1.5
}
287add = {
288value = "location.distance_to(location:lubeck)"
289multiply = -1
}
}
292max = 3
293check_range_bounds = no
}
296region:north_german_region = {
297random_location_in_region = {
299save_scope_as = target_location2
}
302random_location_in_region = {
304save_scope_as = target_location3
}
}
308if = {
312location:lubeck = {
312save_scope_as = target_location
}
}
}