gw_great_work_treasuries_01 = {
	construction_time = gw_great_work_construction_time

	type_icon = "icon_building_generic_house.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_great_work_requirement = yes
	}

	is_enabled = {
		county.holder = {
			custom_description = {
				text = "is_king_or_emperor"
				highest_held_title_tier >= tier_kingdom
			}
		}
	}

	can_construct_showing_failures_only = {
		culture = {
			has_innovation = innovation_burhs
		}
	}
	
	show_disabled = yes

	next_building = gw_great_work_treasuries_02
	
	cost_gold = gw_great_work_construction_cost_01

	province_modifier = {
		monthly_income = gw_great_work_value_01_small
		hostile_raid_time = gw_great_work_modifier_01_large
	}

	county_modifier = {
		tax_mult = gw_great_work_modifier_01_very_small
	}
	
	character_modifier = {
		monthly_piety_gain_mult = gw_great_work_modifier_01_tiny_negative
		mercenary_hire_cost_mult = gw_great_work_modifier_01_very_small_negative
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
}

gw_great_work_treasuries_02 = {
	construction_time = gw_great_work_construction_time

	type_icon = "icon_building_generic_house.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_great_work_requirement = yes
	}

	is_enabled = {
		county.holder = {
			custom_description = {
				text = "is_king_or_emperor"
				highest_held_title_tier >= tier_kingdom
			}
		}
	}

	can_construct_showing_failures_only = {
		culture = {
			has_innovation = innovation_castle_baileys
		}
	}
	
	show_disabled = yes

	next_building = gw_great_work_treasuries_03
	
	cost_gold = gw_great_work_construction_cost_02

	province_modifier = {
		monthly_income = gw_great_work_value_02_small
		hostile_raid_time = gw_great_work_modifier_02_large
	}

	county_modifier = {
		tax_mult = gw_great_work_modifier_02_very_small
	}
	
	character_modifier = {
		monthly_piety_gain_mult = gw_great_work_modifier_02_tiny_negative
		mercenary_hire_cost_mult = gw_great_work_modifier_02_very_small_negative
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
}

gw_great_work_treasuries_03 = {
	construction_time = gw_great_work_construction_time

	type_icon = "icon_building_generic_house.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_great_work_requirement = yes
	}

	is_enabled = {
		county.holder = {
			custom_description = {
				text = "is_king_or_emperor"
				highest_held_title_tier >= tier_kingdom
			}
		}
	}

	can_construct_showing_failures_only = {
		culture = {
			has_innovation = innovation_royal_armory
		}
	}
	
	show_disabled = yes
	
	cost_gold = gw_great_work_construction_cost_03

	province_modifier = {
		monthly_income = gw_great_work_value_03_small
		hostile_raid_time = gw_great_work_modifier_03_large
	}

	county_modifier = {
		tax_mult = gw_great_work_modifier_03_very_small
	}
	
	character_modifier = {
		monthly_piety_gain_mult = gw_great_work_modifier_03_tiny_negative
		mercenary_hire_cost_mult = gw_great_work_modifier_03_very_small_negative
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
}