EventChanged this version
Populating the Coast

Whilst a fraction of our population is living away from the coast in places such as Target Location, the only way for us to expand our maritime influence is by populating our coasts. Target Character and his/her Court Title are already making plans for this.
FalajBuildingtrigger
OmanCountrydynamic historical event.tag
CityLocation Ranktrigger
MegalopolisLocation RanktriggerDefinitionin_game/events/DHE/flavor_OMA.txt:1120
1121type = country_event
1122title = flavor_oma.16.title Populating the Coast
1123desc = flavor_oma.16.desc Whilst a fraction of our population is living away from the coast in places such as Target Location, the only way for us to expand our maritime influence is by populating our coasts. Target Character and his/her Court Title are already making plans for this.
1124outcome = neutral
1125fire_only_once = yes
1127dynamic_historical_event = {
}
1134trigger = {
1135gold >= {
1136value = root.monthly_income_trade_and_tax
1137multiply = 6
}
1140owns = location:nizwa
1145any_owned_location = {
1146is_coastal = yes
1147NOT = {
}
1148count >= 1
}
1151any_owned_location = {
1152is_coastal = no
1153count >= 3
}
}
1157illustration_tags = {
115810 = regular
115910 = interior
}
1162immediate = {
}
1164ruler_or_regent ?= {
1165save_scope_as = target_character
}
1168ordered_owned_location = {
1169limit = {
1170is_coastal = no
}
1172order_by = population
1173position = 1
1174check_range_bounds = no
1175save_scope_as = target_location
}
1178ordered_owned_location = {
1179limit = {
1180is_coastal = no
}
1182order_by = population
1183position = 2
1184check_range_bounds = no
1185save_scope_as = target_location2
}
1188ordered_owned_location = {
1189limit = {
1190is_coastal = no
}
1192order_by = population
1193position = 3
1194check_range_bounds = no
1195save_scope_as = target_location3
}
}