#################################################
#
# CULTURAL CONVERSION EVENTS
#
#################################################

# Province culture changes

#namespace = RICC

# The Rumi
character_event = {
	id = RICC.1
	desc = "EVTDESCRICC.1"
	picture = GFX_evt_alfaransi
	
	only_playable = yes
	culture_group = arabic

trigger = {
		year = 1000
		any_demesne_province = {
			OR = {
				region = world_europe_south 
				region = world_asia_minor
			}
			culture = greek
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
		NOT = { government = chinese_imperial_government }
	}	
	
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			culture = greco_arabic
		}
		modifier = {
			factor = 0.8
			learning = 7
		}
		modifier = {
			factor = 0.85
			learning = 11
		}
		modifier = {
			factor = 0.9
			learning = 15
		}
		modifier = {
			factor = 1.5
			NOT = { learning = 5 }
		}
		modifier = {
			factor = 2.0
			NOT = { learning = 1 }
		}
		modifier = {
			factor = 0.3
			OR = {
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots
				}
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots_and_slower_normal
				}
			}
		}
	}

	option = {
		name = EVTOPTARICC.1
		random_demesne_province = {
			limit = {
				culture = greek
				OR = {
					region = world_europe_south 
					region = world_asia_minor
				}
				any_province_holding = {
					NOT = { holding_type = nomad }
				}
			}
			culture = greco_arabic
		}
	}
}

character_event = {
	id = RICC.2
	desc = "EVTDESCRICC.2"
	picture = GFX_evt_stone_church
	
	only_playable = yes
	
	trigger = {
		year = 1000
		OR = {
			culture_group = arabic
			culture_group = byzantine
		}
		any_demesne_province = {
			OR = {
				region = world_europe_south 
				region = world_asia_minor
			}
			culture = greco_arabic
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
	}
	
	mean_time_to_happen = {
		months = 120
		modifier = {
			factor = 0.75
			learning = 7
		}
		modifier = {
			factor = 0.75
			learning = 11
		}
		modifier = {
			factor = 1.5
			NOT = { learning = 5 }
		}
		modifier = {
			factor = 2.0
			NOT = { learning = 1 }
		}
		modifier = {
			factor = 0.3
			OR = {
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots
				}
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots_and_slower_normal
				}
			}
		}
	}
	option = {
		name = EVTOPTRICC.2
		culture = greco_arabic
	}
}

#greco_arabic
character_event = {
	id = RICC.3
	desc = "EVTDESCRICC.3"
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = "EVTOPTRICC.3"
		culture = greco_arabic
		prestige = 5
	}
}