# Drevlians
country_event = {
	id = et.100
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1943
		is_year = 500
		OR = {
			1941 = { is_empty = yes }
			4115 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1941 = { is_empty = yes } }
			1941 = { 
				cede_province = DRV 
				add_core = DRV
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4115 = { is_empty = yes } }
			4115 = { 
				cede_province = DRV 
				add_core = DRV
				change_trade_goods = wool
			}
		}
		DRV = { every_neighbor_country = { add_truce_with = DRV } }
	}
}

# Severians
country_event = {
	id = et.101
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 298
		is_year = 500
		OR = {
			289 = { is_empty = yes }
			1945 = { is_empty = yes }
			297 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 289 = { is_empty = yes } }
			289 = { 
				cede_province = SVR 
				add_core = SVR
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 1945 = { is_empty = yes } }
			1945 = { 
				cede_province = SVR
				add_core = SVR
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 297 = { is_empty = yes } }
			297 = { 
				cede_province = SVR
				add_core = SVR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4244 = { is_empty = yes } }
			4244 = { 
				cede_province = SVR
				add_core = SVR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4116 = { is_empty = yes } }
			4116 = { 
				cede_province = SVR
				add_core = SVR
				change_trade_goods = grain
			}
		}
		SVR = { every_neighbor_country = { add_truce_with = SVR } }
	}
}

# Lendians
country_event = {
	id = et.102
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 279
		is_year = 500
		OR = {
			277 = { is_empty = yes }
			278 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 277 = { is_empty = yes } }
			277 = { 
				cede_province = LDN
				add_core = LDN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 278 = { is_empty = yes } }
			278 = { 
				cede_province = LDN
				add_core = LDN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4537 = { is_empty = yes } }
			4537 = { 
				cede_province = LDN
				add_core = LDN
				change_trade_goods = wool
			}
		}
		279 = {
			change_culture = ruthenian
			add_core = LDN
			nationalist_rebels = 2
		}
		1940 = {
			change_culture = ruthenian
			add_core = LDN
			nationalist_rebels = 2
		}
		LDN = { every_neighbor_country = { add_truce_with = LDN } }
	}
}

# Curonians
country_event = {
	id = et.103
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 41
		is_year = 500
		OR = {
			40 = { is_empty = yes }
			39 = { is_empty = yes }
			1935 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 40 = { is_empty = yes } }
			40 = { 
				cede_province = CUR 
				add_core = CUR 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 39 = { is_empty = yes } }
			39 = { 
				cede_province = CUR
				add_core = CUR 
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 1935 = { is_empty = yes } }
			1935 = { 
				cede_province = SEM 
				add_core = SEM 
				change_trade_goods = naval_supplies
			}
		}
		CUR = { every_neighbor_country = { add_truce_with = CUR } }
		SEM = { every_neighbor_country = { add_truce_with = SEM } }
	}
}

# Lithuanians
country_event = {
	id = et.104
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 42
		is_year = 500
		OR = {
			272 = { is_empty = yes }
			270 = { is_empty = yes }
			1936 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 270 = { is_empty = yes } }
			270 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 271 = { is_empty = yes } }
			271 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 272 = { is_empty = yes } }
			272 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1936 = { is_empty = yes } }
			1936 = { 
				cede_province = YOT 
				add_core = YOT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 269 = { is_empty = yes } }
			269 = { 
				cede_province = YOT 
				add_core = YOT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1937 = { is_empty = yes } }
			1937 = { 
				cede_province = YOT 
				add_core = YOT 
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 770 = { is_empty = yes } }
			770 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4534 = { is_empty = yes } }
			4534 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4535 = { is_empty = yes } }
			4535 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4536 = { is_empty = yes } }
			4536 = { 
				cede_province = LIT 
				add_core = LIT 
				change_trade_goods = grain
			}
		}
		LIT = { every_neighbor_country = { add_truce_with = LIT } }
		YOT = { every_neighbor_country = { add_truce_with = YOT } }
	}
}

# Latgalians
country_event = {
	id = et.105
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1935
		is_year = 500
		OR = {
			38 = { is_empty = yes }
			273 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 38 = { is_empty = yes } }
			38 = { 
				cede_province = LTG
				add_core = LTG
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 273 = { is_empty = yes } }
			273 = { 
				cede_province = LTG
				add_core = LTG
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4241 = { is_empty = yes } }
			4241 = { 
				cede_province = LTG
				add_core = LTG
				change_trade_goods = grain
			}
		}
		LTG = { every_neighbor_country = { add_truce_with = LTG } }
	}
}

# Livonians
country_event = {
	id = et.106
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1935
		is_year = 500
		OR = {
			37 = { is_empty = yes }
			1834 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 37 = { is_empty = yes } }
			37 = { 
				cede_province = LVA
				add_core = LVA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1834 = { is_empty = yes } }
			1834 = { 
				cede_province = LVA
				add_core = LVA
				change_trade_goods = grain
			}
		}
		LVA = { every_neighbor_country = { add_truce_with = LVA } }
	}
}

# Estonians
country_event = {
	id = et.107
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 37
		is_year = 500
		OR = {
			36 = { is_empty = yes }
			1842 = { is_empty = yes }
			35 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 36 = { is_empty = yes } }
			36 = { 
				cede_province = EST
				add_core = EST
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1842 = { is_empty = yes } }
			1842 = { 
				cede_province = EST
				add_core = EST
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 35 = { is_empty = yes } }
			35 = { 
				cede_province = EST
				add_core = EST
				change_trade_goods = grain
			}
		}
		EST = { every_neighbor_country = { add_truce_with = EST } }
	}
}

# Dregovichs
country_event = {
	id = et.108
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 37
		is_year = 500
		OR = {
			276 = { is_empty = yes }
			292 = { is_empty = yes }
			1941 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 276 = { is_empty = yes } }
			276 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4242 = { is_empty = yes } }
			4242 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 292 = { is_empty = yes } }
			292 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4246 = { is_empty = yes } }
			4246 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4544 = { is_empty = yes } }
			4544 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4545 = { is_empty = yes } }
			4545 = { 
				cede_province = DRE
				add_core = DRE
				change_trade_goods = wool
			}
		}
		DRE = { every_neighbor_country = { add_truce_with = DRE } }
	}
}

# Vyatihs
country_event = {
	id = et.109
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 297
		is_year = 500
		OR = {
			295 = { is_empty = yes }
			294 = { is_empty = yes }
			296 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 296 = { is_empty = yes } }
			296 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 295 = { is_empty = yes } }
			295 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 294 = { is_empty = yes } }
			294 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1752 = { is_empty = yes } }
			1752 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1959 = { is_empty = yes } }
			1959 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4249 = { is_empty = yes } }
			4249 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods =  grain
			}
		}
		if = {
			limit = { 4251 = { is_empty = yes } }
			4251 = { 
				cede_province = VYA
				add_core = VYA
				change_trade_goods =  grain
			}
		}
		VYA = { every_neighbor_country = { add_truce_with = VYA } }
	}
}

# Geates
country_event = {
	id = et.110
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 26
		is_year = 360
		OR = {
			7 = { is_empty = yes }
			5 = { is_empty = yes }
			16 = { is_empty = yes }
			3 = { is_empty = yes }
			2 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 7 = { is_empty = yes } }
			7 = { 
				cede_province = GEW
				add_core = GEW
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 5 = { is_empty = yes } }
			5 = { 
				cede_province = GEW
				add_core = GEW
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 16 = { is_empty = yes } }
			16 = { 
				cede_province = GEW
				add_core = GEW
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4163 = { is_empty = yes } }
			4163 = { 
				cede_province = GEW
				add_core = GEW
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4164 = { is_empty = yes } }
			4164 = { 
				cede_province = GEW
				add_core = GEW
				change_trade_goods = grain
			}
		}
		26 = { add_core = GEW }
		if = {
			limit = { 3 = { is_empty = yes } }
			3 = { 
				cede_province = GEE
				add_core = GEE
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 2 = { is_empty = yes } }
			2 = { 
				cede_province = GEE
				add_core = GEE
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4166 = { is_empty = yes } }
			4166 = { 
				cede_province = GEE
				add_core = GEE
				change_trade_goods = grain
			}
		}
		1982 = { add_core = GEE }
		GEW = { every_neighbor_country = { add_truce_with = GEW } }
		GEE = { every_neighbor_country = { add_truce_with = GEE } }
	}
}

# Svealand
country_event = {
	id = et.112
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2
		is_year = 500
		OR = {
			1 = { is_empty = yes }
			4 = { is_empty = yes }
			1985 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1 = { is_empty = yes } }
			1 = { 
				cede_province = SVE
				add_core = SVE
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4 = { is_empty = yes } }
			4 = { 
				cede_province = SVE
				add_core = SVE
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 1985 = { is_empty = yes } }
			1985 = { 
				cede_province = SVE
				add_core = SVE
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 1930 = { is_empty = yes } }
			1930 = { 
				cede_province = SVE
				add_core = SVE
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 9 = { is_empty = yes } }
			9 = { 
				cede_province = SVE
				add_core = SVE
				change_trade_goods = fish
			}
		}
		SVE = { every_neighbor_country = { add_truce_with = SVE } }
	}
}

# Norwegian tribes
country_event = {
	id = et.114
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 5
		is_year = 700
		OR = {
			24 = { is_empty = yes }
			23 = { is_empty = yes }
			17 = { is_empty = yes }
			20 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 17 = { is_empty = yes } }
			17 = { 
				cede_province = VES
				add_core = VES
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 22 = { is_empty = yes } }
			22 = { 
				cede_province = VES
				add_core = VES
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4143 = { is_empty = yes } }
			4143 = { 
				cede_province = VES
				add_core = VES
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4144 = { is_empty = yes } }
			4144 = { 
				cede_province = AGD
				add_core = AGD
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4145 = { is_empty = yes } }
			4145 = { 
				cede_province = AGD
				add_core = AGD
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 24 = { is_empty = yes } }
			24 = { 
				cede_province = ROG
				add_core = ROG
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 23 = { is_empty = yes } }
			23 = { 
				cede_province = HOR
				add_core = HOR
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 2752 = { is_empty = yes } }
			2752 = { 
				cede_province = RMD
				add_core = RMD
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 20 = { is_empty = yes } }
			20 = { 
				cede_province = HAL
				add_core = HAL
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 21 = { is_empty = yes } }
			21 = { 
				cede_province = HAL
				add_core = HAL
				change_trade_goods = fish
			}
		}
		VES = { every_neighbor_country = { add_truce_with = VES } }
		AGD = { every_neighbor_country = { add_truce_with = AGD } }
		ROG = { every_neighbor_country = { add_truce_with = ROG } }
		HOR = { every_neighbor_country = { add_truce_with = HOR } }
		RMD = { every_neighbor_country = { add_truce_with = RMD } }
		HAL = { every_neighbor_country = { add_truce_with = HAL } }
	}
}

# Huns
country_event = {
	id = et.116
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 464
		is_year = 140
		OR = {
			469 = { is_empty = yes }
			465 = { is_empty = yes }
			474 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 469 = { is_empty = yes } }
			469 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2365 = { is_empty = yes } }
			2365 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 474 = { is_empty = yes } }
			474 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2367 = { is_empty = yes } }
			2367 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 470 = { is_empty = yes } }
			470 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 472 = { is_empty = yes } }
			472 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2366 = { is_empty = yes } }
			2366 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 465 = { is_empty = yes } }
			465 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 471 = { is_empty = yes } }
			471 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2351 = { is_empty = yes } }
			2351 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2352 = { is_empty = yes } }
			2352 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2358 = { is_empty = yes } }
			2358 = { 
				cede_province = HNS
				add_core = HNS
				change_trade_goods = wool
			}
		}
		HNS = { every_neighbor_country = { add_truce_with = HNS } }
	}
}

# Ghassanids
country_event = {
	id = et.117
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 381
		is_year = 200
		OR = {
			4272 = { is_empty = yes }
			2334 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 4272 = { is_empty = yes } }
			4272 = { 
				cede_province = GHS
				add_core = GHS
				change_religion = chalcedonism
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2334 = { is_empty = yes } }
			2334 = { 
				cede_province = GHS
				add_core = GHS
				change_religion = chalcedonism
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4270 = { is_empty = yes } }
			4270 = { 
				cede_province = GHS
				add_core = GHS
				change_religion = chalcedonism
				change_trade_goods = livestock
			}
		}
		GHS = { every_neighbor_country = { add_truce_with = GHS } }
	}
}

# Lakhmids
country_event = {
	id = et.118
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 410
		is_year = 200
		409 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		409 = { 
			cede_province = LKH
			add_core = LKH
			change_religion = chalcedonism
			change_trade_goods = spices
		}
		LKH = { every_neighbor_country = { add_truce_with = LKH } }
		if = {
			limit = { 3211 = { is_empty = yes } }
			3211 = { 
				cede_province = LKH
				add_core = LKH
				change_religion = chalcedonism
				change_trade_goods = wool
			}
		}
	}
}

# Kindah
country_event = {
	id = et.119
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 394
		is_year = 400
		OR = {
			392 = { is_empty = yes }
			393 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 392 = { is_empty = yes } }
			392 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 393 = { is_empty = yes } }
			393 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 2339 = { is_empty = yes } }
			2339 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2338 = { is_empty = yes } }
			2338 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2337 = { is_empty = yes } }
			2337 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2336 = { is_empty = yes } }
			2336 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2335 = { is_empty = yes } }
			2335 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4273 = { is_empty = yes } }
			4273 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4274 = { is_empty = yes } }
			4274 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4275 = { is_empty = yes } }
			4275 = { 
				cede_province = KIN
				add_core = KIN
				change_trade_goods = livestock
			}
		}
		KIN = { every_neighbor_country = { add_truce_with = KIN } }
	}
}

# Ghana
country_event = {
	id = et.120
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 347
		is_year = 330
		OR = {
			2246 = { is_empty = yes }
			2244 = { is_empty = yes }
			1123 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2246 = { is_empty = yes } }
			2246 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2243 = { is_empty = yes } }
			2243 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2247 = { is_empty = yes } }
			2247 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1793 = { is_empty = yes } }
			1793 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2245 = { is_empty = yes } }
			2245 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 1123 = { is_empty = yes } }
			1123 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1131 = { is_empty = yes } }
			1131 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2260 = { is_empty = yes } }
			2260 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2259 = { is_empty = yes } }
			2259 = { 
				cede_province = GHA
				add_core = GHA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1132 = { is_empty = yes } }
			1132 = { 
				cede_province = TMB
				add_core = TMB
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 1129 = { is_empty = yes } }
			1129 = { 
				cede_province = TMB
				add_core = TMB
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 1130 = { is_empty = yes } }
			1130 = { 
				cede_province = TMB
				add_core = TMB
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 1128 = { is_empty = yes } }
			1128 = { 
				cede_province = TMB
				add_core = TMB
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2262 = { is_empty = yes } }
			2262 = { 
				cede_province = TMB
				add_core = TMB
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1134 = { is_empty = yes } }
			1134 = { 
				cede_province = JNN
				add_core = JNN
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 2261 = { is_empty = yes } }
			2261 = { 
				cede_province = JNN
				add_core = JNN
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2263 = { is_empty = yes } }
			2263 = { 
				cede_province = JNN
				add_core = JNN
				change_trade_goods = ivory
			}
		}
		GHA = { every_neighbor_country = { add_truce_with = GHA } }
		TMB = { every_neighbor_country = { add_truce_with = TMB } }
		JNN = { every_neighbor_country = { add_truce_with = JNN } }
	}
}

# Takrur
country_event = {
	id = et.121
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2306
		is_year = 740
		OR = {
			2237 = { is_empty = yes }
			1115 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2237 = { is_empty = yes } }
			2237 = { 
				cede_province = TKR
				add_core = TKR
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1115 = { is_empty = yes } }
			1115 = { 
				cede_province = TKR
				add_core = TKR
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1112 = { is_empty = yes } }
			1112 = { 
				cede_province = TKR
				add_core = TKR
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2240 = { is_empty = yes } }
			2240 = { 
				cede_province = TKR
				add_core = TKR
				change_trade_goods = gold
			}
		}
		TKR = { every_neighbor_country = { add_truce_with = TKR } }
	}
}

# Hausa States
country_event = {
	id = et.122
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2448
		is_year = 500
		OR = {
			1155 = { is_empty = yes }
			2281 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1155 = { is_empty = yes } }
			1155 = { 
				cede_province = HBS
				add_core = HBS
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 1149 = { is_empty = yes } }
			1149 = { 
				cede_province = HBS
				add_core = HBS
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 2279 = { is_empty = yes } }
			2279 = { 
				cede_province = HBS
				add_core = HBS
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 2281 = { is_empty = yes } }
			2281 = { 
				cede_province = RNO
				add_core = RNO
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 2280 = { is_empty = yes } }
			2280 = { 
				cede_province = RNO
				add_core = RNO
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 1154 = { is_empty = yes } }
			1154 = { 
				cede_province = RNO
				add_core = RNO
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1148 = { is_empty = yes } }
			1148 = { 
				cede_province = GOB
				add_core = GOB
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 3274 = { is_empty = yes } }
			3274 = { 
				cede_province = GOB
				add_core = GOB
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2278 = { is_empty = yes } }
			2278 = { 
				cede_province = KEB
				add_core = KEB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2293 = { is_empty = yes } }
			2293 = { 
				cede_province = KEB
				add_core = KEB
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 1150 = { is_empty = yes } }
			1150 = { 
				cede_province = KEB
				add_core = KEB
				change_trade_goods = grain
			}
		}
		HBS = { every_neighbor_country = { add_truce_with = HBS } }
		RNO = { every_neighbor_country = { add_truce_with = RNO } }
		GOB = { every_neighbor_country = { add_truce_with = GOB } }
		KEB = { every_neighbor_country = { add_truce_with = KEB } }
	}
}

# Songhai
country_event = {
	id = et.123
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2321
		is_year = 700
		OR = {
			1133 = { is_empty = yes }
			1142 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1133 = { is_empty = yes } }
			1133 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 1142 = { is_empty = yes } }
			1142 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2268 = { is_empty = yes } }
			2268 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2271 = { is_empty = yes } }
			2271 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2269 = { is_empty = yes } }
			2269 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2270 = { is_empty = yes } }
			2270 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2264 = { is_empty = yes } }
			2264 = { 
				cede_province = SON
				add_core = SON
				change_trade_goods = livestock
			}
		}
		SON = { every_neighbor_country = { add_truce_with = SON } }
	}
}

# Benin & Ife
country_event = {
	id = et.124
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2246
		is_year = 500
		OR = {
			1147 = { is_empty = yes }
			1146 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1147 = { is_empty = yes } }
			1147 = { 
				cede_province = BEN
				add_core = BEN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2289 = { is_empty = yes } }
			2289 = { 
				cede_province = BEN
				add_core = BEN
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 1146 = { is_empty = yes } }
			1146 = { 
				cede_province = IFE
				add_core = IFE
				change_trade_goods = glass
			}
		}
		if = {
			limit = { 2290 = { is_empty = yes } }
			2290 = { 
				cede_province = IFE
				add_core = IFE
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1144 = { is_empty = yes } }
			1144 = { 
				cede_province = OYO
				add_core = OYO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2291 = { is_empty = yes } }
			2291 = { 
				cede_province = OYO
				add_core = OYO
				change_trade_goods = slaves
			}
		}
		BEN = { every_neighbor_country = { add_truce_with = BEN } }
		IFE = { every_neighbor_country = { add_truce_with = IFE } }
		OYO = { every_neighbor_country = { add_truce_with = OYO } }
	}
}

# Kwararafa
country_event = {
	id = et.125
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2281
		is_year = 1380
		OR = {
			1161 = { is_empty = yes }
			1162 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1162 = { is_empty = yes } }
			1162 = { 
				cede_province = KWA
				add_core = KWA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1161 = { is_empty = yes } }
			1161 = { 
				cede_province = KWA
				add_core = KWA
				change_trade_goods = coffee
			}
		}
		KWA = { every_neighbor_country = { add_truce_with = KWA } }
	}
}

# Jamtaland
country_event = {
	id = et.126
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 22
		is_year = 700
		OR = {
			8 = { is_empty = yes }
			10 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 8 = { is_empty = yes } }
			8 = { 
				cede_province = JMT
				add_core = JMT
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 10 = { is_empty = yes } }
			10 = { 
				cede_province = JMT
				add_core = JMT
				change_trade_goods = fur
			}
		}
		JMT = { every_neighbor_country = { add_truce_with = JMT } }
	}
}

# Chudes
country_event = {
	id = et.127
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 311
		is_year = 700
		OR = {
			34 = { is_empty = yes }
			1961 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 33 = { is_empty = yes } }
			33 = { 
				cede_province = CUD
				add_core = CUD
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 34 = { is_empty = yes } }
			34 = { 
				cede_province = CUD
				add_core = CUD
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1961 = { is_empty = yes } }
			1961 = { 
				cede_province = CUD
				add_core = CUD
				change_trade_goods = fur
			}
		}
		CUD = { every_neighbor_country = { add_truce_with = CUD } }
	}
}

# Magyars
country_event = {
	id = et.128
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 300
		is_year = 550
		OR = {
			301 = { is_empty = yes }
			302 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 302 = { is_empty = yes } }
			302 = { 
				cede_province = HUN
				add_core = HUN
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4255 = { is_empty = yes } }
			4255 = { 
				cede_province = HUN
				add_core = HUN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 1778 = { is_empty = yes } }
			1778 = { 
				cede_province = HUN
				add_core = HUN
				change_trade_goods = wool
			}
		}
		HUN = { every_neighbor_country = { add_truce_with = HUN } }
	}
}

# Meryas & Meshchera
country_event = {
	id = et.129
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 294
		is_year = 550
		OR = {
			308 = { is_empty = yes }
			307 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 308 = { is_empty = yes } }
			308 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4117 = { is_empty = yes } }
			4117 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4147 = { is_empty = yes } }
			4147 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4248 = { is_empty = yes } }
			4248 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4250 = { is_empty = yes } }
			4250 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4253 = { is_empty = yes } }
			4253 = { 
				cede_province = MRY
				add_core = MRY
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 307 = { is_empty = yes } }
			307 = { 
				cede_province = MES
				add_core = MES
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 300 = { is_empty = yes } }
			300 = { 
				cede_province = MES
				add_core = MES
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 301 = { is_empty = yes } }
			301 = { 
				cede_province = MES
				add_core = MES
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4252 = { is_empty = yes } }
			4252 = { 
				cede_province = MES
				add_core = MES
				change_trade_goods = grain
			}
		}
		MRY = { every_neighbor_country = { add_truce_with = MRY } }
		MES = { every_neighbor_country = { add_truce_with = MES } }
	}
}

# Muromians & Mordvins
country_event = {
	id = et.130
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 307
		is_year = 550
		OR = {
			1956 = { is_empty = yes }
			1754 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1754 = { is_empty = yes } }
			1754 = { 
				cede_province = MUR
				add_core = MUR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1956 = { is_empty = yes } }
			1956 = { 
				cede_province = MUR
				add_core = MUR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4254 = { is_empty = yes } }
			4254 = { 
				cede_province = MUR
				add_core = MUR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2423 = { is_empty = yes } }
			2423 = { 
				cede_province = MRD
				add_core = MRD
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 304 = { is_empty = yes } }
			304 = { 
				cede_province = MRD
				add_core = MRD
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2415 = { is_empty = yes } }
			2415 = { 
				cede_province = MRD
				add_core = MRD
				change_trade_goods = grain
			}
		}
		MUR = { every_neighbor_country = { add_truce_with = MUR } }
		MRD = { every_neighbor_country = { add_truce_with = MRD } }
	}
}

# Maris
country_event = {
	id = et.131
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1956
		is_year = 550
		OR = {
			1083 = { is_empty = yes }
			1957 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1957 = { is_empty = yes } }
			1957 = { 
				cede_province = MA0
				add_core = MA0
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1753 = { is_empty = yes } }
			1753 = { 
				cede_province = MA0
				add_core = MA0
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 306 = { is_empty = yes } }
			306 = { 
				cede_province = MA0
				add_core = MA0
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1083 = { is_empty = yes } }
			1083 = { 
				cede_province = MA0
				add_core = MA0
				change_trade_goods = naval_supplies
			}
		}
		MA0 = { every_neighbor_country = { add_truce_with = MA0 } }
	}
}

# Volga Bulgaria
country_event = {
	id = et.132
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1971
		is_year = 630
		OR = {
			1081 = { is_empty = yes }
			1082 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1081 = { is_empty = yes } }
			1081 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 1082 = { is_empty = yes } }
			1082 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2422 = { is_empty = yes } }
			2422 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2421 = { is_empty = yes } }
			2421 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 303 = { is_empty = yes } }
			303 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 473 = { is_empty = yes } }
			473 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 1965 = { is_empty = yes } }
			1965 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2418 = { is_empty = yes } }
			2418 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2419 = { is_empty = yes } }
			2419 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4264 = { is_empty = yes } }
			4264 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4267 = { is_empty = yes } }
			4267 = { 
				cede_province = VBU
				add_core = VBU
				change_trade_goods = grain
			}
		}
		VBU = { every_neighbor_country = { add_truce_with = VBU } }
	}
}

# Veps, Bjarmia, Samoyed
country_event = {
	id = et.133
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 310
		is_year = 700
		OR = {
			1955 = { is_empty = yes }
			1958 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1958 = { is_empty = yes } }
			1958 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 312 = { is_empty = yes } }
			312 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 314 = { is_empty = yes } }
			314 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4259 = { is_empty = yes } }
			4259 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4261 = { is_empty = yes } }
			4261 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 2749 = { is_empty = yes } }
			2749 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4260 = { is_empty = yes } }
			4260 = { 
				cede_province = VEP
				add_core = VEP
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 313 = { is_empty = yes } }
			313 = { 
				cede_province = BJA
				add_core = BJA
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4122 = { is_empty = yes } }
			4122 = { 
				cede_province = BJA
				add_core = BJA
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4258 = { is_empty = yes } }
			4258 = { 
				cede_province = BJA
				add_core = BJA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4257 = { is_empty = yes } }
			4257 = { 
				cede_province = BJA
				add_core = BJA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4256 = { is_empty = yes } }
			4256 = { 
				cede_province = BJA
				add_core = BJA
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 2425 = { is_empty = yes } }
			2425 = { 
				cede_province = SMY
				add_core = SMY
				change_trade_goods = fur
			}
		}
		VEP = { every_neighbor_country = { add_truce_with = VEP } }
		BJA = { every_neighbor_country = { add_truce_with = BJA } }
		SMY = { every_neighbor_country = { add_truce_with = SMY } }
	}
}

# Kakisalmians
country_event = {
	id = et.134
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1961
		is_year = 700
		OR = {
			32 = { is_empty = yes }
			31 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 32 = { is_empty = yes } }
			32 = { 
				cede_province = KKS
				add_core = KKS
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 30 = { is_empty = yes } }
			30 = { 
				cede_province = KKS
				add_core = KKS
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 31 = { is_empty = yes } }
			31 = { 
				cede_province = KKS
				add_core = KKS
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4124 = { is_empty = yes } }
			4124 = { 
				cede_province = KKS
				add_core = KKS
				change_trade_goods = fur
			}
		}
		KKS = { every_neighbor_country = { add_truce_with = KKS } }
	}
}

# Tavastians
country_event = {
	id = et.135
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 31
		is_year = 700
		OR = {
			29 = { is_empty = yes }
			19 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 29 = { is_empty = yes } }
			29 = { 
				cede_province = TAV
				add_core = TAV
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 28 = { is_empty = yes } }
			28 = { 
				cede_province = TAV
				add_core = TAV
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 27 = { is_empty = yes } }
			27 = { 
				cede_province = TAV
				add_core = TAV
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 19 = { is_empty = yes } }
			19 = { 
				cede_province = TAV
				add_core = TAV
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4123 = { is_empty = yes } }
			4123 = { 
				cede_province = TAV
				add_core = TAV
				change_trade_goods = fur
			}
		}
		TAV = { every_neighbor_country = { add_truce_with = TAV } }
	}
}

# Sami
country_event = {
	id = et.136
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 19
		is_year = 700
		OR = {
			18 = { is_empty = yes }
			4113 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 4113 = { is_empty = yes } }
			4113 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 18 = { is_empty = yes } }
			18 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 11 = { is_empty = yes } }
			11 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 315 = { is_empty = yes } }
			315 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1777 = { is_empty = yes } }
			1777 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4114 = { is_empty = yes } }
			4114 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4152 = { is_empty = yes } }
			4152 = { 
				cede_province = SMI
				add_core = SMI
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1776 = { is_empty = yes } }
			1776 = { 
				cede_province = KRL
				add_core = KRL
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4151 = { is_empty = yes } }
			4151 = { 
				cede_province = KRL
				add_core = KRL
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1955 = { is_empty = yes } }
			1955 = { 
				cede_province = KRL
				add_core = KRL
				change_trade_goods = fur
			}
		}
		SMI = { every_neighbor_country = { add_truce_with = SMI } }
		KRL = { every_neighbor_country = { add_truce_with = SMI } }
	}
}

# Perm
country_event = {
	id = et.137
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1082
		is_year = 750
		OR = {
			1963 = { is_empty = yes }
			1964 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1963 = { is_empty = yes } }
			1963 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 1964 = { is_empty = yes } }
			1964 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1079 = { is_empty = yes } }
			1079 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 1972 = { is_empty = yes } }
			1972 = { 
				cede_province = UDM
				add_core = UDM
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 1962 = { is_empty = yes } }
			1962 = { 
				cede_province = UDM
				add_core = UDM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1077 = { is_empty = yes } }
			1077 = { 
				cede_province = UDM
				add_core = UDM
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 305 = { is_empty = yes } }
			305 = { 
				cede_province = UDM
				add_core = UDM
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4266 = { is_empty = yes } }
			4266 = { 
				cede_province = UDM
				add_core = UDM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4129 = { is_empty = yes } }
			4129 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1755 = { is_empty = yes } }
			1755 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4262 = { is_empty = yes } }
			4262 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4263 = { is_empty = yes } }
			4263 = { 
				cede_province = PRM
				add_core = PRM
				change_trade_goods = naval_supplies
			}
		}
		PRM = { every_neighbor_country = { add_truce_with = PRM } }
	}
}

# Mombasa, Malindi and Pate
country_event = {
	id = et.139
	title = "et.EVTNAME101"
	desc = "et.EVTDESC101"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1205
		is_year = 850
		1202 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA101"
		1202 = { 
			cede_province = MBA
			add_core = MBA
			change_trade_goods = ivory
			change_religion = sunni
		}
		if = {
			limit = { 1200 = { is_empty = yes } }
			1200 = { 
				cede_province = MBA
				add_core = MBA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1203 = { is_empty = yes } }
			1203 = { 
				cede_province = MLI
				add_core = MLI
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1204 = { is_empty = yes } }
			1204 = { 
				cede_province = MLI
				add_core = MLI
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2796 = { is_empty = yes } }
			2796 = { 
				cede_province = PTE
				add_core = PTE
				change_trade_goods = cloth
			}
		}
		every_country = {
			limit = {
				OR = {
					technology_group = indian
					technology_group = muslim
					technology_group = ottoman
					technology_group = east_african
				}
			}
			discover_province = 1200
			discover_province = 1202
			discover_province = 1203
			discover_province = 1448
		}
		MBA = { every_neighbor_country = { add_truce_with = MBA } }
		MLI = { every_neighbor_country = { add_truce_with = MLI } }
		PTE = { every_neighbor_country = { add_truce_with = PTE } }
	}
}

# Kilwa
country_event = {
	id = et.140
	title = "et.EVTNAME101"
	desc = "et.EVTDESC101"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1205
		is_year = 850
		1196 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA101"
		1196 = { 
			cede_province = ZAN
			add_core = MBA
			change_trade_goods = gold
			change_religion = sunni
		}
		if = {
			limit = { 1198 = { is_empty = yes } }
			1198 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4049 = { is_empty = yes } }
			4049 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1195 = { is_empty = yes } }
			1195 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1199 = { is_empty = yes } }
			1199 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1197 = { is_empty = yes } }
			1197 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1201 = { is_empty = yes } }
			1201 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 788 = { is_empty = yes } }
			788 = { 
				cede_province = ZAN
				add_core = ZAN
				change_trade_goods = slaves
			}
		}
		every_country = {
			limit = {
				OR = {
					technology_group = indian
					technology_group = muslim
					technology_group = ottoman
					technology_group = east_african
				}
			}
			discover_province = 1201
			discover_province = 1199
			discover_province = 1196
			discover_province = 1195
			discover_province = 1449
			discover_province = 2855
			discover_province = 2856
			discover_province = 4195
			if = { 
				limit = { NOT = { technology_group = indian } }
				discover_province = 1456
				discover_province = 1186
				discover_province = 1192
				discover_province = 2854
			}
			if = { 
				limit = { 
					NOT = { technology_group = muslim } 
					NOT = { technology_group = ottoman } 
				}
				discover_province = 1457
			}
		}
		ZAN = { every_neighbor_country = { add_truce_with = ZAN } }
	}
}

# Sofala
country_event = {
	id = et.141
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1224
		is_year = 680
		1186 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		1186 = { 
			cede_province = SFA
			add_core = SFA
			change_trade_goods = ivory
		}
		if = {
			limit = { 1192 = { is_empty = yes } }
			1192 = { 
				cede_province = SFA
				add_core = SFA
				change_trade_goods = ivory
			}
		}
		SFA = { every_neighbor_country = { add_truce_with = SFA } }
	}
}

# Zimbabwe
country_event = {
	id = et.142
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1186
		is_year = 1100
		1184 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1184 = { is_empty = yes } }
			1184 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 1185 = { is_empty = yes } }
			1185 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1188 = { is_empty = yes } }
			1188 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2950 = { is_empty = yes } }
			2950 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2951 = { is_empty = yes } }
			2951 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 3265 = { is_empty = yes } }
			3265 = { 
				cede_province = GZI
				add_core = GZI
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2952 = { is_empty = yes } }
			2952 = { 
				cede_province = MDD
				add_core = MDD
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 3264 = { is_empty = yes } }
			3264 = { 
				cede_province = KTV
				add_core = KTV
				change_trade_goods = ivory
			}
		}
		GZI = { every_neighbor_country = { add_truce_with = GZI } }
		MDD = { every_neighbor_country = { add_truce_with = MDD } }
		KTV = { every_neighbor_country = { add_truce_with = KTV } }
	}
}

# Ajuuraan
country_event = {
	id = et.143
	title = "et.EVTNAME101"
	desc = "et.EVTDESC101"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1205
		is_year = 1200
		2704 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA101"
		2775 = { 
			cede_province = AJU
			add_core = AJU
			change_trade_goods = grain
			change_religion = sunni
		}
		if = {
			limit = { 2781 = { is_empty = yes } }
			2781 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2777 = { is_empty = yes } }
			2777 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 2776 = { is_empty = yes } }
			2776 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2794 = { is_empty = yes } }
			2794 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = ivory
				change_religion = sunni
			}
		}
		if = {
			limit = { 2774 = { is_empty = yes } }
			2774 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = ivory
				change_religion = sunni
			}
		}
		if = {
			limit = { 2780 = { is_empty = yes } }
			2780 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 2785 = { is_empty = yes } }
			2785 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		AJU = { every_neighbor_country = { add_truce_with = AJU } }
	}
}

# Ifat
country_event = {
	id = et.144
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2003
		is_year = 1150
		OR = {
			1211 = { is_empty = yes }
			1212 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1212 = { is_empty = yes } }
			1212 = { 
				cede_province = IFA
				add_core = IFA
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 1211 = { is_empty = yes } }
			1211 = { 
				cede_province = IFA
				add_core = IFA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2773 = { is_empty = yes } }
			2773 = { 
				cede_province = IFA
				add_core = IFA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1208 = { is_empty = yes } }
			1208 = { 
				cede_province = IFA
				add_core = IFA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2793 = { is_empty = yes } }
			2793 = { 
				cede_province = IFA
				add_core = IFA
				change_trade_goods = grain
			}
		}
		IFA = { every_neighbor_country = { add_truce_with = IFA } }
	}
}

# Chuban
country_event = {
	id = et.145
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1969
		is_year = 240
		OR = {
			461 = { is_empty = yes }
			477 = { is_empty = yes }
			2360 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2368 = { is_empty = yes } }
			2368 = { 
				cede_province = CBN
				add_core = CBN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 477 = { is_empty = yes } }
			477 = { 
				cede_province = CBN
				add_core = CBN
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2360 = { is_empty = yes } }
			2360 = { 
				cede_province = CBN
				add_core = CBN
				change_trade_goods = wool
			}
		}
		CBN = { every_neighbor_country = { add_truce_with = CBN } }
	}
}

# Oghuz
country_event = {
	id = et.146
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 471
		is_year = 320
		OR = {
			2353 = { is_empty = yes }
			476 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2353 = { is_empty = yes } }
			2353 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 476 = { is_empty = yes } }
			476 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2359 = { is_empty = yes } }
			2359 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2369 = { is_empty = yes } }
			2369 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2361 = { is_empty = yes } }
			2361 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4692 = { is_empty = yes } }
			4692 = { 
				cede_province = OGH
				add_core = OGH
				change_trade_goods = iron
			}
		}
		OGH = { every_neighbor_country = { add_truce_with = OGH } }
	}
}

# Swaziland
country_event = {
	id = et.147
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1186
		is_year = 1700
		2021 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		4783 = { 
			cede_province = SWZ
			add_core = SWZ
			change_trade_goods = grain
		}
		SWZ = { every_neighbor_country = { add_truce_with = SWZ } }
	}
}

# Zululand
country_event = {
	id = et.148
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1186
		is_year = 1700
		OR = {
			1181 = { is_empty = yes }
			789 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 789 = { is_empty = yes } }
			789 = { 
				cede_province = ZUL
				add_core = ZUL
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1181 = { is_empty = yes } }
			1181 = { 
				cede_province = ZUL
				add_core = ZUL
				change_trade_goods = ivory
			}
		}
		ZUL = { every_neighbor_country = { add_truce_with = ZUL } }
	}
}

# Lesotho
country_event = {
	id = et.149
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1186
		is_year = 1700
		2022 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		3011 = { 
			cede_province = LES
			add_core = LES
			change_trade_goods = grain
		}
		LES = { every_neighbor_country = { add_truce_with = LES } }
	}
}

# Madagascar
country_event = {
	id = et.150
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1195
		is_year = 1400
		OR = {
			1193 = { is_empty = yes }
			4022 = { is_empty = yes }
			1792 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1193 = { is_empty = yes } }
			1193 = { 
				cede_province = MNB
				add_core = MNB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4031 = { is_empty = yes } }
			4031 = { 
				cede_province = MNB
				add_core = MNB
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4032 = { is_empty = yes } }
			4032 = { 
				cede_province = MNB
				add_core = MNB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4022 = { is_empty = yes } }
			4022 = { 
				cede_province = BOI
				add_core = BOI
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 1194 = { is_empty = yes } }
			1194 = { 
				cede_province = BOI
				add_core = BOI
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1792 = { is_empty = yes } }
			1792 = { 
				cede_province = MIR
				add_core = MIR
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4027 = { is_empty = yes } }
			4027 = { 
				cede_province = MIR
				add_core = MIR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4028 = { is_empty = yes } }
			4028 = { 
				cede_province = MFY
				add_core = MFY
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4029 = { is_empty = yes } }
			4029 = { 
				cede_province = ATS
				add_core = ATS
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4026 = { is_empty = yes } }
			4026 = { 
				cede_province = ANT
				add_core = ANT
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4025 = { is_empty = yes } }
			4025 = { 
				cede_province = BTS
				add_core = BTS
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4021 = { is_empty = yes } }
			4021 = { 
				cede_province = BTS
				add_core = BTS
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4023 = { is_empty = yes } }
			4023 = { 
				cede_province = BTS
				add_core = BTS
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4024 = { is_empty = yes } }
			4024 = { 
				cede_province = BTS
				add_core = BTS
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4030 = { is_empty = yes } }
			4030 = { 
				cede_province = BRX
				add_core = BRX
				change_trade_goods = wool
			}
		}
	}
}

# Langkasuka
country_event = {
	id = et.151
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 591
		is_year = 110
		OR = {
			594 = { is_empty = yes }
			595 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 594 = { is_empty = yes } }
			594 = { 
				cede_province = LGK
				add_core = LGK
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 593 = { is_empty = yes } }
			593 = { 
				cede_province = LGK
				add_core = LGK
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2390 = { is_empty = yes } }
			2390 = { 
				cede_province = LGK
				add_core = LGK
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2391 = { is_empty = yes } }
			2391 = { 
				cede_province = LGK
				add_core = LGK
				change_trade_goods = fish
			}
		}
		LGK = { every_neighbor_country = { add_truce_with = LGK } }
	}
}

# Salakanagara
country_event = {
	id = et.152
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 605
		is_year = 100
		OR = {
			630 = { is_empty = yes }
			624 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 630 = { is_empty = yes } }
			630 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 624 = { is_empty = yes } }
			624 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 625 = { is_empty = yes } }
			625 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2687 = { is_empty = yes } }
			2687 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2688 = { is_empty = yes } }
			2688 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4790 = { is_empty = yes } }
			4790 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4791 = { is_empty = yes } }
			4791 = { 
				cede_province = SLK
				add_core = SLK
				change_trade_goods = spices
			}
		}
		SLK = { every_neighbor_country = { add_truce_with = SLK } }
	}
}

# Sumatra 1
country_event = {
	id = et.153
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2392
		is_year = 180
		OR = {
			619 = { is_empty = yes }
			620 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2675 = { is_empty = yes } }
			2675 = { 
				cede_province = RIA
				add_core = RIA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 620 = { is_empty = yes } }
			620 = { 
				cede_province = RIA
				add_core = RIA
				change_trade_goods = chinaware
			}
		}
		if = {
			limit = { 4816 = { is_empty = yes } }
			4816 = { 
				cede_province = JMB
				add_core = JMB
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2676 = { is_empty = yes } }
			2676 = { 
				cede_province = JMB
				add_core = JMB
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 2677 = { is_empty = yes } }
			2677 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = incense
			}
		}
		if = {
			limit = { 4844 = { is_empty = yes } }
			4844 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 659 = { is_empty = yes } }
			659 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2680 = { is_empty = yes } }
			2680 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2681 = { is_empty = yes } }
			2681 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2682 = { is_empty = yes } }
			2682 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4817 = { is_empty = yes } }
			4817 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4818 = { is_empty = yes } }
			4818 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 619 = { is_empty = yes } }
			619 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = incense
			}
		}
		if = {
			limit = { 2685 = { is_empty = yes } }
			2685 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4811 = { is_empty = yes } }
			4811 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = spices
			}
		}
		RIA = { every_neighbor_country = { add_truce_with = RIA } }
		JMB = { every_neighbor_country = { add_truce_with = JMB } }
		KOY = { every_neighbor_country = { add_truce_with = KOY } }
		MKB = { every_neighbor_country = { add_truce_with = MKB } }
		BRS = { every_neighbor_country = { add_truce_with = BRS } }
	}
}

# West Borneo
country_event = {
	id = et.154
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 599
		is_year = 580
		OR = {
			636 = { is_empty = yes }
			2705 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 636 = { is_empty = yes } }
			636 = { 
				cede_province = BEI
				add_core = BEI
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 637 = { is_empty = yes } }
			637 = { 
				cede_province = BEI
				add_core = BEI
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2704 = { is_empty = yes } }
			2704 = { 
				cede_province = BEI
				add_core = BEI
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4805 = { is_empty = yes } }
			4805 = { 
				cede_province = BEI
				add_core = BEI
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4806 = { is_empty = yes } }
			4806 = { 
				cede_province = BEI
				add_core = BEI
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4804 = { is_empty = yes } }
			4804 = { 
				cede_province = SRW
				add_core = SRW
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2705 = { is_empty = yes } }
			2705 = { 
				cede_province = SRW
				add_core = SRW
				change_trade_goods = gems
			}
		}
		if = {
			limit = { 640 = { is_empty = yes } }
			640 = { 
				cede_province = SMB
				add_core = SMB
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4843 = { is_empty = yes } }
			4843 = { 
				cede_province = SLB
				add_core = SLB
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 2706 = { is_empty = yes } }
			2706 = { 
				cede_province = TNP
				add_core = TNP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 2708 = { is_empty = yes } }
			2708 = { 
				cede_province = TNP
				add_core = TNP
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4802 = { is_empty = yes } }
			4802 = { 
				cede_province = TNP
				add_core = TNP
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 4803 = { is_empty = yes } }
			4803 = { 
				cede_province = TNP
				add_core = TNP
				change_trade_goods = grain
			}
		}
		BEI = { every_neighbor_country = { add_truce_with = BEI } }
		SRW = { every_neighbor_country = { add_truce_with = SRW } }
		SMB = { every_neighbor_country = { add_truce_with = SMB } }
		SLB = { every_neighbor_country = { add_truce_with = SLB } }
		TNP = { every_neighbor_country = { add_truce_with = TNP } }
	}
}

# Cuanman & Mong Mao
country_event = {
	id = et.156
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 662
		is_year = 500
		OR = {
			661 = { is_empty = yes }
			2166 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 661 = { is_empty = yes } }
			661 = { 
				cede_province = CNM
				add_core = CNM
				change_trade_goods = tea
			}
		}
		if = {
			limit = { 2165 = { is_empty = yes } }
			2165 = { 
				cede_province = CNM
				add_core = CNM
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2167 = { is_empty = yes } }
			2167 = { 
				cede_province = CNM
				add_core = CNM
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2166 = { is_empty = yes } }
			2166 = { 
				cede_province = MMA
				add_core = MMA
				change_trade_goods = tropical_wood
			}
		}
		CNM = { every_neighbor_country = { add_truce_with = CNM } }
		MMA = { every_neighbor_country = { add_truce_with = MMA } }
	}
}

# Mataram
country_event = {
	id = et.157
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 630
		is_year = 710
		OR = {
			2690 = { is_empty = yes }
			629 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2690 = { is_empty = yes } }
			2690 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 629 = { is_empty = yes } }
			629 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = cotton
			}
		}
		if = {
			limit = { 626 = { is_empty = yes } }
			626 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2689 = { is_empty = yes } }
			2689 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = sugar
			}
		}
		if = {
			limit = { 628 = { is_empty = yes } }
			628 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2691 = { is_empty = yes } }
			2691 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4792 = { is_empty = yes } }
			4792 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4793 = { is_empty = yes } }
			4793 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4794 = { is_empty = yes } }
			4794 = { 
				cede_province = MTR
				add_core = MTR
				change_trade_goods = fish
			}
		}
		MTR = { every_neighbor_country = { add_truce_with = MTR } }
	}
}

# Bali
country_event = {
	id = et.158
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 630
		is_year = 880
		OR = {
			631 = { is_empty = yes }
			627 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 631 = { is_empty = yes } }
			631 = { 
				cede_province = BLI
				add_core = BLI
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 627 = { is_empty = yes } }
			627 = { 
				cede_province = BLM
				add_core = BLM
				change_trade_goods = cotton
			}
		}
		BLI = { every_neighbor_country = { add_truce_with = BLI } }
		BLM = { every_neighbor_country = { add_truce_with = BLM } }
	}
}

# Pasai
country_event = {
	id = et.159
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 620
		is_year = 1180
		OR = {
			617 = { is_empty = yes }
			2673 = { is_empty = yes }
			618 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2673 = { is_empty = yes } }
			2673 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 617 = { is_empty = yes } }
			617 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 618 = { is_empty = yes } }
			618 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2674 = { is_empty = yes } }
			2674 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2685 = { is_empty = yes } }
			2685 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 619 = { is_empty = yes } }
			619 = { 
				cede_province = PSA
				add_core = PSA
				change_trade_goods = tropical_wood
			}
		}
		PSA = { every_neighbor_country = { add_truce_with = PSA } }
	}
}

# Sulawesi
country_event = {
	id = et.160
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 627
		is_year = 1240
		OR = {
			641 = { is_empty = yes }
			2715 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 641 = { is_empty = yes } }
			641 = { 
				cede_province = MKS
				add_core = MKS
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4797 = { is_empty = yes } }
			4797 = { 
				cede_province = MKS
				add_core = MKS
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4795 = { is_empty = yes } }
			4795 = { 
				cede_province = BNE
				add_core = BNE
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4798 = { is_empty = yes } }
			4798 = { 
				cede_province = BNE
				add_core = BNE
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2715 = { is_empty = yes } }
			2715 = { 
				cede_province = LUW
				add_core = LUW
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 642 = { is_empty = yes } }
			642 = { 
				cede_province = LUW
				add_core = LUW
				change_trade_goods = spices
			}
		}
		MKS = { every_neighbor_country = { add_truce_with = MKS } }
		BNE = { every_neighbor_country = { add_truce_with = BNE } }
		LUW = { every_neighbor_country = { add_truce_with = LUW } }
	}
}

# Tidung
country_event = {
	id = et.161
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2710
		is_year = 900
		OR = {
			2709 = { is_empty = yes }
			2711 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		if = {
			limit = { 2709 = { is_empty = yes } }
			2709 = { 
				cede_province = TDN
				add_core = TDN
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 2711 = { is_empty = yes } }
			2711 = { 
				cede_province = TDN
				add_core = TDN
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 2703 = { is_empty = yes } }
			2703 = { 
				cede_province = TDN
				add_core = TDN
				change_trade_goods = spices
			}
		}
		TDN = { every_neighbor_country = { add_truce_with = TDN } }
	}
}

# Spice Islands
country_event = {
	id = et.162
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 627
		is_year = 1100
		OR = {
			649 = { is_empty = yes }
			650 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 649 = { is_empty = yes } }
			649 = { 
				cede_province = TER
				add_core = TER
				change_trade_goods = cloves
			}
		}
		if = {
			limit = { 650 = { is_empty = yes } }
			650 = { 
				cede_province = TID
				add_core = TID
				change_trade_goods = cloves
			}
		}
	}
}

# Sulu
country_event = {
	id = et.163
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 636
		is_year = 1440
		OR = {
			651 = { is_empty = yes }
			653 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 651 = { is_empty = yes } }
			651 = { 
				cede_province = SUL
				add_core = SUL
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 653 = { is_empty = yes } }
			653 = { 
				cede_province = SUL
				add_core = SUL
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 637 = { is_empty = yes } }
			637 = { 
				cede_province = SUL
				add_core = SUL
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2703 = { is_empty = yes } }
			2703 = { 
				cede_province = SUL
				add_core = SUL
				change_trade_goods = tropical_wood
			}
		}
	}
}

# Krivichs
country_event = {
	id = et.164
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 292
		is_year = 500
		OR = {
			275 = { is_empty = yes }
			771 = { is_empty = yes }
			293 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 275 = { is_empty = yes } }
			275 = { 
				cede_province = KRI
				add_core = KRI
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 771 = { is_empty = yes } }
			771 = { 
				cede_province = KRI
				add_core = KRI
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 293 = { is_empty = yes } }
			293 = { 
				cede_province = KRI
				add_core = KRI
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4245 = { is_empty = yes } }
			4245 = { 
				cede_province = KRI
				add_core = KRI
				change_trade_goods = cloth
			}
		}
		KRI = { every_neighbor_country = { add_truce_with = KRI } }
	}
}

# Ilmen Slavs
country_event = {
	id = et.165
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 36
		is_year = 500
		OR = {
			310 = { is_empty = yes }
			274 = { is_empty = yes }
			311 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"

		if = {
			limit = { 274 = { is_empty = yes } }
			274 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 310 = { is_empty = yes } }
			310 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1960 = { is_empty = yes } }
			1960 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 311 = { is_empty = yes } }
			311 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4148 = { is_empty = yes } }
			4148 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4243 = { is_empty = yes } }
			4243 = { 
				cede_province = ILM
				add_core = ILM
				change_trade_goods = grain
			}
		}
		ILM = { every_neighbor_country = { add_truce_with = ILM } }
	}
}

# Southern Somali tribes
country_event = {
	id = et.166
	title = "et.EVTNAME101"
	desc = "et.EVTDESC101"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1205
		is_year = 850
		OR = {
			2774 = { is_empty = yes }
			2781 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA101"
		if = {
			limit = { 2794 = { is_empty = yes } }
			2794 = { 
				cede_province = TNN
				add_core = TNN
				change_trade_goods = livestock
				change_religion = sunni
			}
		}
		if = {
			limit = { 2774 = { is_empty = yes } }
			2774 = { 
				cede_province = TNN
				add_core = TNN
				change_trade_goods = fish
				change_religion = sunni
			}
		}
		if = {
			limit = { 2776 = { is_empty = yes } }
			2776 = { 
				cede_province = TNN
				add_core = TNN
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2777 = { is_empty = yes } }
			2777 = { 
				cede_province = TNN
				add_core = TNN
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2781 = { is_empty = yes } }
			2781 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2780 = { is_empty = yes } }
			2780 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = livestock
				change_religion = sunni
			}
		}
		if = {
			limit = { 2785 = { is_empty = yes } }
			2785 = { 
				cede_province = AJU
				add_core = AJU
				change_trade_goods = iron
				change_religion = sunni
			}
		}
		if = {
			limit = { 2783 = { is_empty = yes } }
			2783 = { 
				cede_province = HOB
				add_core = HOB
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2795 = { is_empty = yes } }
			2795 = { 
				cede_province = HOB
				add_core = HOB
				change_trade_goods = livestock
				change_religion = sunni
			}
		}
		if = {
			limit = { 2782 = { is_empty = yes } }
			2782 = { 
				cede_province = HOB
				add_core = HOB
				change_trade_goods = livestock
				change_religion = sunni
			}
		}
		if = {
			limit = { 2775 = { is_empty = yes } }
			2775 = { 
				cede_province = MDI
				add_core = MDI
				change_trade_goods = naval_supplies
				change_religion = sunni
			}
		}
		TNN = { every_neighbor_country = { add_truce_with = TNN } }
		AJU = { every_neighbor_country = { add_truce_with = AJU } }
		HOB = { every_neighbor_country = { add_truce_with = HOB } }
		every_country = {
			limit = {
				OR = {
					technology_group = indian
					technology_group = muslim
					technology_group = ottoman
					technology_group = east_african
				}
			}
			discover_province = 1205
			discover_province = 1204
			discover_province = 1447
			discover_province = 2698
			discover_province = 2699
			discover_province = 2701
			discover_province = 2704
			discover_province = 2706
			discover_province = 2707
			discover_province = 2708
		}
	}
}

# Later Somali tribes
country_event = {
	id = et.167
	title = "et.EVTNAME101"
	desc = "et.EVTDESC101"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2790
		is_year = 1190
		OR = {
			2792 = { is_empty = yes }
			2784 = { is_empty = yes }
			1207 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA101"
		if = {
			limit = { 2789 = { is_empty = yes } }
			2789 = { 
				cede_province = WAR
				add_core = WAR
				change_trade_goods = ivory
				change_religion = sunni
			}
		}
		if = {
			limit = { 2786 = { is_empty = yes } }
			2786 = { 
				cede_province = WAR
				add_core = WAR
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2790 = { is_empty = yes } }
			2790 = { 
				cede_province = WAR
				add_core = WAR
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2792 = { is_empty = yes } }
			2792 = { 
				cede_province = WAR
				add_core = WAR
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 2024 = { is_empty = yes } }
			2024 = { 
				cede_province = MRE
				add_core = MRE
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2784 = { is_empty = yes } }
			2784 = { 
				cede_province = MRE
				add_core = MRE
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 1206 = { is_empty = yes } }
			1206 = { 
				cede_province = MRE
				add_core = MRE
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 2788 = { is_empty = yes } }
			2788 = { 
				cede_province = MRE
				add_core = MRE
				change_trade_goods = fish
				change_religion = sunni
			}
		}
		if = {
			limit = { 2778 = { is_empty = yes } }
			2778 = { 
				cede_province = MRE
				add_core = MRE
				change_trade_goods = wool
				change_religion = sunni
			}
		}
		if = {
			limit = { 1207 = { is_empty = yes } }
			1207 = { 
				cede_province = OGD
				add_core = OGD
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 2779 = { is_empty = yes } }
			2779 = { 
				cede_province = OGD
				add_core = OGD
				change_trade_goods = grain
				change_religion = sunni
			}
		}
		if = {
			limit = { 1208 = { is_empty = yes } }
			1208 = { 
				cede_province = OGD
				add_core = OGD
				change_trade_goods = livestock
				change_religion = sunni
			}
		}
		WAR = { every_neighbor_country = { add_truce_with = WAR } }
		MRE = { every_neighbor_country = { add_truce_with = MRE } }
		OGD = { every_neighbor_country = { add_truce_with = OGD } }
	}
}

# Borgu
country_event = {
	id = et.168
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1136
		is_year = 1220
		OR = {
			2292 = { is_empty = yes }
			3273 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2292 = { is_empty = yes } }
			2292 = { 
				cede_province = BOR
				add_core = BOR
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 1143 = { is_empty = yes } }
			1143 = { 
				cede_province = BOR
				add_core = BOR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 3273 = { is_empty = yes } }
			3273 = { 
				cede_province = BOR
				add_core = BOR
				change_trade_goods = tropical_wood
			}
		}
		BOR = { every_neighbor_country = { add_truce_with = BOR } }
	}
}

# Denkyira
country_event = {
	id = et.169
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2254
		is_year = 1380
		OR = {
			2257 = { is_empty = yes }
			2258 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2257 = { is_empty = yes } }
			2257 = { 
				cede_province = DNK
				add_core = DNK
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 2258 = { is_empty = yes } }
			2258 = { 
				cede_province = DNK
				add_core = DNK
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 1138 = { is_empty = yes } }
			1138 = { 
				cede_province = DNK
				add_core = DNK
				change_trade_goods = gold
			}
		}
		DNK = { every_neighbor_country = { add_truce_with = DNK } }
	}
}

# Kangaba
country_event = {
	id = et.170
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1123
		is_year = 740
		OR = {
			1124 = { is_empty = yes }
			2248 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1124 = { is_empty = yes } }
			1124 = { 
				cede_province = KAG
				add_core = KAG
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1120 = { is_empty = yes } }
			1120 = { 
				cede_province = KAG
				add_core = KAG
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2248 = { is_empty = yes } }
			2248 = { 
				cede_province = KAG
				add_core = KAG
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1121 = { is_empty = yes } }
			1121 = { 
				cede_province = KAG
				add_core = KAG
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2249 = { is_empty = yes } }
			2249 = { 
				cede_province = KAG
				add_core = KAG
				change_trade_goods = spices
			}
		}
		KAG = { every_neighbor_country = { add_truce_with = KAG } }
	}
}

# Jolof
country_event = {
	id = et.171
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2310
		is_year = 1320
		OR = {
			1116 = { is_empty = yes }
			1113 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1116 = { is_empty = yes } }
			1116 = { 
				cede_province = JOL
				add_core = JOL
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1113 = { is_empty = yes } }
			1113 = { 
				cede_province = JOL
				add_core = JOL
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 3006 = { is_empty = yes } }
			3006 = { 
				cede_province = JOL
				add_core = JOL
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 2239 = { is_empty = yes } }
			2239 = { 
				cede_province = JOL
				add_core = JOL
				change_trade_goods = slaves
			}
		}
		JOL = { every_neighbor_country = { add_truce_with = JOL } }
	}
}

# Kaabu
country_event = {
	id = et.172
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2309
		is_year = 1220
		OR = {
			1114 = { is_empty = yes }
			2238 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1114 = { is_empty = yes } }
			1114 = { 
				cede_province = KBU
				add_core = KBU
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2238 = { is_empty = yes } }
			2238 = { 
				cede_province = KBU
				add_core = KBU
				change_trade_goods = ivory
			}
		}
		KBU = { every_neighbor_country = { add_truce_with = KBU } }
	}
}

# Mossi
country_event = {
	id = et.173
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2321
		is_year = 1020
		OR = {
			1137 = { is_empty = yes }
			1136 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1137 = { is_empty = yes } }
			1137 = { 
				cede_province = WGD
				add_core = WGD
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2265 = { is_empty = yes } }
			2265 = { 
				cede_province = WGD
				add_core = WGD
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 1135 = { is_empty = yes } }
			1135 = { 
				cede_province = ZND
				add_core = ZND
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 1136 = { is_empty = yes } }
			1136 = { 
				cede_province = GUR
				add_core = GUR
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2266 = { is_empty = yes } }
			2266 = { 
				cede_province = GUR
				add_core = GUR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2267 = { is_empty = yes } }
			2267 = { 
				cede_province = TEN
				add_core = TEN
				change_trade_goods = livestock
			}
		}
		WGD = { every_neighbor_country = { add_truce_with = WGD } }
		ZND = { every_neighbor_country = { add_truce_with = ZND } }
		GUR = { every_neighbor_country = { add_truce_with = GUR } }
		TEN = { every_neighbor_country = { add_truce_with = TEN } }
	}
}

# Kong
country_event = {
	id = et.174
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2309
		is_year = 1120
		OR = {
			1125 = { is_empty = yes }
			2252 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1125 = { is_empty = yes } }
			1125 = { 
				cede_province = KNG
				add_core = KNG
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2252 = { is_empty = yes } }
			2252 = { 
				cede_province = KNG
				add_core = KNG
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2253 = { is_empty = yes } }
			2253 = { 
				cede_province = KNG
				add_core = KNG
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1122 = { is_empty = yes } }
			1122 = { 
				cede_province = KNG
				add_core = KNG
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 2250 = { is_empty = yes } }
			2250 = { 
				cede_province = KNG
				add_core = KNG
				change_trade_goods = iron
			}
		}
		KNG = { every_neighbor_country = { add_truce_with = KNG } }
	}
}

# Bonoman
country_event = {
	id = et.175
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1134
		is_year = 1020
		OR = {
			2254 = { is_empty = yes }
			2255 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2254 = { is_empty = yes } }
			2254 = { 
				cede_province = BON
				add_core = BON
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 2255 = { is_empty = yes } }
			2255 = { 
				cede_province = BON
				add_core = BON
				change_trade_goods = coffee
			}
		}
		BON = { every_neighbor_country = { add_truce_with = BON } }
	}
}

# Dagbon
country_event = {
	id = et.176
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1136
		is_year = 1220
		OR = {
			2256 = { is_empty = yes }
			2295 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2256 = { is_empty = yes } }
			2256 = { 
				cede_province = DGB
				add_core = DGB
				change_trade_goods = dyes
			}
		}
		if = {
			limit = { 2295 = { is_empty = yes } }
			2295 = { 
				cede_province = DGB
				add_core = DGB
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 3269 = { is_empty = yes } }
			3269 = { 
				cede_province = DGB
				add_core = DGB
				change_trade_goods = tropical_wood
			}
		}
		DGB = { every_neighbor_country = { add_truce_with = DGB } }
	}
}

# Allada
country_event = {
	id = et.177
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2291
		is_year = 1080
		1140 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		1141 = { 
			cede_province = ARR
			add_core = ARR
			change_trade_goods = slaves
		}
		1140 = { 
			cede_province = ARR
			add_core = ARR
			change_trade_goods = slaves
		}
		ARR = { every_neighbor_country = { add_truce_with = ARR } }
	}
}

# Air
country_event = {
	id = et.178
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2284
		is_year = 1330
		OR = {
			2274 = { is_empty = yes }
			2272 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2274 = { is_empty = yes } }
			2274 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 2273 = { is_empty = yes } }
			2273 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2272 = { is_empty = yes } }
			2272 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 2276 = { is_empty = yes } }
			2276 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2277 = { is_empty = yes } }
			2277 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 1156 = { is_empty = yes } }
			1156 = { 
				cede_province = AIR
				add_core = AIR
				change_trade_goods = livestock
			}
		}
		AIR = { every_neighbor_country = { add_truce_with = AIR } }
	}
}

# Nri
country_event = {
	id = et.179
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2289
		is_year = 940
		OR = {
			1151 = { is_empty = yes }
			2294 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1151 = { is_empty = yes } }
			1151 = { 
				cede_province = NR1
				add_core = NR1
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2294 = { is_empty = yes } }
			2294 = { 
				cede_province = NR1
				add_core = NR1
				change_trade_goods = slaves
			}
		}
		NR1 = { every_neighbor_country = { add_truce_with = NR1 } }
	}
}

# Aro
country_event = {
	id = et.180
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1151
		is_year = 1650
		1163 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		1163 = { 
			cede_province = ARO
			add_core = ARO
			change_trade_goods = slaves
		}
		ARO = { every_neighbor_country = { add_truce_with = ARO } }
	}
}

# Nupe
country_event = {
	id = et.181
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1146
		is_year = 1280
		OR = {
			1152 = { is_empty = yes }
			1153 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1145 = { is_empty = yes } }
			1145 = { 
				cede_province = NUP
				add_core = NUP
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 1153 = { is_empty = yes } }
			1153 = { 
				cede_province = NUP
				add_core = NUP
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 1152 = { is_empty = yes } }
			1152 = { 
				cede_province = IDH
				add_core = IDH
				change_trade_goods = ivory
			}
		}
		NUP = { every_neighbor_country = { add_truce_with = NUP } }
		IDH = { every_neighbor_country = { add_truce_with = IDH } }
	}
}

# Kanem-Bornu
country_event = {
	id = et.182
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2055
		is_year = 680
		OR = {
			2288 = { is_empty = yes }
			2284 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1156 = { is_empty = yes } }
			1156 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 2284 = { is_empty = yes } }
			2284 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 1158 = { is_empty = yes } }
			1158 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = paper
			}
		}
		if = {
			limit = { 1159 = { is_empty = yes } }
			1159 = { 
				cede_province = SA0
				add_core = SA0
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1157 = { is_empty = yes } }
			1157 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1160 = { is_empty = yes } }
			1160 = { 
				cede_province = SA0
				add_core = SA0
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 2283 = { is_empty = yes } }
			2283 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2285 = { is_empty = yes } }
			2285 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2282 = { is_empty = yes } }
			2282 = { 
				cede_province = KBO
				add_core = KBO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2288 = { is_empty = yes } }
			2288 = { 
				cede_province = YAO
				add_core = YAO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2287 = { is_empty = yes } }
			2287 = { 
				cede_province = SA0
				add_core = SA0
				change_trade_goods = grain
			}
		}
		KBO = { every_neighbor_country = { add_truce_with = KBO } }
		SA0 = { every_neighbor_country = { add_truce_with = SA0 } }
		YAO = { every_neighbor_country = { add_truce_with = YAO } }
	}
}

# Alodia & Harla
country_event = {
	id = et.183
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2772
		is_year = 480
		OR = {
			1222 = { is_empty = yes }
			1225 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1222 = { is_empty = yes } }
			1222 = { 
				cede_province = ALO
				add_core = ALO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1225 = { is_empty = yes } }
			1225 = { 
				cede_province = ALO
				add_core = ALO
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 2799 = { is_empty = yes } }
			2799 = { 
				cede_province = ALO
				add_core = ALO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4033 = { is_empty = yes } }
			4033 = { 
				cede_province = ALO
				add_core = ALO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1211 = { is_empty = yes } }
			1211 = { 
				cede_province = HRL
				add_core = HRL
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 2764 = { is_empty = yes } }
			2764 = { 
				cede_province = HRL
				add_core = HRL
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 2773 = { is_empty = yes } }
			2773 = { 
				cede_province = HRL
				add_core = HRL
				change_trade_goods = coffee
			}
		}
		ALO = { every_neighbor_country = { add_truce_with = ALO } }
		HRL = { every_neighbor_country = { add_truce_with = HRL } }
	}
}

# Gotland
country_event = {
	id = et.184
	title = "et.EVTNAME102"
	desc = "et.EVTDESC102"
	picture = SHIP_SAILING_eventPicture

	fire_only_once = yes

	trigger = {
		religion = norse_pagan_reformed
		dip_tech = 28
		num_of_ports = 1
		25 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = "et.EVTOPTA101"
		25 = { 
			cede_province = GOT
			add_core = GOT
			change_trade_goods = wool
		}
		every_country = {
			limit = {
				religion = norse_pagan_reformed
			}
			discover_province = 25
			discover_province = 1255
			discover_province = 1926
			discover_province = 1927
		}
	}
}

# Pahang
country_event = {
	id = et.185
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2393
		is_year = 450
		OR = {
			598 = { is_empty = yes }
			4814 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 598 = { is_empty = yes } }
			598 = { 
				cede_province = PAH
				add_core = PAH
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4814 = { is_empty = yes } }
			4814 = { 
				cede_province = PAH
				add_core = PAH
				change_trade_goods = tropical_wood
			}
		}
		PAH = { every_neighbor_country = { add_truce_with = PAH } }
	}
}

# Southeast Asia
country_event = {
	id = et.186
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 4838
		is_year = 530
		OR = {
			615 = { is_empty = yes }
			611 = { is_empty = yes }
			608 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 602 = { is_empty = yes } }
			602 = { 
				cede_province = SGH
				add_core = SGH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1817 = { is_empty = yes } }
			1817 = { 
				cede_province = SGH
				add_core = SGH
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4842 = { is_empty = yes } }
			4842 = { 
				cede_province = SGH
				add_core = SGH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 615 = { is_empty = yes } }
			615 = { 
				cede_province = LUA
				add_core = LUA
				change_trade_goods = chinaware
				change_culture = lao
			}
		}
		if = {
			limit = { 4837 = { is_empty = yes } }
			4837 = { 
				cede_province = LUA
				add_core = LUA
				change_trade_goods = ivory
				change_culture = lao
			}
		}
		if = {
			limit = { 1844 = { is_empty = yes } }
			1844 = { 
				cede_province = MPH
				add_core = MPH
				change_trade_goods = grain
				change_culture = lao
			}
		}
		if = {
			limit = { 660 = { is_empty = yes } }
			660 = { 
				cede_province = CGH
				add_core = CGH
				change_trade_goods = tea
			}
		}
		if = {
			limit = { 2381 = { is_empty = yes } }
			2381 = { 
				cede_province = CGH
				add_core = CGH
				change_trade_goods = tea
			}
		}
		if = {
			limit = { 614 = { is_empty = yes } }
			614 = { 
				cede_province = CTB
				add_core = CTB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2385 = { is_empty = yes } }
			2385 = { 
				cede_province = CTB
				add_core = CTB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 611 = { is_empty = yes } }
			611 = { 
				cede_province = SGT
				add_core = SGT
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2384 = { is_empty = yes } }
			2384 = { 
				cede_province = SGT
				add_core = SGT
				change_trade_goods = silk
			}
		}
		if = {
			limit = { 2382 = { is_empty = yes } }
			2382 = { 
				cede_province = BR0
				add_core = BR0
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4840 = { is_empty = yes } }
			4840 = { 
				cede_province = KTN
				add_core = KTN
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 608 = { is_empty = yes } }
			608 = { 
				cede_province = OYX
				add_core = OYX
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4823 = { is_empty = yes } }
			4823 = { 
				cede_province = JAR
				add_core = JAR
				change_trade_goods = tea
			}
		}
		if = {
			limit = { 2375 = { is_empty = yes } }
			2375 = { 
				cede_province = RHA
				add_core = RHA
				change_trade_goods = tea
			}
		}
		if = {
			limit = { 4824 = { is_empty = yes } }
			4824 = { 
				cede_province = KOH
				add_core = KOH
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 2371 = { is_empty = yes } }
			2371 = { 
				cede_province = TKH
				add_core = TKH
				change_trade_goods = tea
			}
		}
		SGH = { every_neighbor_country = { add_truce_with = SGH } }
		LUA = { every_neighbor_country = { add_truce_with = LUA } }
		MPH = { every_neighbor_country = { add_truce_with = MPH } }
		CGH = { every_neighbor_country = { add_truce_with = CGH } }
		CTB = { every_neighbor_country = { add_truce_with = CTB } }
		SGT = { every_neighbor_country = { add_truce_with = SGT } }
		BR0 = { every_neighbor_country = { add_truce_with = BR0 } }
		KTN = { every_neighbor_country = { add_truce_with = KTN } }
		OYX = { every_neighbor_country = { add_truce_with = OYX } }
		JAR = { every_neighbor_country = { add_truce_with = JAR } }
		RHA = { every_neighbor_country = { add_truce_with = RHA } }
		KOH = { every_neighbor_country = { add_truce_with = KOH } }
		TKH = { every_neighbor_country = { add_truce_with = TKH } }
	}
}

# Empty slot 187

# Kutai & Banjar
country_event = {
	id = et.188
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 636
		is_year = 280
		OR = {
			638 = { is_empty = yes }
			2710 = { is_empty = yes }
			639 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 638 = { is_empty = yes } }
			638 = { 
				cede_province = KUT
				add_core = KUT
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2712 = { is_empty = yes } }
			2712 = { 
				cede_province = KUT
				add_core = KUT
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2710 = { is_empty = yes } }
			2710 = { 
				cede_province = KUT
				add_core = KUT
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4799 = { is_empty = yes } }
			4799 = { 
				cede_province = KUT
				add_core = KUT
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 639 = { is_empty = yes } }
			639 = { 
				cede_province = BNJ
				add_core = BNJ
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4800 = { is_empty = yes } }
			4800 = { 
				cede_province = BNJ
				add_core = BNJ
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4801 = { is_empty = yes } }
			4801 = { 
				cede_province = BNJ
				add_core = BNJ
				change_trade_goods = tropical_wood
			}
		}
		KUT = { every_neighbor_country = { add_truce_with = KUT } }
		BNJ = { every_neighbor_country = { add_truce_with = BNJ } }
	}
}

# Buton
country_event = {
	id = et.189
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 641
		is_year = 1380
		2866 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		2716 = { 
			cede_province = BTN
			add_core = BTN
			change_trade_goods = spices
		}
		BTN = { every_neighbor_country = { add_truce_with = BTN } }
	}
}

# Central Africa
country_event = {
	id = et.190
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1184
		is_year = 1400
		OR = {
			4040 = { is_empty = yes }
			4064 = { is_empty = yes }
			4097 = { is_empty = yes }
			1170 = { is_empty = yes }
			4089 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 4039 = { is_empty = yes } }
			4039 = { 
				cede_province = LDU
				add_core = LDU
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 4047 = { is_empty = yes } }
			4047 = { 
				cede_province = LDU
				add_core = LDU
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4040 = { is_empty = yes } }
			4040 = { 
				cede_province = MRA
				add_core = MRA
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4037 = { is_empty = yes } }
			4037 = { 
				cede_province = MRA
				add_core = MRA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4048 = { is_empty = yes } }
			4048 = { 
				cede_province = MRA
				add_core = MRA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4034 = { is_empty = yes } }
			4034 = { 
				cede_province = MKU
				add_core = MKU
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4038 = { is_empty = yes } }
			4038 = { 
				cede_province = MKU
				add_core = MKU
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4045 = { is_empty = yes } }
			4045 = { 
				cede_province = TBK
				add_core = TBK
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4044 = { is_empty = yes } }
			4044 = { 
				cede_province = TBK
				add_core = TBK
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4062 = { is_empty = yes } }
			4062 = { 
				cede_province = BSG
				add_core = BSG
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4064 = { is_empty = yes } }
			4064 = { 
				cede_province = BUG
				add_core = BUG
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 4065 = { is_empty = yes } }
			4065 = { 
				cede_province = BNY
				add_core = BNY
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 4074 = { is_empty = yes } }
			4074 = { 
				cede_province = BNY
				add_core = BNY
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4066 = { is_empty = yes } }
			4066 = { 
				cede_province = NKO
				add_core = NKO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4067 = { is_empty = yes } }
			4067 = { 
				cede_province = RWA
				add_core = RWA
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4068 = { is_empty = yes } }
			4068 = { 
				cede_province = RWA
				add_core = RWA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4070 = { is_empty = yes } }
			4070 = { 
				cede_province = BUU
				add_core = BUU
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4063 = { is_empty = yes } }
			4063 = { 
				cede_province = KRW
				add_core = KRW
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4061 = { is_empty = yes } }
			4061 = { 
				cede_province = KRW
				add_core = KRW
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4072 = { is_empty = yes } }
			4072 = { 
				cede_province = UBH
				add_core = UBH
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 4071 = { is_empty = yes } }
			4071 = { 
				cede_province = UBH
				add_core = UBH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4069 = { is_empty = yes } }
			4069 = { 
				cede_province = UBH
				add_core = UBH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1166 = { is_empty = yes } }
			1166 = { 
				cede_province = LOA
				add_core = LOA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4078 = { is_empty = yes } }
			4078 = { 
				cede_province = LOA
				add_core = LOA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1169 = { is_empty = yes } }
			1169 = { 
				cede_province = TYO
				add_core = TYO
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 1170 = { is_empty = yes } }
			1170 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 3237 = { is_empty = yes } }
			3237 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4079 = { is_empty = yes } }
			4079 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4080 = { is_empty = yes } }
			4080 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 3261 = { is_empty = yes } }
			3261 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4081 = { is_empty = yes } }
			4081 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2949 = { is_empty = yes } }
			2949 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 798 = { is_empty = yes } }
			798 = { 
				cede_province = KON
				add_core = KON
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1171 = { is_empty = yes } }
			1171 = { 
				cede_province = NDO
				add_core = NDO
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 2948 = { is_empty = yes } }
			2948 = { 
				cede_province = NDO
				add_core = NDO
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4082 = { is_empty = yes } }
			4082 = { 
				cede_province = KSJ
				add_core = KSJ
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4084 = { is_empty = yes } }
			4084 = { 
				cede_province = KSJ
				add_core = KSJ
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4083 = { is_empty = yes } }
			4083 = { 
				cede_province = KSJ
				add_core = KSJ
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4085 = { is_empty = yes } }
			4085 = { 
				cede_province = YAK
				add_core = YAK
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4087 = { is_empty = yes } }
			4087 = { 
				cede_province = YAK
				add_core = YAK
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 4094 = { is_empty = yes } }
			4094 = { 
				cede_province = CKW
				add_core = CKW
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4095 = { is_empty = yes } }
			4095 = { 
				cede_province = CKW
				add_core = CKW
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4092 = { is_empty = yes } }
			4092 = { 
				cede_province = LND
				add_core = LND
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4093 = { is_empty = yes } }
			4093 = { 
				cede_province = LND
				add_core = LND
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 4091 = { is_empty = yes } }
			4091 = { 
				cede_province = LND
				add_core = LND
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4089 = { is_empty = yes } }
			4089 = { 
				cede_province = KUB
				add_core = KUB
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4086 = { is_empty = yes } }
			4086 = { 
				cede_province = KUB
				add_core = KUB
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4088 = { is_empty = yes } }
			4088 = { 
				cede_province = KUB
				add_core = KUB
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4096 = { is_empty = yes } }
			4096 = { 
				cede_province = KLD
				add_core = KLD
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4090 = { is_empty = yes } }
			4090 = { 
				cede_province = KLD
				add_core = KLD
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4097 = { is_empty = yes } }
			4097 = { 
				cede_province = LUB
				add_core = LUB
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4105 = { is_empty = yes } }
			4105 = { 
				cede_province = LUB
				add_core = LUB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4099 = { is_empty = yes } }
			4099 = { 
				cede_province = LUB
				add_core = LUB
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4098 = { is_empty = yes } }
			4098 = { 
				cede_province = KIK
				add_core = KIK
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 4107 = { is_empty = yes } }
			4107 = { 
				cede_province = KIK
				add_core = KIK
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4100 = { is_empty = yes } }
			4100 = { 
				cede_province = KZB
				add_core = KZB
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4103 = { is_empty = yes } }
			4103 = { 
				cede_province = KZB
				add_core = KZB
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 4101 = { is_empty = yes } }
			4101 = { 
				cede_province = KZB
				add_core = KZB
				change_trade_goods = salt
			}
		}
		if = {
			limit = { 1191 = { is_empty = yes } }
			1191 = { 
				cede_province = TVR
				add_core = TVR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1187 = { is_empty = yes } }
			1187 = { 
				cede_province = TVR
				add_core = TVR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1190 = { is_empty = yes } }
			1190 = { 
				cede_province = TGA
				add_core = TGA
				change_trade_goods = ivory
			}
		}
		if = {
			limit = { 1189 = { is_empty = yes } }
			1189 = { 
				cede_province = TGA
				add_core = TGA
				change_trade_goods = livestock
			}
		}
		LDU = { every_neighbor_country = { add_truce_with = LDU } }
		MRA = { every_neighbor_country = { add_truce_with = MRA } }
		MKU = { every_neighbor_country = { add_truce_with = MKU } }
		TBK = { every_neighbor_country = { add_truce_with = TBK } }
		TVR = { every_neighbor_country = { add_truce_with = TVR } }
		TGA = { every_neighbor_country = { add_truce_with = TGA } }
	}
}

# Ryukyu
country_event = {
	id = et.191
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1012
		is_year = 1150
		1015 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		1015 = { 
			cede_province = RYU
			add_core = RYU
			change_trade_goods = chinaware
		}
	}
}

# Bashkiria
country_event = {
	id = et.192
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 472
		is_year = 630
		OR = {
			475 = { is_empty = yes }
			2444 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2444 = { is_empty = yes } }
			2444 = { 
				cede_province = BSH
				add_core = BSH
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2420 = { is_empty = yes } }
			2420 = { 
				cede_province = BSH
				add_core = BSH
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 475 = { is_empty = yes } }
			475 = { 
				cede_province = BSH
				add_core = BSH
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 2441 = { is_empty = yes } }
			2441 = { 
				cede_province = BSH
				add_core = BSH
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4265 = { is_empty = yes } }
			4265 = { 
				cede_province = BSH
				add_core = BSH
				change_trade_goods = wool
			}
		}
		BSH = { every_neighbor_country = { add_truce_with = BSH } }
	}
}

# Ethiopia
country_event = {
	id = et.193
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1224
		is_year = 1150
		OR = {
			1213 = { is_empty = yes }
			1210 = { is_empty = yes }
			2757 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1213 = { is_empty = yes } }
			1213 = { 
				cede_province = SOA
				add_core = SOA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2791 = { is_empty = yes } }
			2791 = { 
				cede_province = SOA
				add_core = SOA
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2760 = { is_empty = yes } }
			2760 = { 
				cede_province = HDY
				add_core = HDY
				change_trade_goods = iron
			}
		}
		if = {
			limit = { 4158 = { is_empty = yes } }
			4158 = { 
				cede_province = JJI
				add_core = JJI
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 1210 = { is_empty = yes } }
			1210 = { 
				cede_province = DWR
				add_core = DWR
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2761 = { is_empty = yes } }
			2761 = { 
				cede_province = DWR
				add_core = DWR
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 2756 = { is_empty = yes } }
			2756 = { 
				cede_province = WLY
				add_core = WLY
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 1218 = { is_empty = yes } }
			1218 = { 
				cede_province = WLY
				add_core = WLY
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 1223 = { is_empty = yes } }
			1223 = { 
				cede_province = ETH
				add_core = ETH
				change_trade_goods = coffee
			}
		}
		if = {
			limit = { 2770 = { is_empty = yes } }
			2770 = { 
				cede_province = ETH
				add_core = ETH
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2763 = { is_empty = yes } }
			2763 = { 
				cede_province = DAM
				add_core = DAM
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 2762 = { is_empty = yes } }
			2762 = { 
				cede_province = DAM
				add_core = DAM
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2757 = { is_empty = yes } }
			2757 = { 
				cede_province = KAF
				add_core = KAF
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2759 = { is_empty = yes } }
			2759 = { 
				cede_province = KAF
				add_core = KAF
				change_trade_goods = slaves
			}
		}
		if = {
			limit = { 2758 = { is_empty = yes } }
			2758 = { 
				cede_province = ENA
				add_core = ENA
				change_trade_goods = wool
			}
		}
		SHW = { every_neighbor_country = { add_truce_with = SHW } }
		DWR = { every_neighbor_country = { add_truce_with = DWR } }
		ETH = { every_neighbor_country = { add_truce_with = ETH } }
		KAF = { every_neighbor_country = { add_truce_with = KAF } }
	}
}

# Eastern Arabia
country_event = {
	id = et.194
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 400
		is_year = 550
		OR = {
			403 = { is_empty = yes }
			404 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 403 = { is_empty = yes } }
			403 = { 
				cede_province = OMA
				add_core = OMA
				change_trade_goods = wool
			}
		}
		if = {
			limit = { 4285 = { is_empty = yes } }
			4285 = { 
				cede_province = OMA
				add_core = OMA
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 404 = { is_empty = yes } }
			404 = { 
				cede_province = YAS
				add_core = YAS
				change_trade_goods = livestock
			}
		}
		OMA = { every_neighbor_country = { add_truce_with = OMA } }
		YAS = { every_neighbor_country = { add_truce_with = YAS } }
	}
}

# Philippines 1
country_event = {
	id = et.195
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2475
		is_year = 880
		OR = {
			2697 = { is_empty = yes }
			2702 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2697 = { is_empty = yes } }
			2697 = { 
				cede_province = TDO
				add_core = TDO
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 656 = { is_empty = yes } }
			656 = { 
				cede_province = TDO
				add_core = TDO
				change_trade_goods = chinaware
			}
		}
		if = {
			limit = { 4349 = { is_empty = yes } }
			4349 = { 
				cede_province = TDO
				add_core = TDO
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4350 = { is_empty = yes } }
			4350 = { 
				cede_province = TDO
				add_core = TDO
				change_trade_goods = gems
			}
		}
		if = {
			limit = { 2702 = { is_empty = yes } }
			2702 = { 
				cede_province = BTU
				add_core = BTU
				change_trade_goods = gems
			}
		}
		TDO = { every_neighbor_country = { add_truce_with = TDO } }
		BTU = { every_neighbor_country = { add_truce_with = BTU } }
	}
}

# Philippines 2
country_event = {
	id = et.196
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2863
		is_year = 1180
		OR = {
			653 = { is_empty = yes }
			2700 = { is_empty = yes }
			4352 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 652 = { is_empty = yes } }
			652 = { 
				cede_province = MGD
				add_core = MGD
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 653 = { is_empty = yes } }
			653 = { 
				cede_province = MGD
				add_core = MGD
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2700 = { is_empty = yes } }
			2700 = { 
				cede_province = MAS
				add_core = MAS
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4351 = { is_empty = yes } }
			4351 = { 
				cede_province = MAS
				add_core = MAS
				change_trade_goods = sugar
			}
		}
		if = {
			limit = { 4352 = { is_empty = yes } }
			4352 = { 
				cede_province = CEB
				add_core = CEB
				change_trade_goods = gems
			}
		}
		MGD = { every_neighbor_country = { add_truce_with = MGD } }
		MAS = { every_neighbor_country = { add_truce_with = MAS } }
		CEB = { every_neighbor_country = { add_truce_with = CEB } }
	}
}

# Philippines 3
country_event = {
	id = et.197
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2860
		is_year = 1400
		OR = {
			2698 = { is_empty = yes }
			651 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 651 = { is_empty = yes } }
			651 = { 
				cede_province = SUL
				add_core = SUL
				change_trade_goods = gems
			}
		}
		if = {
			limit = { 2698 = { is_empty = yes } }
			2698 = { 
				cede_province = PGS
				add_core = PGS
				change_trade_goods = salt
			}
		}
		SUL = { every_neighbor_country = { add_truce_with = SUL } }
		PGS = { every_neighbor_country = { add_truce_with = PGS } }
	}
}

#Sumatra 2
country_event = {
	id = et.198
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2407
		is_year = 580
		OR = {
			622 = { is_empty = yes }
			618 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 617 = { is_empty = yes } }
			617 = { 
				cede_province = LAM
				add_core = LAM
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2673 = { is_empty = yes } }
			2673 = { 
				cede_province = LAM
				add_core = LAM
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 2674 = { is_empty = yes } }
			2674 = { 
				cede_province = LAM
				add_core = LAM
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 618 = { is_empty = yes } }
			618 = { 
				cede_province = PNA
				add_core = PNA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4809 = { is_empty = yes } }
			4809 = { 
				cede_province = PNA
				add_core = PNA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4810 = { is_empty = yes } }
			4810 = { 
				cede_province = PNA
				add_core = PNA
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 4808 = { is_empty = yes } }
			4808 = { 
				cede_province = PLB
				add_core = PLB
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 622 = { is_empty = yes } }
			622 = { 
				cede_province = PLB
				add_core = PLB
				change_trade_goods = spices
			}
		}
		if = {
			limit = { 623 = { is_empty = yes } }
			623 = { 
				cede_province = PLB
				add_core = PLB
				change_trade_goods = cloth
			}
		}
		LAM = { every_neighbor_country = { add_truce_with = LAM } }
		PNA = { every_neighbor_country = { add_truce_with = PNA } }
		PLB = { every_neighbor_country = { add_truce_with = PLB } }
	}
}

#Dumakru & Shiwei
country_event = {
	id = et.199
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2555
		is_year = 400
		OR = {
			4664 = { is_empty = yes }
			4660 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 4200 = { is_empty = yes } }
			4200 = { 
				cede_province = DKR
				add_core = DKR
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 728 = { is_empty = yes } }
			728 = { 
				cede_province = DKR
				add_core = DKR
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4660 = { is_empty = yes } }
			4660 = { 
				cede_province = DKR
				add_core = DKR
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4218 = { is_empty = yes } }
			4218 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 724 = { is_empty = yes } }
			724 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 2185 = { is_empty = yes } }
			2185 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4664 = { is_empty = yes } }
			4664 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4665 = { is_empty = yes } }
			4665 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4666 = { is_empty = yes } }
			4666 = { 
				cede_province = SHI
				add_core = SHI
				change_trade_goods = livestock
			}
		}
		DKR = { every_neighbor_country = { add_truce_with = DKR } }
		SHI = { every_neighbor_country = { add_truce_with = SHI } }
	}
}

#Heishui Mohe
country_event = {
	id = et.200
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2563
		is_year = 580
		OR = {
			2105 = { is_empty = yes }
			4216 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 729 = { is_empty = yes } }
			729 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 731 = { is_empty = yes } }
			731 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 2105 = { is_empty = yes } }
			2105 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4215 = { is_empty = yes } }
			4215 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4216 = { is_empty = yes } }
			4216 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4217 = { is_empty = yes } }
			4217 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4656 = { is_empty = yes } }
			4656 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4663 = { is_empty = yes } }
			4663 = { 
				cede_province = HSM
				add_core = HSM
				change_trade_goods = naval_supplies
			}
		}
		HSM = { every_neighbor_country = { add_truce_with = HSM } }
	}
}

#North Manchuria
country_event = {
	id = et.201
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2558
		is_year = 1180
		OR = {
			2102 = { is_empty = yes }
			1048 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1050 = { is_empty = yes } }
			1050 = { 
				cede_province = NVK
				add_core = NVK
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4658 = { is_empty = yes } }
			4658 = { 
				cede_province = NVK
				add_core = NVK
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4214 = { is_empty = yes } }
			4214 = { 
				cede_province = NVK
				add_core = NVK
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1048 = { is_empty = yes } }
			1048 = { 
				cede_province = NVK
				add_core = NVK
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 2104 = { is_empty = yes } }
			2104 = { 
				cede_province = MYR
				add_core = MYR
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 727 = { is_empty = yes } }
			727 = { 
				cede_province = MYR
				add_core = MYR
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1049 = { is_empty = yes } }
			1049 = { 
				cede_province = MYR
				add_core = MYR
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 2103 = { is_empty = yes } }
			2103 = { 
				cede_province = MYR
				add_core = MYR
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4659 = { is_empty = yes } }
			4659 = { 
				cede_province = MYR
				add_core = MYR
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 1053 = { is_empty = yes } }
			1053 = { 
				cede_province = SOL
				add_core = SOL
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 2102 = { is_empty = yes } }
			2102 = { 
				cede_province = SOL
				add_core = SOL
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4662 = { is_empty = yes } }
			4662 = { 
				cede_province = SOL
				add_core = SOL
				change_trade_goods = fur
			}
		}
		NVK = { every_neighbor_country = { add_truce_with = NVK } }
		MYR = { every_neighbor_country = { add_truce_with = MYR } }
		SOL = { every_neighbor_country = { add_truce_with = SOL } }
	}
}

#North Mongolia
country_event = {
	id = et.202
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 4350
		is_year = 780
		OR = {
			1060 = { is_empty = yes }
			1057 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1060 = { is_empty = yes } }
			1060 = { 
				cede_province = MKT
				add_core = MKT
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1056 = { is_empty = yes } }
			1056 = { 
				cede_province = KMO
				add_core = KMO
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 1057 = { is_empty = yes } }
			1057 = { 
				cede_province = KMO
				add_core = KMO
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1058 = { is_empty = yes } }
			1058 = { 
				cede_province = KMO
				add_core = KMO
				change_trade_goods = fur
			}
		}
		MKT = { every_neighbor_country = { add_truce_with = MKT } }
		KMO = { every_neighbor_country = { add_truce_with = KMO } }
	}
}

#Sumatra 1
country_event = {
	id = et.203
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2392
		is_year = 180
		OR = {
			619 = { is_empty = yes }
			620 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 2675 = { is_empty = yes } }
			2675 = { 
				cede_province = RIA
				add_core = RIA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 620 = { is_empty = yes } }
			620 = { 
				cede_province = RIA
				add_core = RIA
				change_trade_goods = chinaware
			}
		}
		if = {
			limit = { 4816 = { is_empty = yes } }
			4816 = { 
				cede_province = JMB
				add_core = JMB
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2676 = { is_empty = yes } }
			2676 = { 
				cede_province = JMB
				add_core = JMB
				change_trade_goods = copper
			}
		}
		if = {
			limit = { 2677 = { is_empty = yes } }
			2677 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = incense
			}
		}
		if = {
			limit = { 4844 = { is_empty = yes } }
			4844 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 659 = { is_empty = yes } }
			659 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2680 = { is_empty = yes } }
			2680 = { 
				cede_province = KOY
				add_core = KOY
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 2681 = { is_empty = yes } }
			2681 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = gold
			}
		}
		if = {
			limit = { 2682 = { is_empty = yes } }
			2682 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4817 = { is_empty = yes } }
			4817 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 4818 = { is_empty = yes } }
			4818 = { 
				cede_province = MKB
				add_core = MKB
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 619 = { is_empty = yes } }
			619 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = incense
			}
		}
		if = {
			limit = { 2685 = { is_empty = yes } }
			2685 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 4811 = { is_empty = yes } }
			4811 = { 
				cede_province = BRS
				add_core = BRS
				change_trade_goods = spices
			}
		}
		RIA = { every_neighbor_country = { add_truce_with = RIA } }
		JMB = { every_neighbor_country = { add_truce_with = JMB } }
		KOY = { every_neighbor_country = { add_truce_with = KOY } }
		MKB = { every_neighbor_country = { add_truce_with = MKB } }
		BRS = { every_neighbor_country = { add_truce_with = BRS } }
	}
}

#Oceania 1
country_event = {
	id = et.204
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		ai = yes
		is_year = 890
		OR = {
			1989 = { is_empty = yes }
			1243 = { is_empty = yes }
			4937 = { is_empty = yes }
		}
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1989 = { is_empty = yes } }
			1989 = { 
				cede_province = TOG
				add_core = TOG
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 3240 = { is_empty = yes } }
			3240 = { 
				cede_province = TOG
				add_core = TOG
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1243 = { is_empty = yes } }
			1243 = { 
				cede_province = SAM
				add_core = SAM
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 3217 = { is_empty = yes } }
			3217 = { 
				cede_province = SAM
				add_core = SAM
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1242 = { is_empty = yes } }
			1242 = { 
				cede_province = VIL
				add_core = VIL
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4937 = { is_empty = yes } }
			4937 = { 
				cede_province = LAI
				add_core = LAI
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4938 = { is_empty = yes } }
			4938 = { 
				cede_province = VNL
				add_core = VNL
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 3216 = { is_empty = yes } }
			3216 = { 
				cede_province = NIU
				add_core = NIU
				change_trade_goods = grain
			}
		}
		TOG = { every_neighbor_country = { add_truce_with = TOG } }
		SAM = { every_neighbor_country = { add_truce_with = SAM } }
		VIL = { every_neighbor_country = { add_truce_with = VIL } }
		LAI = { every_neighbor_country = { add_truce_with = LAI } }
		VNL = { every_neighbor_country = { add_truce_with = VNL } }
		NIU = { every_neighbor_country = { add_truce_with = NIU } }
	}
}

#Oceania 2
country_event = {
	id = et.205
	title = "et.EVTNAME100"
	desc = "et.EVTDESC100"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 1243
		is_year = 1180
		1240 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 240
	}
	
	option = {
		name = "et.EVTOPTA100"
		if = {
			limit = { 1240 = { is_empty = yes } }
			1240 = { 
				cede_province = HAW
				add_core = HAW
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 4934 = { is_empty = yes } }
			4934 = { 
				cede_province = MAU
				add_core = MAU
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4935 = { is_empty = yes } }
			4935 = { 
				cede_province = OAH
				add_core = OAH
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 4936 = { is_empty = yes } }
			4936 = { 
				cede_province = KAA
				add_core = KAA
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1106 = { is_empty = yes } }
			1106 = { 
				cede_province = TTT
				add_core = TTT
				change_trade_goods = gems
				change_culture = maori
			}
		}
		if = {
			limit = { 2739 = { is_empty = yes } }
			2739 = { 
				cede_province = TAN
				add_core = TAN
				change_trade_goods = grain
				change_culture = maori
			}
		}
		if = {
			limit = { 1108 = { is_empty = yes } }
			1108 = { 
				cede_province = TEA
				add_core = TEA
				change_trade_goods = grain
				change_culture = maori
			}
		}
		if = {
			limit = { 1107 = { is_empty = yes } }
			1107 = { 
				cede_province = TNK
				add_core = TNK
				change_trade_goods = livestock
				change_culture = maori
			}
		}
		if = {
			limit = { 4939 = { is_empty = yes } }
			4939 = { 
				cede_province = MAA
				add_core = MAA
				change_trade_goods = gems
				change_culture = maori
			}
		}
		if = {
			limit = { 2737 = { is_empty = yes } }
			2737 = { 
				cede_province = TAK
				add_core = TAK
				change_trade_goods = grain
				change_culture = maori
			}
		}
		if = {
			limit = { 2738 = { is_empty = yes } }
			2738 = { 
				change_culture = maori
			}
		}
		if = {
			limit = { 1109 = { is_empty = yes } }
			1109 = { 
				cede_province = WAI
				add_core = WAI
				change_trade_goods = naval_supplies
				change_culture = maori
			}
		}
		if = {
			limit = { 3142 = { is_empty = yes } }
			3142 = { 
				change_culture = maori
			}
		}
		if = {
			limit = { 1246 = { is_empty = yes } }
			1246 = { 
				change_culture = maori
			}
		}
		if = {
			limit = { 3113 = { is_empty = yes } }
			3113 = { 
				change_culture = maori
			}
		}
		if = {
			limit = { 2728 = { is_empty = yes } }
			2728 = { 
				cede_province = TIW
				add_core = TIW
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4846 = { is_empty = yes } }
			4846 = { 
				cede_province = LAR
				add_core = LAR
				change_trade_goods = tobacco
			}
		}
		if = {
			limit = { 2729 = { is_empty = yes } }
			2729 = { 
				cede_province = YOL
				add_core = YOL
				change_trade_goods = cloth
			}
		}
		if = {
			limit = { 4847 = { is_empty = yes } }
			4847 = { 
				cede_province = YNU
				add_core = YNU
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 2730 = { is_empty = yes } }
			2730 = { 
				cede_province = AWN
				add_core = AWN
				change_trade_goods = tropical_wood
			}
		}
		if = {
			limit = { 1094 = { is_empty = yes } }
			1094 = { 
				cede_province = MIA
				add_core = MIA
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 4856 = { is_empty = yes } }
			4856 = { 
				cede_province = GMI
				add_core = GMI
				change_trade_goods = grain
			}
		}
		if = {
			limit = { 1090 = { is_empty = yes } }
			1090 = { 
				cede_province = EOR
				add_core = EOR
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1087 = { is_empty = yes } }
			1087 = { 
				cede_province = WRU
				add_core = WRU
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 1086 = { is_empty = yes } }
			1086 = { 
				cede_province = KAU
				add_core = KAU
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 1084 = { is_empty = yes } }
			1084 = { 
				cede_province = NOO
				add_core = NOO
				change_trade_goods = livestock
			}
		}
		if = {
			limit = { 2726 = { is_empty = yes } }
			2726 = { 
				cede_province = MLG
				add_core = MLG
				change_trade_goods = naval_supplies
			}
		}
		if = {
			limit = { 1085 = { is_empty = yes } }
			1085 = { 
				cede_province = PLW
				add_core = PLW
				change_trade_goods = fish
			}
		}
		if = {
			limit = { 4868 = { is_empty = yes } }
			4868 = { 
				cede_province = PLW
				add_core = PLW
				change_trade_goods = fur
			}
		}
		if = {
			limit = { 4869 = { is_empty = yes } }
			4869 = { 
				cede_province = PLW
				add_core = PLW
				change_trade_goods = gems
			}
		}
	}
}

#Golog province
country_event = {
	id = et.206
	title = "et.EVTNAME103"
	desc = "et.EVTDESC103"
	picture = CITY_DEVELOPMENT_eventPicture

	fire_only_once = yes

	trigger = {
		owns = 2134
		3275 = { is_empty = yes }
	}
	mean_time_to_happen = {
		months = 1
	}
	
	immediate = {
		hidden_effect = {
			3275 = { 
				change_province_name = "Golog" 
				change_trade_goods = wool
				set_base_tax = 1
				set_base_production = 1
				set_base_manpower = 1
				change_culture = tangut
				change_religion = tibetan_bon
			}
		}
	}
	
	option = {
		name = "et.EVTOPTA100"
		3275 = {
			cede_province = ROOT
			add_core = ROOT
		}
	}
}