EventChanged this version
Muslim Sailors

From the most eastern seas to the warmer waters riding the monsoons, there is an abundance of ships constantly sailing between the many ports, from small dhows to great galleys. Taken together, this trade network provides goods and supplies for more than half of the world's population. What many of these galleys have in common is that they are manned by Muslim sailors from Africa or the Middle East joined by converted locals.
BurghersEstateimmediate
ChristianityReligion Grouptrigger
IslamReligion GrouptriggerSailor CommunityStatic Modifierimmediate, triggermuslim_sailors_presentVariableimmediate, triggerDefinitionin_game/events/religion/propagate_religion_events.txt:228
229hide_portraits = yes
230type = country_event
231title = propagate_religion_events.3.title Muslim Sailors
232desc = propagate_religion_events.3.desc From the most eastern seas to the warmer waters riding the monsoons, there is an abundance of ships constantly sailing between the many ports, from small dhows to great galleys. Taken together, this trade network provides goods and supplies for more than half of the world's population. What many of these galleys have in common is that they are manned by Muslim sailors from Africa or the Middle East joined by converted locals.
233outcome = neutral
235trigger = {
238any_market_with_merchants = {
243any_location_in_market = {
244is_port = yes
245owner ?= root
}
}
}
252illustration_tags = {
25310 = regular
25410 = exterior
}
257immediate = {
}
259random_market_with_merchants = {
260limit = {
265any_location_in_market = {
266is_port = yes
267owner ?= root
}
}
272random_merchant_in_market = {
277save_scope_as = target_country
278random_pop = {
279weight = {
280base = 1
281modifier = {
282add = pop_character_chance
}
}
285limit = {
287religion = scope:target_country.religion
}
289save_scope_as = target_pop
290save_scope_as = target_pop_bckg
}
}
293random_location_in_market = {
294limit = {
295is_port = yes
296owner ?= root
}
298save_scope_as = target_location
}
}
302create_character = {
303adm = {
60
80
}
304dip = {
60
80
}
305mil = {
60
80
}
306culture = scope:target_country.culture
307religion = scope:target_country.religion
309create_in_limbo = yes
310save_scope_as = target_character
}
}