EventChanged this version
Miracle

A learned man/woman from Target Country is said to have cured some of the population in Target Location from a harsh illness. The locals are all very impressed and have chosen to adopt the faith of this sage so that his/her God can protect them in the times to come.
ChristianityReligion Grouptrigger
IslamReligion Groupimmediate, triggerDefinitionin_game/events/religion/propagate_religion_events.txt:336
337type = country_event
338title = propagate_religion_events.4.title Miracle
339desc = propagate_religion_events.4.desc A learned man/woman from Target Country is said to have cured some of the population in Target Location from a harsh illness. The locals are all very impressed and have chosen to adopt the faith of this sage so that his/her God can protect them in the times to come.
340outcome = neutral
342trigger = {
344any_market_with_merchants = {
348any_location_in_market = {
}
}
}
356illustration_tags = {
35710 = happy
35810 = interior
}
361immediate = {
}
363random_market_with_merchants = {
364limit = {
368any_location_in_market = {
}
}
374random_merchant_in_market = {
378save_scope_as = target_country
379if = {
383religious_school = {
384save_scope_as = target_school
}
}
387else = {
388random_invited_religious_figure = {
392religious_school = {
393save_scope_as = target_school
}
}
}
}
398random_location_in_market = {
399limit = {
}
405save_scope_as = target_location
}
}
408create_character = {
409adm = {
60
80
}
410dip = {
60
80
}
411mil = {
60
80
}
412culture = scope:target_country.culture
413religion = scope:target_country.religion
414religious_figure = religious_figure:muslim_scholar
415religious_school = scope:target_school
417create_in_limbo = yes
418save_scope_as = target_character
}
}