TECH_GROUP_MILITARY = {
	TECH_LIGHT_INFANTRY = {
		modifier = {
			ARCHERS_OFFENSIVE = 0.3
			LIGHT_INFANTRY_OFFENSIVE = 0.3
			LIGHT_INFANTRY_DEFENSIVE = 0.3
			ARCHERS_DEFENSIVE = 0.3
		}	
	}
	TECH_HEAVY_INFANTRY = {
		modifier = {
			PIKEMEN_OFFENSIVE = 0.3
			HEAVY_INFANTRY_OFFENSIVE = 0.3
			HEAVY_INFANTRY_DEFENSIVE = 0.3
			PIKEMEN_DEFENSIVE = 0.3
		}		
	}
	TECH_CAVALRY = {
		modifier = {
			LIGHT_CAVALRY_OFFENSIVE  = 0.3
			KNIGHTS_OFFENSIVE = 0.3
			horse_archers_offensive = 0.3
			camel_cavalry_offensive = 0.3
			LIGHT_CAVALRY_DEFENSIVE = 0.3
			war_elephants_offensive = 0.3
			KNIGHTS_DEFENSIVE = 0.3
			horse_archers_defensive = 0.3
			camel_cavalry_defensive = 0.3
			war_elephants_defensive = 0.3
		}
	}
	TECH_SIEGE_EQUIPMENT = {
		modifier = {
			SIEGE_SPEED = 1.0
			SIEGE_DEFENCE = 1.0
		}
	}
	TECH_NAVAL = {
		modifier = {
			GALLEYS_PERC = 0.8
		}
		1 = {
			add_building = ct_shipyard_1
			add_building = tp_shipyard_1
			add_building = ca_shipyard_1
			add_building = no_harbor_2
			add_building = tb_shipyard_1
		}
		2 = {
			add_building = ct_shipyard_2
			add_building = tp_shipyard_2
			add_building = ca_shipyard_2
			add_building = no_harbor_3
			add_building = tb_shipyard_2
		}
		3 = {
			add_building = ct_shipyard_3
			add_building = tp_shipyard_3
			add_building = ca_shipyard_3
			add_building = no_harbor_4
			add_building = tb_shipyard_3
		}
		4 = {
			add_building = ct_shipyard_4
			add_building = tp_shipyard_4
			add_building = ca_shipyard_4
			add_building = no_harbor_5
			add_building = tb_shipyard_4
		}
		5 = {
			add_building = no_harbor_6
		}
		6 = {
			add_building = no_harbor_7
		}
		7 = {
			add_building = no_harbor_8
		}
	}
	TECH_RECRUITMENT = {
		modifier = {
			GLOBAL_SUPPLY_LIMIT = 1.0
			LAND_MORALE = 0.5
		}
	}
}

TECH_GROUP_ECONOMY = {
	TECH_CASTLE_CONSTRUCTION = { #castle buildings
		modifier = {
		}
		1 = {
			add_building = ca_militia_barracks_2
			add_building = ca_barracks_3
			add_building = "<CULTURE>2"
			add_building = tb_hillfort_3
			add_building = tb_hillfort_4
			add_building = no_horse_breeder_3
			add_building = no_horse_breeder_4
			add_building = no_wrestling_2
			add_building = no_hunting_parties_3
			add_building = no_hunting_parties_4
			add_building = no_composite_bow_crafter_1
			add_building = no_lamellar_armor_crafter_2
			add_building = no_lamellar_armor_crafter_3
			add_building = no_camel_breeder_2
			add_building = no_camel_breeder_3
			add_building = no_elephant_camp_2
			add_building = no_elephant_camp_3
		}
		2 = {
			add_building = ca_stable_3
			add_building = ca_town_3
			add_building = "<CULTURE>3"
			add_building = no_horse_breeder_5
			add_building = no_horse_breeder_6
			add_building = no_riding_contests_2
			add_building = no_riding_contests_3
			add_building = no_riding_contests_4
			add_building = no_riding_contests_5
			add_building = no_wrestling_3
			add_building = no_wrestling_4
			add_building = no_hunting_parties_5
			add_building = no_hunting_parties_6
			add_building = no_composite_bow_crafter_2
			add_building = no_lamellar_armor_crafter_4
			add_building = no_camel_breeder_4
			add_building = no_elephant_camp_4
		}
		3 = {
			add_building = ca_barracks_4
			add_building = ca_training_grounds_2
			add_building = no_horse_breeder_7
			add_building = no_horse_breeder_8
			add_building = no_riding_contests_6
			add_building = no_wrestling_5
			add_building = no_hunting_parties_7
			add_building = no_hunting_parties_8
			add_building = no_composite_bow_crafter_3
			add_building = no_lamellar_armor_crafter_5
			add_building = no_camel_breeder_5
			add_building = no_elephant_camp_5
		}
		4 = {
			add_building = ca_stable_4
			add_building = ca_town_4
			add_building = "<CULTURE>4"
			add_building = no_riding_contests_7
			add_building = no_wrestling_6
			add_building = no_composite_bow_crafter_4
			add_building = no_composite_bow_crafter_5
			add_building = no_lamellar_armor_crafter_6
			add_building = no_camel_breeder_6
			add_building = no_elephant_camp_6
		}
		5 = {
			add_building = ca_barracks_5
			add_building = ca_militia_barracks_3
			add_building = no_riding_contests_8
			add_building = no_wrestling_7
			add_building = no_composite_bow_crafter_6
			add_building = no_lamellar_armor_crafter_7
			add_building = no_camel_breeder_7
			add_building = no_elephant_camp_7
		}
		6 = {
			add_building = ca_stable_5
			add_building = ca_town_5
			add_building = ca_training_grounds_3
			add_building = no_wrestling_8
			add_building = no_composite_bow_crafter_7
			add_building = no_lamellar_armor_crafter_8
			add_building = no_camel_breeder_8
			add_building = no_elephant_camp_8
		}
		7 = {
			add_building = ca_barracks_6
			add_building = ca_militia_barracks_4
			add_building = no_composite_bow_crafter_8
		}
		8 = {
			add_building = ca_stable_6
			add_building = ca_town_6
		}
	}
	TECH_CITY_CONSTRUCTION = { #city buildings
		modifier = {
		}
		1 = {
			add_building = ct_marketplace_3
			add_building = ct_barracks_3
			add_building = tb_market_town_3
			add_building = tb_market_town_4
			add_building = no_airag_producer_1
			add_building = no_airag_producer_2
			add_building = no_cattle_pens_3
			add_building = no_cattle_pens_4
			add_building = no_ox_wagon_3
			add_building = no_meat_preserver_1
			add_building = no_meat_preserver_2
			add_building = no_sheep_3
			add_building = no_sheep_4
			add_building = no_felt_crafter_2
			add_building = no_felt_crafter_3
			add_building = no_ger_crafter_1
			add_building = no_fishing_village_3
			add_building = no_fishing_village_4
			add_building = no_gathering_hall_3
			add_building = no_gathering_hall_4
		}
		2 = {
			add_building = ct_guard_2
			add_building = ct_training_grounds_3
			add_building = no_airag_producer_3
			add_building = no_airag_producer_4
			add_building = no_cattle_pens_5
			add_building = no_cattle_pens_6
			add_building = no_ox_wagon_4
			add_building = no_ox_wagon_5
			add_building = no_meat_preserver_3
			add_building = no_meat_preserver_4
			add_building = no_sheep_5
			add_building = no_sheep_6
			add_building = no_felt_crafter_4
			add_building = no_ger_crafter_2
			add_building = no_ger_crafter_3
			add_building = no_fishing_village_5
			add_building = no_fishing_village_6
			add_building = no_gathering_hall_5
			add_building = no_gathering_hall_6
		}
		3 = {
			add_building = ct_university_1
			add_building = ct_marketplace_4
			add_building = ct_barracks_4
			add_building = no_airag_producer_5
			add_building = no_cattle_pens_7
			add_building = no_cattle_pens_8
			add_building = no_ox_wagon_6
			add_building = no_meat_preserver_5
			add_building = no_meat_preserver_6
			add_building = no_sheep_7
			add_building = no_sheep_8
			add_building = no_felt_crafter_5
			add_building = no_ger_crafter_4
			add_building = no_fishing_village_7
			add_building = no_fishing_village_8
			add_building = no_gathering_hall_7
		}
		4 = {
			add_building = ct_guard_3
			add_building = ct_training_grounds_4
			add_building = no_airag_producer_6
			add_building = no_ox_wagon_7
			add_building = no_ox_wagon_8
			add_building = no_meat_preserver_7
			add_building = no_felt_crafter_6
			add_building = no_ger_crafter_5
			add_building = no_ger_crafter_6
			add_building = no_gathering_hall_8
		}
		5 = {
			add_building = ct_marketplace_5
			add_building = ct_barracks_5
			add_building = no_airag_producer_7
			add_building = no_meat_preserver_8
			add_building = no_felt_crafter_7
			add_building = no_ger_crafter_7
		}
		6 = {
			add_building = ct_university_2
			add_building = ct_guard_4
			add_building = ct_training_grounds_5
			add_building = no_airag_producer_8
			add_building = no_felt_crafter_8
			add_building = no_ger_crafter_8
		}
		7 = {
			add_building = ct_marketplace_6
			add_building = ct_barracks_6
		}
		8 = {
			add_building = ct_guard_5
			add_building = ct_university_3
			add_building = ct_training_grounds_6
		}
	}
	TECH_TEMPLE_CONSTRUCTION = { #temple buildings
		modifier = {
		}
		1 = { 
			add_building = tp_barracks_3
			add_building = tp_town_3
			add_building = no_shrine_2
			add_building = no_shrine_3
			add_building = no_minority_shrine_2
			add_building = no_minority_shrine_3
		}
		2 = {
			add_building = tp_monastery_3
			add_building = tp_elite_barracks_3
			add_building = no_shrine_4
			add_building = no_minority_shrine_4
			add_building = no_minority_shrine_5
		}
		3 = {
			add_building = tp_barracks_4
			add_building = tp_town_4
			add_building = tp_school_1
			add_building = no_shrine_5
			add_building = no_minority_shrine_6
		}
		4 = {
			add_building = tp_monastery_4
			add_building = tp_elite_barracks_4
			add_building = no_shrine_6
			add_building = no_shrine_7
			add_building = no_minority_shrine_7
		}
		5 = {
			add_building = tp_barracks_5
			add_building = tp_town_5
			add_building = no_shrine_8
			add_building = no_minority_shrine_8
		}
		6 = {
			add_building = tp_monastery_5
			add_building = tp_elite_barracks_5
			add_building = tp_school_2
		}
		7 = {
			add_building = tp_barracks_6
			add_building = tp_town_6
		}
		8 = {
			add_building = tp_monastery_6
			add_building = tp_elite_barracks_6
		}
	}
	TECH_FORTIFICATIONS_CONSTRUCTION = { # walls and levy buildings
		modifier = {
		}
		1 = {
			add_building = ca_wall_q_2
			add_building = ct_wall_q_2
			add_building = tp_wall_q_2
			add_building = no_baghatur_council_1
			add_building = no_camp_fortifications_3
			add_building = no_camp_fortifications_4
		}
		2 = {
			add_building = ca_keep_3
			add_building = ca_wall_2
			add_building = ct_wall_2
			add_building = tp_wall_2
			add_building = no_baghatur_council_2
			add_building = no_baghatur_council_3
			add_building = no_camp_fortifications_5
		}
		3 = {
			add_building = ca_wall_q_3
			add_building = ct_wall_q_3
			add_building = tp_wall_q_3
			add_building = no_baghatur_council_4
			add_building = no_baghatur_council_5
			add_building = no_camp_fortifications_6
			add_building = ft_upgrade_2
		}
		4 = {
			add_building = ca_keep_4
			add_building = ca_wall_3
			add_building = ct_wall_3
			add_building = tp_wall_3
			add_building = no_baghatur_council_6
			add_building = no_camp_fortifications_7
		}
		5 = {
			add_building = ca_wall_q_4
			add_building = ct_wall_q_4
			add_building = tp_wall_q_4
			add_building = no_baghatur_council_7
			add_building = no_camp_fortifications_8
		}
		6 = {
			add_building = ca_keep_5
			add_building = ca_wall_4
			add_building = ct_wall_4
			add_building = tp_wall_4
			add_building = no_baghatur_council_8
			add_building = ft_upgrade_3
		}
		7 = {
			add_building = ca_wall_q_5
			add_building = ct_wall_q_5
			add_building = tp_wall_q_5
		}
		8 = {
			add_building = ca_keep_6
			add_building = ca_wall_5
			add_building = ct_wall_5
			add_building = tp_wall_5
		}
	}
	TECH_TRADE_PRACTICES = {
		modifier = {
			TRADEVALUE_MULT = 0.6
		}
		1 = {
			add_building = ct_port_2
			add_building = no_yam_3
			add_building = no_yam_4
			add_building = no_minter_1
			add_building = no_minter_2
		}
		2 = {
			add_building = no_yam_5
			add_building = no_yam_6
			add_building = no_minter_3
			add_building = no_minter_4
		}
		3 = {
			add_building = ct_port_3
			add_building = no_yam_7
			add_building = no_minter_5
		}
		4 = {
			add_building = ct_port_4
			add_building = no_yam_8
			add_building = no_minter_6
		}
		5 = {
			add_building = no_minter_7
		}
		6 = {
			add_building = ct_port_5
			add_building = no_minter_8
		}
	}
	TECH_CONSTRUCTION = { #improved construction of all buildings
		modifier = {
			LOCAL_BUILD_TIME_MODIFIER = -0.25
			LOCAL_BUILD_COST_MODIFIER = -0.25
		}
		1= {
		
		}
		2 = {
			add_building = hospital_building_1
			add_building = leper_colony_1
			add_building = soup_kitchen_1
		}
		3 = {
			add_building = hospital_building_2
			add_building = chapel_1
			add_building = translation_house_1
			add_building = pilgrims_inn_1
			add_building = library_1
			
		}
		4 = {
			add_building = hospital_building_3
			add_building = pharmacology_laboratory_1
			add_building = medical_academy_1
			add_building = observatory_1
		}
		5 = {
			add_building = hospital_building_4
		}
		6 = {
			add_building = hospital_building_5
		}
	}
}

TECH_GROUP_CULTURE = {
	TECH_NOBLE_CUSTOMS = {
		modifier = {
			CASTLE_TAX_MODIFIER = 0.5
		}
		1 = {}
		2 = {}
		3 = {}
	}
	TECH_POPULAR_CUSTOMS = {
		modifier = {
			CITY_TAX_MODIFIER = 0.5
		}
	}
	TECH_RELIGIOUS_CUSTOMS = {
		modifier = {
			TEMPLE_TAX_MODIFIER = 0.5
		}
	}
	TECH_MAJESTY = {
		modifier = {
			ADD_PRESTIGE_MODIFIER = 0.5
			ADD_PIETY_MODIFIER = 0.5
			SHORT_REIGN_LENGTH = -5
		}
		1 = {
			add_decision = form_new_kingdom
		}
		2 = {
			add_decision = form_new_empire
		}
		3 = {}
		4 = {}
		5 = {
			add_decision = imperial_administration
		}
	}
	TECH_CULTURE_FLEX = {
		modifier = {
			CULTURE_FLEX = -0.5
			RELIGION_FLEX = -0.5
		}
	}
	TECH_LEGALISM = {
		modifier = {
		}
		1 = {
			add_decision = crown_authority_1
			add_decision = feudal_obligations_1
			add_decision = temple_obligations_1
			add_decision = city_obligations_1
			add_decision = revoke_title_law_1
		}
		2 = {
			add_decision = crown_authority_2
			add_decision = iqta_obligations_1
			add_decision = revoke_title_law_2
		}
		3 = {
			add_decision = crown_authority_3
			add_decision = feudal_obligations_2
			add_decision = temple_obligations_2
			add_decision = city_obligations_2
			add_decision = late_feudal_administration
			add_decision = out_of_realm_inheritance_law_1
		}
		4 = {
			add_decision = vice_royalty_1
			add_decision = iqta_obligations_2
		}
		5 = {
			add_decision = crown_authority_4
			add_decision = feudal_obligations_3
			add_decision = temple_obligations_3
			add_decision = city_obligations_3
		}
		6 = {
			add_decision = iqta_obligations_3
		}
		7 = {
			add_decision = feudal_obligations_4
			add_decision = temple_obligations_4
			add_decision = city_obligations_4
		}
		8 = {
			add_decision = vice_royalty_2
			add_decision = iqta_obligations_4
		}
	}
}
