
##########################################################################

# Antiquity

##########################################################################

sarmizegetusa_regia = {
	# province it starts in
	start = 1951 	# Sarmizegetusa
	
	# date built in real life (so anything built during game time will be there if you start a game after that date)
	date = -44.1.1
	
	#time to build
	time = { months = 120 }
	
	#how much to build one
	build_cost = 1000
	
	#can we move it?
	can_be_moved = no
	
	#time to move the project one unit of distance, in days
	move_days_per_unit_distance = 10
	
	#tier that the project starts at when first placed in the game (be that at game start or when built by a country as the game progresses)
	starting_tier = 1
	
	#project type
	type = monument

	#can we build it?
	build_trigger = {		#province trigger
		province_id = 1951
		religion = zamolxism
		owner = {
			religion = zamolxism
			OR = {
				culture_group = eastern_balkan
				accepted_culture = dacian
			}
		}
		province_is_or_accepts_culture = yes
	}

	#what to do when it's built
	on_built = {
	}
	
	#what to do when it's destroyed
	on_destroyed = {
	}

	#can our country use it?
	can_use_modifiers_trigger = {		#province trigger
		religion = zamolxism
		owner = {
			religion = zamolxism
			OR = {
				culture_group = eastern_balkan
				accepted_culture = dacian
			}
		}
		province_is_or_accepts_culture = yes
	}

	#can our country upgrade it?
	can_upgrade_trigger = {
		religion = zamolxism
		owner = {
			religion = zamolxism
			OR = {
				culture_group = eastern_balkan
				accepted_culture = dacian
			}
		}
		province_is_or_accepts_culture = yes
	}

	#can our country keep it or is it destroyed when we get hold of it?
	keep_trigger = {
	}

	#tier data
	tier_0 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 0
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 0
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}

	tier_1 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 120
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 1000
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
			local_defensiveness = 0.2
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
			
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			stability_cost_modifier = -0.1
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}

	tier_2 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 240
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 2500
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
			local_defensiveness = 0.25
			local_unrest = -1
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			stability_cost_modifier = -0.15
			global_heretic_missionary_strength = 0.02
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
			add_mil_power = 50
		}
	}

	tier_3 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 480
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
			local_unrest = -2
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
			local_defensiveness = 0.25
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			stability_cost_modifier = -0.25
			global_missionary_strength = 0.02
			tolerance_own = 1
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
			add_mil_power = 50
		}
	}
}

##########################################################################

# Medieval

##########################################################################

tower_of_pisa = {
	# province it starts in
	start = 115		#Pisa
	
	# date built in real life (so anything built during game time will be there if you start a game after that date)
	date = 1372.1.1
	
	#time to build
	time = { months = 120 }
	
	#how much to build one
	build_cost = 1000
	
	#can we move it?
	can_be_moved = no
	
	#time to move the project one unit of distance, in days
	move_days_per_unit_distance = 10
	
	#tier that the project starts at when first placed in the game (be that at game start or when built by a country as the game progresses)
	starting_tier = 1
	
	#project type
	type = monument

	#can we build it?
	build_trigger = {		#province trigger
		province_id = 115	#Pisa
		owner = {
			culture_group = latin
		}
		province_is_or_accepts_culture = yes
	}

	#what to do when it's built
	on_built = {
	}
	
	#what to do when it's destroyed
	on_destroyed = {
	}

	#can our country use it?
	can_use_modifiers_trigger = {		#province trigger
		owner = {
			culture_group = latin
		}
		province_is_or_accepts_culture = yes
	}

	#can our country upgrade it?
	can_upgrade_trigger = {
		owner = {
			culture_group = latin
		}
		province_is_or_accepts_culture = yes
	}

	#can our country keep it or is it destroyed when we get hold of it?
	keep_trigger = {
	}

	#tier data
	tier_0 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 0
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 0
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}

	tier_1 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 120
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 1000
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
			local_institution_spread = 0.2
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			advisor_pool = 1
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}

	tier_2 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 240
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 2500
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
			local_institution_spread = 0.2
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			advisor_pool = 1
			same_culture_advisor_cost = -0.2
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}

	tier_3 = {
		#time to upgrade to this level (0 for tier 0)
		upgrade_time = {
			months = 480
		}

		#cost to upgrade to this level (0 for tier 0)
		cost_to_upgrade = {
			factor = 2500
		}

		#what modifiers are added to the province when we have this project here on this tier
		province_modifiers = {
		}

		#what modifiers are added to the provinces in the map area when we have this project here on this tier
		area_modifier = {
			local_institution_spread = 0.2
		}

		#what modifiers are added to the country when we have this project here on this tier
		country_modifiers = {
			advisor_pool = 1
			advisor_cost = -0.2
		}

		#what effects happen when this tier is achieved
		on_upgraded = {
		}
	}
}

