﻿##########
# Theodosian Walls
##########

theodosian_walls_01 = {
	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_theodosian_walls.dds"
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
	}
	
	cost_gold = 3000
	
	garrison = 1000
	duchy_capital_county_modifier = {
		levy_size = 0.15
		tax_mult = 0.15
	}
	province_modifier = {
		fort_level = 8
		garrison_size = 1
		cow_metropolis_holding_build_gold_cost = -0.15
	}
	county_modifier = {
		development_growth = 0.3
		development_growth_factor = 0.2
		levy_size = 2.25
		tax_mult = 2.50
		hostile_raid_time = 0.5
	}
	
	ai_value = {
		base = 100
	}
	
	type = duchy_capital
}

the_colosseum_01 = {

	asset = {
		type = pdxmesh
		name = "building_special_colosseum_mesh"
	}

	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 3000

	character_modifier = {
		army_maintenance_mult = -0.05 # 'Stealing' the metal from the colosseum building itself
	}
	
	province_modifier = {
		build_speed = -0.1 # 'Stealing' the metal from the colosseum building itself
	}
	
	ai_value = {
		base = 100
	}
	
	next_building = the_colosseum_02
	
	type = special
}

the_colosseum_02 = { # Colosseum

	asset = {
		type = pdxmesh
		name = "building_special_colosseum_mesh"
	}

	construction_time = 0 # very_slow_construction_time
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
	}
	
	cost_gold = 3000

	character_modifier = {
		army_maintenance_mult = -0.10
		monthly_dynasty_prestige_mult = 0.05
	}
	
	county_modifier = {
		county_opinion_add = 25
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
	
	type = special
}

aurelian_walls_01 = {
	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_aurelian_walls.dds"
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
	}
	
	cost_gold = 3000
	
	garrison = 500
	
	duchy_capital_county_modifier = {
		levy_size = 0.15
		tax_mult = 0.15
	}
	county_modifier = {
		development_growth = 0.2
		development_growth_factor = 0.1
		hostile_raid_time = 0.5
	}
	province_modifier = {
		fort_level = 3
		garrison_size = 0.5
		cow_metropolis_holding_build_gold_cost = -0.25
	}
	
	ai_value = {
		base = 100
	}
	
	next_building = aurelian_walls_02
	
	type = duchy_capital
}

aurelian_walls_02 = {
	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_aurelian_walls.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
	}
	
	cost_gold = 3000
	
	garrison = 1000
	
	duchy_capital_county_modifier = {
		levy_size = 0.20
		tax_mult = 0.20
	}
	county_modifier = {
		development_growth = 0.4
		development_growth_factor = 0.2
		hostile_raid_time = 0.6
	}
	province_modifier = {
		fort_level = 8
		garrison_size = 0.5
		cow_metropolis_holding_build_gold_cost = -0.25
	}
	
	ai_value = {
		base = 10
	}
	
	type = duchy_capital
}

##########
# House of Wisdom
##########

house_of_wisdom_01 = {
	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_grand_library_of_baghdad.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 3000

	character_modifier = {
		learning_per_prestige_level = 2
		monthly_lifestyle_xp_gain_mult = 0.15
		different_culture_opinion = 10
		cultural_head_fascination_mult = 0.15
		faith_creation_piety_cost_mult = -0.2
	}
	county_modifier = {
		tax_mult = 0.2
		development_growth = 0.2
		development_growth_factor = 0.2
	}
	
	province_modifier = {
		cow_metropolis_holding_build_gold_cost = -0.15
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
}

##########
# Dome of the Rock / Temple in Jerusalem
##########

dome_of_the_rock_01 = {
	construction_time = 0 # very_slow_construction_time

	type_icon = "icon_structure_dome_of_the_rock.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			text = holy_site_building_trigger
			barony = {
				is_holy_site_of = scope:holder.faith
			}
		}
		NOT = { scope:holder.faith = { religion_tag = judaism_religion } }
	}
	
	show_disabled = yes
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety_gain_per_knight_mult = 0.03
		monthly_dynasty_prestige_mult = 0.05
		monthly_county_control_change_factor = 0.1
		martial_per_piety_level = 1
		knight_effectiveness_mult = 0.2
	}
	
	county_modifier = {
		tax_mult = 0.3
		development_growth_factor = 0.3
		development_growth = 0.2
	}
	
	province_modifier = {
		monthly_income = 3
		cow_metropolis_holding_build_gold_cost = -0.50
	}
	
	ai_value = {
		base = 100
	}
	
	next_building = temple_in_jerusalem_01
	
	type = special
}