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

# Province culture changes

namespace = EOCHIP

# The norsedutch
character_event = {
	id = EOCHIP.15
	desc = "EVTDESCEOCHIP.15"
	picture = GFX_evt_wise_woman
	
	only_playable = yes
	
	trigger = {
		OR = {
			culture_group = north_germanic
			culture = norsedutch
		}
		any_demesne_province = {
			OR = {
				culture = frisian
				culture = dutch
			}
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			culture = norsedutch
		}
		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.65
			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 = EVTOPTAEOCHIP.15
		random_demesne_province = {
			limit = {
				OR = {
					culture = frisian
					culture = dutch
				}
				any_province_holding = {
					NOT = { holding_type = nomad }
				}
			}
			culture = norsedutch
		}
	}
}

character_event = {
	id = EOCHIP.16
	desc = "EVTDESCEOCHIP.16"
	picture = GFX_evt_stone_church
	
	only_playable = yes
	
	trigger = {
		NOT = { culture = norsedutch }
		any_demesne_province = {
			culture = norsedutch
			is_capital = yes
			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.65
			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 = EVTOPTAEOCHIP.16
		culture = norsedutch
		prestige = -5
	}

	option = {
		name = EVTOPTBEOCHIP.16
		prestige = 5
	}
}
#norsedutch
character_event = {
	id = EOCHIP.17
	desc = "EVTDESCSWMH.17"
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = "EVTOPTASWMH.17"
		culture = norsedutch
	}
}

#The norsegreek
character_event = {
	id = EOCHIP.30
	desc = "EVTDESCEOCHIP.30"
	picture = GFX_evt_wise_woman
	
	only_playable = yes
	
	trigger = {
		OR = {
			culture_group = north_germanic
			culture = norsegreek
		}
		any_demesne_province = {
			culture = greek
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			culture = norsegreek
		}
		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.65
			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 = EVTOPTAEOCHIP.30
		random_demesne_province = {
			limit = {
				culture = greek
				any_province_holding = {
					NOT = { holding_type = nomad }
				}
			}
			culture = norsegreek
		}
	}
}

character_event = {
	id = EOCHIP.31
	desc = "EVTDESCEOCHIP.31"
	picture = GFX_evt_stone_church
	
	only_playable = yes
	
	trigger = {
		NOT = { culture = norsegreek }
		any_demesne_province = {
			culture = norsegreek
			is_capital = yes
			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.65
			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 = EVTOPTAEOCHIP.31
		culture = norsegreek
		prestige = -5
	}

	option = {
		name = EVTOPTBEOCHIP.31
		prestige = 5
	}
}
#norsegreek
character_event = {
	id = EOCHIP.32
	desc = "EVTDESCSWMH.32"
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = "EVTOPTASWMH.32"
		culture = norsegreek
	}
}

#The norseenglish
character_event = {
	id = EOCHIP.45
	desc = "EVTDESCEOCHIP.45"
	picture = GFX_evt_wise_woman
	
	only_playable = yes
	
	trigger = {
		OR = {
			culture_group = north_germanic
			culture = norseenglish
		}
		any_demesne_province = {
			OR = {
				culture = english
				culture = anglosaxonenglish
			}
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			culture = norseenglish
		}
		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.65
			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 = EVTOPTAEOCHIP.45
		random_demesne_province = {
			limit = {
				OR = {
					culture_group = north_germanic
				}
				any_province_holding = {
					NOT = { holding_type = nomad }
				}
			}
			culture = norseenglish
		}
	}
}

character_event = {
	id = EOCHIP.46
	desc = "EVTDESCEOCHIP.46"
	picture = GFX_evt_stone_church
	
	only_playable = yes
	
	trigger = {
		NOT = { culture = norseenglish }
		any_demesne_province = {
			culture = norseenglish
			is_capital = yes
			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.65
			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 = EVTOPTAEOCHIP.46
		culture = norseenglish
		prestige = -5
	}

	option = {
		name = EVTOPTBEOCHIP.46
		prestige = 5
	}
}
#norseenglish
character_event = {
	id = EOCHIP.47
	desc = "EVTDESCSWMH.47"
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = "EVTOPTASWMH.47"
		culture = norseenglish
	}
}

#The norsespanish
character_event = {
	id = EOCHIP.51
	desc = "EVTDESCEOCHIP.51"
	picture = GFX_evt_wise_woman
	
	only_playable = yes
	
	trigger = {
		OR = {
			culture_group = north_germanic
			culture = norsespanish
		}
		any_demesne_province = {
			culture_group = iberian
			any_province_holding = {
				NOT = { holding_type = nomad }
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			culture = norsespanish
		}
		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.65
			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 = EVTOPTAEOCHIP.51
		random_demesne_province = {
			limit = {
				culture_group = north_germanic
				any_province_holding = {
					NOT = { holding_type = nomad }
				}
			}
			culture = norsespanish
		}
	}
}

character_event = {
	id = EOCHIP.52
	desc = "EVTDESCEOCHIP.52"
	picture = GFX_evt_stone_church
	
	only_playable = yes
	
	trigger = {
		NOT = { culture = norsespanish }
		any_demesne_province = {
			culture = norsespanish
			is_capital = yes
			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.65
			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 = EVTOPTAEOCHIP.52
		culture = norsespanish
		prestige = -5
	}

	option = {
		name = EVTOPTBEOCHIP.52
		prestige = 5
	}
}
#norsespanish
character_event = {
	id = EOCHIP.53
	desc = "EVTDESCSWMH.53"
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = "EVTOPTASWMH.53"
		culture = norsespanish
	}
}