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

trade_post = {

	tr_port_1 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_port_1_desc
		trigger = { TECH_TRADE_PRACTICES = 1 }
		gold_cost = 100
		build_time = 182
		ai_creation_factor = 95
		
		tradevalue = 10
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_port_2 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_port_2_desc
		trigger = { TECH_TRADE_PRACTICES = 3 }
		gold_cost = 150
		build_time = 274
		upgrades_from = tr_port_1
		ai_creation_factor = 94
		
		tradevalue = 15
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_port_3 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_port_3_desc
		trigger = { TECH_TRADE_PRACTICES = 5 }
		gold_cost = 200
		build_time = 365
		upgrades_from = tr_port_2
		ai_creation_factor = 93
		
		tradevalue = 20
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_enclave_1 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_enclave_1_desc
		trigger = { TECH_TRADE_PRACTICES = 2 }
		gold_cost = 100
		build_time = 182
		ai_creation_factor = 90
		
		tax_income = 1
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_enclave_2 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_enclave_2_desc
		trigger = { TECH_TRADE_PRACTICES = 4 }
		gold_cost = 150
		build_time = 274
		upgrades_from = tr_enclave_1
		ai_creation_factor = 89
		
		tax_income = 1.5
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_enclave_3 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_enclave_3_desc
		trigger = { TECH_TRADE_PRACTICES = 6 }
		gold_cost = 200
		build_time = 365
		upgrades_from = tr_enclave_2
		ai_creation_factor = 88
		
		scouting = yes
		tax_income = 2
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_garrison_1 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_garrison_1_desc
		trigger = { TECH_CONSTRUCTION = 1 }
		gold_cost = 100
		build_time = 182
		ai_creation_factor = 91
		
		retinuesize = 4
		garrison_size = 1.0
		fort_level = 1
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_garrison_2 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_garrison_2_desc
		trigger = { TECH_CONSTRUCTION = 3 }
		gold_cost = 150
		build_time = 274
		upgrades_from = tr_garrison_1
		ai_creation_factor = 90
		
		retinuesize = 6
		garrison_size = 1.5
		fort_level = 2
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_garrison_3 = {
		potential = {
			port = yes
			FROM = {
				is_patrician = yes
			}
		}
		desc = tr_garrison_3_desc
		trigger = { TECH_CONSTRUCTION = 5 }
		gold_cost = 200
		build_time = 365
		upgrades_from = tr_garrison_2
		ai_creation_factor = 89
		
		retinuesize = 10
		garrison_size = 2.0
		fort_level = 3
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	
	tr_waystation_1 = {
		potential = {
			port = yes
			FROM = { is_patrician = yes }
		}
		desc = tr_waystation_1_desc
		trigger = { TECH_TRADE_PRACTICES = 1 }
		gold_cost = 100
		build_time = 365
		ai_creation_factor = 94
		
		max_tradeposts = 1
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_waystation_2 = {
		potential = {
			port = yes
			FROM = { is_patrician = yes }
		}
		desc = tr_waystation_2_desc
		trigger = { TECH_TRADE_PRACTICES = 4 }
		gold_cost = 200
		build_time = 730
		upgrades_from = tr_waystation_1
		ai_creation_factor = 93
		
		max_tradeposts = 1
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
	tr_waystation_3 = {
		potential = {
			port = yes
			FROM = { is_patrician = yes }
		}
		desc = tr_waystation_3_desc
		trigger = { TECH_TRADE_PRACTICES = 7 }
		gold_cost = 300
		build_time = 1095
		upgrades_from = tr_waystation_2
		ai_creation_factor = 92
		
		max_tradeposts = 1
		monthly_character_prestige = 0.1
		
		extra_tech_building_start = 10.0 # Never get at start of game
	}
}
