###########################################
#
# Expanded Cultures and Kingdoms - Culture Drift
#
# ID CaK 2000-2999 is reserved
#
###########################################
# Written by Charlemagne1428
###########################################

namespace = CaK

########################################
# Celtic
########################################

# Formation of Gallic culture
character_event = {
	id = CaK.2000
	desc = "EVTDESCCaK.2000"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = gallic_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_france
				title = k_burgundy
				title = k_aquitaine
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = gallic_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2000"
		set_global_flag = gallic_culture_formed
		culture = gallic
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_france
					title = k_burgundy
					title = k_aquitaine
				}
			}
			culture = gallic
		}
	}
}

# Formation of Belgic culture
character_event = {
	id = CaK.2001
	desc = "EVTDESCCaK.2001"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = belgic_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_frisia
				title = k_lotharingia
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = belgic_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2001"
		set_global_flag = belgic_culture_formed
		culture = belgic
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_frisia
					title = k_lotharingia
				}
			}
			culture = belgic
		}
	}
}

# Formation of Briton culture
character_event = {
	id = CaK.2002
	desc = "EVTDESCCaK.2002"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = brittonic_culture_formed }
		has_global_flag = brittonic_kingdom_formed
		any_demesne_province = {
			kingdom = {
				title = k_england
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 120
		}
	}

	option = {
		name = "EVTOPTACaK.2002"
		set_global_flag = brittonic_culture_formed
		culture = briton
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_england
					title = k_wales
				}
			}
			culture = briton
		}
	}
}

# Formation of Cantabrian culture
character_event = {
	id = CaK.2003
	desc = "EVTDESCCaK.2003"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = cantabrian_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_navarra
				title = k_castille
				title = k_asturias
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = cantabrian_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2003"
		set_global_flag = cantabrian_culture_formed
		culture = cantabrian
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_navarra
					title = k_castille
					title = k_asturias
				}
			}
			culture = cantabrian
		}
	}
}

# Formation of Galician culture
character_event = {
	id = CaK.2004
	desc = "EVTDESCCaK.2004"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = galician_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_galicia
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = celtic_galician_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2004"
		set_global_flag = galician_culture_formed
		culture = galician
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_galicia
				}
			}
			culture = galician
		}
	}
}

# Formation of Lusitanian culture
character_event = {
	id = CaK.2005
	desc = "EVTDESCCaK.2005"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = lusitanian_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_portugal
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = lusitani_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2005"
		set_global_flag = lusitanian_culture_formed
		culture = lusitani
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_portugal
				}
			}
			culture = lusitani
		}
	}
}

# Formation of Celtiberian culture
character_event = {
	id = CaK.2006
	desc = "EVTDESCCaK.2006"
	picture = GFX_evt_stone_church
	
	trigger = {
		culture_group = celtic
		NOT = { has_global_flag = celtiberian_culture_formed }
		any_demesne_province = {
			kingdom = {
				title = k_andalusia
				title = k_aragon
			}
			culture_group = celtic
		}
	}
	
	mean_time_to_happen = {
		months = 1080
		modifier = {
			factor = .2
			has_global_flag = celtiberian_kingdom_formed
		}
	}

	option = {
		name = "EVTOPTACaK.2006"
		set_global_flag = celtiberian_culture_formed
		culture = celtiberian
		random_demesne_province = {
			limit = {
				kingdom = {
					title = k_andalusia
					title = k_aragon
				}
			}
			culture = celtiberian
		}
	}
}

############
# - French
############