trade_post = {
	# Roads
	tr_generic_road_1 = { # Generic Road Improvement Stage 1
		desc = tr_generic_road_1_desc
		potential = { is_land_trade_route_trigger = yes }
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 1

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		gold_cost = 100
		build_time = 150

		tradevalue = 6					 # 6 gold per year generated
		local_movement_speed = 0.1 		 # 0.1 = 10% boost

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_generic_road_2 = { # Generic Road Improvement Stage 2
		desc = tr_generic_road_2_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 3

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		gold_cost = 150
		build_time = 300
		upgrades_from = tr_generic_road_1

		trade_route_value = 2			# Affects your cut of the trade route income
		tradevalue = 6					# 6 gold per year generated
		local_movement_speed = 0.2		# 0.2 = 20% boost

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 #Never get at start of game
	}
	tr_generic_road_3 = { # Generic Road Improvement Stage 3
		desc = tr_generic_road_3_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 6

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		upgrades_from = tr_generic_road_2
		gold_cost = 300
		build_time = 600

		trade_route_value = 6			# Affects your cut of the trade route income
		tradevalue = 10					# 10 gold per year generated
		local_movement_speed = 0.3 		# 0.3 = 30% boost
		monthly_character_prestige = 0.3

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}

	# Toll Booths
	tr_generic_toll_booth_1 = { # Generic Toll Booth Stage 1
		desc = tr_generic_toll_booth_1_desc
		potential = { is_land_trade_route_trigger = yes }
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 1

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		gold_cost = 100
		build_time = 150

		trade_route_value = 2 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_generic_toll_booth_2 = {	# Generic Toll Booth Stage 2
		desc = tr_generic_toll_booth_2_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 3

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		upgrades_from = tr_generic_toll_booth_1
		gold_cost = 200
		build_time = 200

		trade_route_value = 3 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_generic_toll_booth_3 = {	# Generic Toll Booth Stage 3
		desc = tr_generic_toll_booth_3_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 4

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		upgrades_from = tr_generic_toll_booth_2
		gold_cost = 300
		build_time = 300

		trade_route_value = 4 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}

	# Customs House
	tr_customs_house_1 = { # Customs House Stage 1
		potential = {
			is_coastal = yes
			is_sea_trade_route_trigger = yes
		}
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 1

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		desc = tr_customs_house_1_desc
		gold_cost = 100
		build_time = 150

		trade_route_value = 2 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_customs_house_2 = { # Customs House Stage 2
		desc = tr_customs_house_2_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 3

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		upgrades_from = tr_customs_house_1
		gold_cost = 200
		build_time = 200

		trade_route_value = 3 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_customs_house_3 = { # Customs House Stage 3
		desc = tr_customs_house_3_desc
		trigger = {
			trading_post_building_allow = yes
			TECH_TRADE_PRACTICES >= 4

			FROM = { # Tribals and Nomads are not allowed to have anything past a trade post
				show_only_failed_conditions = yes

				is_tribal = no
				is_nomadic = no
			}
		}
		upgrades_from = tr_customs_house_2
		gold_cost = 300
		build_time = 300

		trade_route_value = 4 # Affects your cut of the trade route income

		ai_creation_factor = 105
		extra_tech_building_start = 10.0 # Never get at start of game
	}
}