ub_add_special_buildings_Castle_effect = {
	title:b_lisboa = {	# Castelo de São Jorge
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 867.1.1
				}
				add_special_building_slot = ub_castel_jorge_01
			}
			else_if = {
				limit = {
					current_date >= 867.1.1
					current_date < 1300.1.1				
				}
				add_special_building = ub_castel_jorge_01
			}
			else = {
				limit = {
					current_date >= 1300.1.1
				}
				add_special_building = ub_castel_jorge_02
			}
		}
	}
	
	title:b_salzburg = {	# Hohensalzburg Fortress
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1070.1.1
				}
				add_special_building_slot = ub_salzburg_fortress_01
			}
			else_if = {
				limit = {
					current_date >= 1070.1.1		
				}
				add_special_building = ub_salzburg_fortress_01
			}
		}		
	}

	title:b_baden = {	# Hohenbaden Castle
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1102.1.1
				}
				add_special_building_slot = ub_hohenbaden_castle_01
			}
			else_if = {
				limit = {
					current_date >= 1102.1.1		
				}
				add_special_building = ub_hohenbaden_castle_01
			}
		}		
	}	
	
	title:b_zollern = {	# Hohenzollern Castle
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1061.1.1
				}
				add_special_building_slot = ub_hohenzollern_castle_01
			}
			else_if = {
				limit = {
					current_date >= 1061.1.1		
				}
				add_special_building = ub_hohenzollern_castle_01
			}
		}		
	}
	
	title:b_Goryeo_Bukgye_Uiju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}	

	title:b_Goryeo_Bukgye_Sakju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}	

	title:b_Goryeo_Bukgye_Jangjeong = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}		

	title:b_Goryeo_Bukgye_Muju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}	

	title:b_Goryeo_Bukgye_Yeongwon = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}	

	title:b_Goryeo_Bukgye_Maengju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}	

	title:b_Goryeo_Donggye_Hwaju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}

	title:b_Goryeo_Donggye_Yeju = {	# Great Wall of Korea /	Cheolli jangseong
		title_province = {
			if = {
				limit = {
					current_date >= 100.1.1
					current_date < 1034.1.1
				}
				add_special_building_slot = ub_great_wall_korea_01
			}
			else_if = {
				limit = {
					current_date >= 1034.1.1		
				}
				add_special_building = ub_great_wall_korea_01
			}
		}		
	}

}