#Triggers are in Province scope. The From Scope contains the settlement holder (character)
#start trigger is in title scope.

#<tag> = {
#	desc = description used in the tooltip of the building
#	trigger = used for tech requirement of the building, set to 0 if no requirement so it can be build automatically on new games
#	gold_cost = cost to build the building
#	build_time = time to build, in days
#
#	ai_creation_factor = weight that the AI uses to determine what building to build
#	extra_tech_building_start = when starting a new game this building will be pre-built if the province has higher tech than the requirement + this + random 0-1
#}

#Temple
temple = {
	# Order Houses
	# TODO: Revisit these. Maybe make them holy order exclusive
	tp_order_house_1 = {
		trigger = {
			TECH_TEMPLE_CONSTRUCTION >= 3
			temple_building_allow = yes
		}
		gold_cost = 300
		build_time = 365

		heavy_infantry = 100

		ai_creation_factor = 95
		extra_tech_building_start = 0.8
	}
	tp_order_house_2 = {
		trigger = {
			TECH_TEMPLE_CONSTRUCTION >= 6
			temple_building_allow = yes
		}
		upgrades_from = tp_order_house_1
		gold_cost = 700
		build_time = 730

		heavy_infantry = 225

		ai_creation_factor = 94
		extra_tech_building_start = 1.5
	}
}