on_game_start_after_lobby = {
	on_actions = {
		GA_setup
	}
}
GA_setup = {
	effect = {
		GA_clear_buildings_from_other_mods_effect = yes
		
		title:b_athens.title_province = { #雅典/Athens
			remove_building = church_of_the_theotokos
			if = {
				limit = { current_date < 500.1.1 }
				add_special_building = acropolis_of_athens_02
			}
			else_if = {
				limit = { current_date >= 500.1.1 }
				add_special_building = acropolis_of_athens_01
			}
		}
		title:b_andravida.title_province = { #奥林匹亚/Olympia
			if = {
				limit = { has_holding = no }
				set_holding_type = castle_holding
			}
			add_special_building = stadium_at_olympia_01
			if = {
				limit = { current_date >= 394.1.1 }
				remove_building = stadium_at_olympia_01
			}
		}
		title:b_mistra.title_province = { #斯巴达/Sparta
			add_special_building = spartan_regimental_grounds_01
			remove_building = spartan_regimental_grounds_01
		}
		title:b_levadia.title_province = { #莱瓦迪亚. 实际位置在阿姆菲萨 (德尔斐) 。/Levadia. Technically should be Amfissa (Delphi).
			add_special_building = oracle_01
			remove_building = oracle_01
		}
		title:b_ephesos.title_province = { #以弗所/Ephesos
			if = {
				limit = { has_holding = no }
				set_holding_type = castle_holding
			}
			add_special_building = temple_of_artemis_01
			remove_building = temple_of_artemis_01
		}
		title:b_alexandria.title_province = { #亚历山大/Alexandria
			add_special_building = library_of_alexandria_01
			if = {
				limit = { current_date >= 642.1.1 }
				remove_building = library_of_alexandria_01
			}
		}

		title:b_laodikeia.title_province = { #希拉波利斯/Hierapolis
			add_special_building = hierapolis_pamukkale_baths_01
			remove_building = hierapolis_pamukkale_baths_01
		}
		title:b_nicosia.title_province = { #尼科西亚. 实际位置在帕福斯。/Nicosia. Technically should be Paphos.
			remove_building = saint_lazarus
			add_special_building = sanctuary_of_aphrodite_01
			remove_building = sanctuary_of_aphrodite_01
		}
		title:b_lemnos.title_province = { #利姆诺斯/Lemnos
			add_special_building = sanctuary_of_hephaestus_01
			remove_building = sanctuary_of_hephaestus_01
		}
		title:b_megara.title_province = { #厄琉西斯/Eleusis
			add_special_building = telesterion_01
			remove_building = telesterion_01
		}
		title:b_corinth.title_province = { #科林斯/Corinth
			add_special_building = temple_of_isthmia_01
			remove_building = temple_of_isthmia_01
		}
		title:b_grava.title_province = { #西库鲁斯/Cichyrus
			if = {
				limit = { has_holding = no }
				set_holding_type = castle_holding
			}
			add_special_building = necromanteion_01
			remove_building = necromanteion_01
		}
		title:b_karytaina.title_province = { #卡里忒纳/Karytaina
			add_special_building = sanctuary_of_hermes_01
			remove_building = sanctuary_of_hermes_01
		}
		title:b_halikarnassos.title_province = { #哈利卡纳苏斯/Halikarnassos
			if = {
				limit = { has_holding = no }
				set_holding_type = city_holding
			}
			add_special_building = mausoleum_at_halicarnassus_01
			if = {
				limit = { current_date >= 1200.1.1 }
				remove_building = mausoleum_at_halicarnassus_01
			}
		}
		title:b_iraklio.title_province = { #伊拉克利翁/Iraklio
			add_special_building = knossos_01
			remove_building = knossos_01
		}
		title:b_sthlanitza.title_province = { #佩拉/Pella
			if = {
				limit = { has_holding = no }
				set_holding_type = castle_holding
			}
			add_special_building = basilikoi_paides_01
			remove_building = basilikoi_paides_01
		}

		title:b_naxos = { #纳克索斯/Naxos
			title_province = {
				add_special_building = naxos_marble_quarries_01
				remove_building = naxos_marble_quarries_01
			}
		}
	}
}