﻿### Hunting Grounds - Reworked "The Hunt" theme (Buildings Reworked mod)
# Per level: +0.15 Monthly Tax, +2 Defender Advantage, +0.05 Health. (tax tier 0.15, cheap cost)
# Forest cover (defence) + the lord's vigour from the hunt (health, domain-only).
# Vegetarian-culture ban preserved (can_construct_potential + is_enabled).

hunting_grounds_01 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		building_requirement_castle_city_church = { LEVEL = 01 }
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	show_disabled = yes
	cost_gold = 150
	province_modifier = {
		monthly_income = 0.15
		defender_holding_advantage = 2
	}
	character_modifier = {
		health = 0.05
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_02
	type_icon = "icon_building_hunting_grounds.dds"
	ai_value = {
		base = 10
		ai_tier_1_building_modifier = yes
		ai_tier_1_economical_building_preference_modifier = yes
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
	}
}

hunting_grounds_02 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		building_requirement_castle_city_church = { LEVEL = 01 }
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		scope:holder.culture = { has_innovation = innovation_crop_rotation }
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 200
	province_modifier = {
		monthly_income = 0.30
		defender_holding_advantage = 4
	}
	character_modifier = {
		health = 0.10
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_03
	ai_value = {
		base = 9
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { factor = 0 free_building_slots > 0 }
	}
}

hunting_grounds_03 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		scope:holder.culture = { has_innovation = innovation_manorialism }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 250
	province_modifier = {
		monthly_income = 0.45
		defender_holding_advantage = 6
	}
	character_modifier = {
		health = 0.15
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_04
	ai_value = {
		base = 8
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}

hunting_grounds_04 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		scope:holder.culture = { has_innovation = innovation_manorialism }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 350
	province_modifier = {
		monthly_income = 0.60
		defender_holding_advantage = 8
	}
	character_modifier = {
		health = 0.20
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_05
	ai_value = {
		base = 7
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}

hunting_grounds_05 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder.culture = { has_innovation = innovation_guilds }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 550
	province_modifier = {
		monthly_income = 0.75
		defender_holding_advantage = 10
	}
	character_modifier = {
		health = 0.25
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_06
	ai_value = {
		base = 6
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}

hunting_grounds_06 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder.culture = { has_innovation = innovation_guilds }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 800
	province_modifier = {
		monthly_income = 0.90
		defender_holding_advantage = 12
	}
	character_modifier = {
		health = 0.30
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_07
	ai_value = {
		base = 5
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}

hunting_grounds_07 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		scope:holder.culture = { has_innovation = innovation_cranes }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 1100
	province_modifier = {
		monthly_income = 1.05
		defender_holding_advantage = 14
	}
	character_modifier = {
		health = 0.35
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	next_building = hunting_grounds_08
	ai_value = {
		base = 4
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}

hunting_grounds_08 = {
	construction_time = quick_construction_time
	can_construct_potential = {
		building_hunting_grounds_requirement_terrain = yes
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		scope:holder.culture = { has_innovation = innovation_cranes }
	}
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	is_enabled = {
		scope:holder.culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
		culture = { NOT = { has_cultural_parameter = vegetarian_building_ban } }
	}
	cost_gold = 1550
	province_modifier = {
		monthly_income = 1.20
		defender_holding_advantage = 16
	}
	character_modifier = {
		health = 0.40
	}
	on_complete = { creator_mandala_built_regular_building_piety_effect = yes }
	ai_value = {
		base = 3
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
	}
}
