### Transfer Technology
### Automatically generated by Yard1's transfer_technology generator, for Equestria at War
### PREV is the giver, THIS is the reciever
transfer_technology = {
	hidden_effect = {

		if = {
			limit = {
				PREV = {
					has_tech = air_superiority
				}
			}
			set_technology = {
				air_superiority = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infrastructure_destruction
				}
			}
			set_technology = {
				infrastructure_destruction = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = home_defence
				}
			}
			set_technology = {
				home_defence = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_strike_tactics
				}
			}
			set_technology = {
				naval_strike_tactics = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter_sweeps
				}
			}
			set_technology = {
				fighter_sweeps = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dogfighting_experience
				}
			}
			set_technology = {
				dogfighting_experience = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = multialtitude_flying
				}
			}
			set_technology = {
				multialtitude_flying = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = logistical_bombing
				}
			}
			set_technology = {
				logistical_bombing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = night_bombing
				}
			}
			set_technology = {
				night_bombing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = day_bombing
				}
			}
			set_technology = {
				day_bombing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = massed_bomber_formations
				}
			}
			set_technology = {
				massed_bomber_formations = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = air_offense
				}
			}
			set_technology = {
				air_offense = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flying_fortress
				}
			}
			set_technology = {
				flying_fortress = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = offensive_formations
				}
			}
			set_technology = {
				offensive_formations = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mass_destruction
				}
			}
			set_technology = {
				mass_destruction = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = formation_flying
				}
			}
			set_technology = {
				formation_flying = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dive_bombing
				}
			}
			set_technology = {
				dive_bombing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = direct_ground_support
				}
			}
			set_technology = {
				direct_ground_support = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = formation_fighting
				}
			}
			set_technology = {
				formation_fighting = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter_ace_initiative
				}
			}
			set_technology = {
				fighter_ace_initiative = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = hunt_and_destroy
				}
			}
			set_technology = {
				hunt_and_destroy = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = combat_unit_destruction
				}
			}
			set_technology = {
				combat_unit_destruction = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = battlefield_support
				}
			}
			set_technology = {
				battlefield_support = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = keypoint_bombing
				}
			}
			set_technology = {
				keypoint_bombing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = ground_support_integration
				}
			}
			set_technology = {
				ground_support_integration = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_strike_torpedo_tactics
				}
			}
			set_technology = {
				naval_strike_torpedo_tactics = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = strategic_destruction
				}
			}
			set_technology = {
				strategic_destruction = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = forward_interception
				}
			}
			set_technology = {
				forward_interception = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = force_rotation
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						force_rotation = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter_baiting
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						fighter_baiting = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = low_echelon_support
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						low_echelon_support = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_fighting
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						dispersed_fighting = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = operational_destruction
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						operational_destruction = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter_veteran_initiative
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						fighter_veteran_initiative = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_strike_torpedo_tactics_oi
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						naval_strike_torpedo_tactics_oi = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cas_veteran_initiative
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						cas_veteran_initiative = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = carousel_bombing
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						carousel_bombing = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infiltration_bombing
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						infiltration_bombing = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = air_skirmish
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						air_skirmish = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = high_level_bombing
				}
			}
			if = {
				limit = {
					original_tag = SCS
				}
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.5
					uses = 1
					category = air_doctrine
				}
				else = {
					set_technology = {
						high_level_bombing = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_fighter
				}
			}
			set_technology = {
				early_fighter = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_early_fighter
				}
			}
			set_technology = {
				cv_early_fighter = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter1
				}
			}
			set_technology = {
				fighter1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_fighter1
				}
			}
			set_technology = {
				cv_fighter1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter2
				}
			}
			set_technology = {
				fighter2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_fighter2
				}
			}
			set_technology = {
				cv_fighter2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fighter3
				}
			}
			set_technology = {
				fighter3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_fighter3
				}
			}
			set_technology = {
				cv_fighter3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_fighter1
				}
			}
			set_technology = {
				jet_fighter1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_fighter2
				}
			}
			set_technology = {
				jet_fighter2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = CAS1
				}
			}
			set_technology = {
				CAS1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_CAS1
				}
			}
			set_technology = {
				cv_CAS1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = CAS2
				}
			}
			set_technology = {
				CAS2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_CAS2
				}
			}
			set_technology = {
				cv_CAS2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = CAS3
				}
			}
			set_technology = {
				CAS3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_CAS3
				}
			}
			set_technology = {
				cv_CAS3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_bomber1
				}
			}
			set_technology = {
				naval_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_naval_bomber1
				}
			}
			set_technology = {
				cv_naval_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_bomber2
				}
			}
			set_technology = {
				naval_bomber2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_naval_bomber2
				}
			}
			set_technology = {
				cv_naval_bomber2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_bomber3
				}
			}
			set_technology = {
				naval_bomber3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_naval_bomber3
				}
			}
			set_technology = {
				cv_naval_bomber3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_bomber
				}
			}
			set_technology = {
				early_bomber = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = heavy_fighter1
				}
			}
			set_technology = {
				heavy_fighter1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = heavy_fighter2
				}
			}
			set_technology = {
				heavy_fighter2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = heavy_fighter3
				}
			}
			set_technology = {
				heavy_fighter3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tactical_bomber1
				}
			}
			set_technology = {
				tactical_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tactical_bomber2
				}
			}
			set_technology = {
				tactical_bomber2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tactical_bomber3
				}
			}
			set_technology = {
				tactical_bomber3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_tactical_bomber1
				}
			}
			set_technology = {
				jet_tactical_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_tactical_bomber2
				}
			}
			set_technology = {
				jet_tactical_bomber2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = strategic_bomber1
				}
			}
			set_technology = {
				strategic_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = strategic_bomber2
				}
			}
			set_technology = {
				strategic_bomber2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = strategic_bomber3
				}
			}
			set_technology = {
				strategic_bomber3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_strategic_bomber1
				}
			}
			set_technology = {
				jet_strategic_bomber1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flying_boat
				}
			}
			set_technology = {
				flying_boat = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flying_boat1
				}
			}
			set_technology = {
				flying_boat1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flying_boat2
				}
			}
			set_technology = {
				flying_boat2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flying_boat3
				}
			}
			set_technology = {
				flying_boat3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = suicide_craft
				}
			}
			set_technology = {
				suicide_craft = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_fighter_a
				}
			}
			set_technology = {
				jet_fighter_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_jet_fighter1
				}
			}
			set_technology = {
				cv_jet_fighter1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_jet_fighter2
				}
			}
			set_technology = {
				cv_jet_fighter2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = cv_jet_fighter_a
				}
			}
			set_technology = {
				cv_jet_fighter_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_tactical_bomber_a
				}
			}
			set_technology = {
				jet_tactical_bomber_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_strategic_bomber_a
				}
			}
			set_technology = {
				jet_strategic_bomber_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = gwtank
				}
			}
			set_technology = {
				gwtank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_light_tank
				}
			}
			set_technology = {
				basic_light_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_light_td
				}
			}
			set_technology = {
				basic_light_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_light_art
				}
			}
			set_technology = {
				basic_light_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_light_spaa
				}
			}
			set_technology = {
				basic_light_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_light_tank
				}
			}
			set_technology = {
				improved_light_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_light_td
				}
			}
			set_technology = {
				improved_light_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_light_art
				}
			}
			set_technology = {
				improved_light_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_light_spaa
				}
			}
			set_technology = {
				improved_light_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank
				}
			}
			set_technology = {
				advanced_light_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_td
				}
			}
			set_technology = {
				advanced_light_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_art
				}
			}
			set_technology = {
				advanced_light_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_spaa
				}
			}
			set_technology = {
				advanced_light_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_medium_tank
				}
			}
			set_technology = {
				basic_medium_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_medium_td
				}
			}
			set_technology = {
				basic_medium_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_medium_art
				}
			}
			set_technology = {
				basic_medium_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_medium_spaa
				}
			}
			set_technology = {
				basic_medium_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_medium_tank
				}
			}
			set_technology = {
				improved_medium_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_medium_td
				}
			}
			set_technology = {
				improved_medium_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_medium_art
				}
			}
			set_technology = {
				improved_medium_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_medium_spaa
				}
			}
			set_technology = {
				improved_medium_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_medium_tank
				}
			}
			set_technology = {
				advanced_medium_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_medium_td
				}
			}
			set_technology = {
				advanced_medium_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_medium_art
				}
			}
			set_technology = {
				advanced_medium_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_medium_spaa
				}
			}
			set_technology = {
				advanced_medium_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank
				}
			}
			set_technology = {
				main_battle_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_td
				}
			}
			set_technology = {
				modern_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_art
				}
			}
			set_technology = {
				modern_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_spaa
				}
			}
			set_technology = {
				modern_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_heavy_tank
				}
			}
			set_technology = {
				basic_heavy_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_heavy_td
				}
			}
			set_technology = {
				basic_heavy_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_heavy_art
				}
			}
			set_technology = {
				basic_heavy_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_heavy_spaa
				}
			}
			set_technology = {
				basic_heavy_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_heavy_tank
				}
			}
			set_technology = {
				improved_heavy_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_heavy_td
				}
			}
			set_technology = {
				improved_heavy_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_heavy_art
				}
			}
			set_technology = {
				improved_heavy_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_heavy_spaa
				}
			}
			set_technology = {
				improved_heavy_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_heavy_tank
				}
			}
			set_technology = {
				advanced_heavy_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_heavy_td
				}
			}
			set_technology = {
				advanced_heavy_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_heavy_art
				}
			}
			set_technology = {
				advanced_heavy_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_heavy_spaa
				}
			}
			set_technology = {
				advanced_heavy_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank
				}
			}
			set_technology = {
				super_heavy_tank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_td
				}
			}
			set_technology = {
				super_heavy_td = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_art
				}
			}
			set_technology = {
				super_heavy_art = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_spaa
				}
			}
			set_technology = {
				super_heavy_spaa = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_a
				}
			}
			set_technology = {
				super_heavy_tank_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_td_a
				}
			}
			set_technology = {
				super_heavy_tank_td_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_art_a
				}
			}
			set_technology = {
				super_heavy_tank_art_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_spaa_a
				}
			}
			set_technology = {
				super_heavy_tank_spaa_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_b
				}
			}
			set_technology = {
				super_heavy_tank_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_td_b
				}
			}
			set_technology = {
				super_heavy_tank_td_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_art_b
				}
			}
			set_technology = {
				super_heavy_tank_art_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = super_heavy_tank_spaa_b
				}
			}
			set_technology = {
				super_heavy_tank_spaa_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_a
				}
			}
			set_technology = {
				advanced_light_tank_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_td_a
				}
			}
			set_technology = {
				advanced_light_tank_td_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_art_a
				}
			}
			set_technology = {
				advanced_light_tank_art_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_spaa_a
				}
			}
			set_technology = {
				advanced_light_tank_spaa_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_b
				}
			}
			set_technology = {
				advanced_light_tank_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_td_b
				}
			}
			set_technology = {
				advanced_light_tank_td_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_art_b
				}
			}
			set_technology = {
				advanced_light_tank_art_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_tank_spaa_b
				}
			}
			set_technology = {
				advanced_light_tank_spaa_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_a
				}
			}
			set_technology = {
				main_battle_tank_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_td_a
				}
			}
			set_technology = {
				main_battle_tank_td_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_art_a
				}
			}
			set_technology = {
				main_battle_tank_art_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_spaa_a
				}
			}
			set_technology = {
				main_battle_tank_spaa_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_b
				}
			}
			set_technology = {
				main_battle_tank_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_td_b
				}
			}
			set_technology = {
				main_battle_tank_td_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_art_b
				}
			}
			set_technology = {
				main_battle_tank_art_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_spaa_b
				}
			}
			set_technology = {
				main_battle_tank_spaa_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_c
				}
			}
			set_technology = {
				main_battle_tank_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_td_c
				}
			}
			set_technology = {
				main_battle_tank_td_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_art_c
				}
			}
			set_technology = {
				main_battle_tank_art_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_spaa_c
				}
			}
			set_technology = {
				main_battle_tank_spaa_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_d
				}
			}
			set_technology = {
				main_battle_tank_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_td_d
				}
			}
			set_technology = {
				main_battle_tank_td_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_art_d
				}
			}
			set_technology = {
				main_battle_tank_art_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_spaa_d
				}
			}
			set_technology = {
				main_battle_tank_spaa_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_e
				}
			}
			set_technology = {
				main_battle_tank_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_td_e
				}
			}
			set_technology = {
				main_battle_tank_td_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_art_e
				}
			}
			set_technology = {
				main_battle_tank_art_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = main_battle_tank_spaa_e
				}
			}
			set_technology = {
				main_battle_tank_spaa_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = gw_artillery
				}
			}
			set_technology = {
				gw_artillery = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = interwar_artillery
				}
			}
			set_technology = {
				interwar_artillery = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery1
				}
			}
			set_technology = {
				artillery1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery2
				}
			}
			set_technology = {
				artillery2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery3
				}
			}
			set_technology = {
				artillery3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery4
				}
			}
			set_technology = {
				artillery4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery5
				}
			}
			set_technology = {
				artillery5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mountain_gun
				}
			}
			set_technology = {
				mountain_gun = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery
				}
			}
			set_technology = {
				rocket_artillery = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery2
				}
			}
			set_technology = {
				rocket_artillery2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery3
				}
			}
			set_technology = {
				rocket_artillery3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery4
				}
			}
			set_technology = {
				rocket_artillery4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = interwar_antiair
				}
			}
			set_technology = {
				interwar_antiair = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair1
				}
			}
			set_technology = {
				antiair1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair2
				}
			}
			set_technology = {
				antiair2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair3
				}
			}
			set_technology = {
				antiair3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair4
				}
			}
			set_technology = {
				antiair4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair5
				}
			}
			set_technology = {
				antiair5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = interwar_antitank
				}
			}
			set_technology = {
				interwar_antitank = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank1
				}
			}
			set_technology = {
				antitank1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank2
				}
			}
			set_technology = {
				antitank2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank3
				}
			}
			set_technology = {
				antitank3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank4
				}
			}
			set_technology = {
				antitank4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank5
				}
			}
			set_technology = {
				antitank5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank_a
				}
			}
			set_technology = {
				antitank_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank_b
				}
			}
			set_technology = {
				antitank_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank_c
				}
			}
			set_technology = {
				antitank_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank_d
				}
			}
			set_technology = {
				antitank_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antitank_e
				}
			}
			set_technology = {
				antitank_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery_a
				}
			}
			set_technology = {
				artillery_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery_b
				}
			}
			set_technology = {
				artillery_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery_c
				}
			}
			set_technology = {
				artillery_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery_d
				}
			}
			set_technology = {
				artillery_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = artillery_e
				}
			}
			set_technology = {
				artillery_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery_a
				}
			}
			set_technology = {
				rocket_artillery_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery_b
				}
			}
			set_technology = {
				rocket_artillery_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery_c
				}
			}
			set_technology = {
				rocket_artillery_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery_d
				}
			}
			set_technology = {
				rocket_artillery_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_artillery_e
				}
			}
			set_technology = {
				rocket_artillery_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair_a
				}
			}
			set_technology = {
				antiair_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair_b
				}
			}
			set_technology = {
				antiair_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair_c
				}
			}
			set_technology = {
				antiair_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair_d
				}
			}
			set_technology = {
				antiair_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = antiair_e
				}
			}
			set_technology = {
				antiair_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = changeling_race
				}
			}
			set_technology = {
				changeling_race = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager
				}
			}
			set_technology = {
				tech_jager = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager2
				}
			}
			set_technology = {
				tech_jager2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager3
				}
			}
			set_technology = {
				tech_jager3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager_a
				}
			}
			set_technology = {
				tech_jager_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager_b
				}
			}
			set_technology = {
				tech_jager_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_jager_c
				}
			}
			set_technology = {
				tech_jager_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_a
				}
			}
			set_technology = {
				tech_changeling_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_a2
				}
			}
			set_technology = {
				tech_changeling_a2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_a3
				}
			}
			set_technology = {
				tech_changeling_a3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_b
				}
			}
			set_technology = {
				tech_changeling_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_b2
				}
			}
			set_technology = {
				tech_changeling_b2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_b3
				}
			}
			set_technology = {
				tech_changeling_b3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_c
				}
			}
			set_technology = {
				tech_changeling_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_c2
				}
			}
			set_technology = {
				tech_changeling_c2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_changeling_c3
				}
			}
			set_technology = {
				tech_changeling_c3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators
				}
			}
			set_technology = {
				tech_infiltrators = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_di
				}
			}
			set_technology = {
				tech_infiltrators_di = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_di2
				}
			}
			set_technology = {
				tech_infiltrators_di2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_di3
				}
			}
			set_technology = {
				tech_infiltrators_di3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_di4
				}
			}
			set_technology = {
				tech_infiltrators_di4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_si
				}
			}
			set_technology = {
				tech_infiltrators_si = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_si2
				}
			}
			set_technology = {
				tech_infiltrators_si2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_si3
				}
			}
			set_technology = {
				tech_infiltrators_si3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_infiltrators_si4
				}
			}
			set_technology = {
				tech_infiltrators_si4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = deer_race
				}
			}
			set_technology = {
				deer_race = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc
				}
			}
			set_technology = {
				tech_deer_misc = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc2
				}
			}
			set_technology = {
				tech_deer_misc2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc3
				}
			}
			set_technology = {
				tech_deer_misc3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc_a
				}
			}
			set_technology = {
				tech_deer_misc_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc_b
				}
			}
			set_technology = {
				tech_deer_misc_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_misc_c
				}
			}
			set_technology = {
				tech_deer_misc_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval
				}
			}
			set_technology = {
				tech_deer_naval = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval2
				}
			}
			set_technology = {
				tech_deer_naval2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval3
				}
			}
			set_technology = {
				tech_deer_naval3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval_a
				}
			}
			set_technology = {
				tech_deer_naval_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval_b
				}
			}
			set_technology = {
				tech_deer_naval_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_naval_c
				}
			}
			set_technology = {
				tech_deer_naval_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_seer
				}
			}
			set_technology = {
				tech_deer_seer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_seer2
				}
			}
			set_technology = {
				tech_deer_seer2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_seer3
				}
			}
			set_technology = {
				tech_deer_seer3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_seer_a
				}
			}
			set_technology = {
				tech_deer_seer_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_seer_b
				}
			}
			set_technology = {
				tech_deer_seer_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army
				}
			}
			set_technology = {
				tech_deer_army = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army2
				}
			}
			set_technology = {
				tech_deer_army2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army2a
				}
			}
			set_technology = {
				tech_deer_army2a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army3
				}
			}
			set_technology = {
				tech_deer_army3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_def
				}
			}
			set_technology = {
				tech_deer_army_def = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_def2
				}
			}
			set_technology = {
				tech_deer_army_def2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_def3
				}
			}
			set_technology = {
				tech_deer_army_def3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_atk
				}
			}
			set_technology = {
				tech_deer_army_atk = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_atk2
				}
			}
			set_technology = {
				tech_deer_army_atk2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_deer_army_atk3
				}
			}
			set_technology = {
				tech_deer_army_atk3 = 1
			}
		}


		if = {
			limit = {
				PREV = {
					has_tech = electronic_mechanical_engineering
				}
			}
			set_technology = {
				electronic_mechanical_engineering = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = radio
				}
			}
			set_technology = {
				radio = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = radio_detection
				}
			}
			set_technology = {
				radio_detection = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = decimetric_radar
				}
			}
			set_technology = {
				decimetric_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_decimetric_radar
				}
			}
			set_technology = {
				improved_decimetric_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = centimetric_radar
				}
			}
			set_technology = {
				centimetric_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_centimetric_radar
				}
			}
			set_technology = {
				improved_centimetric_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_centimetric_radar
				}
			}
			set_technology = {
				advanced_centimetric_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanical_computing
				}
			}
			set_technology = {
				mechanical_computing = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = computing_machine
				}
			}
			set_technology = {
				computing_machine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_computing_machine
				}
			}
			set_technology = {
				improved_computing_machine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_computing_machine
				}
			}
			set_technology = {
				advanced_computing_machine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_encryption
				}
			}
			set_technology = {
				basic_encryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_encryption
				}
			}
			set_technology = {
				improved_encryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_encryption
				}
			}
			set_technology = {
				advanced_encryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_decryption
				}
			}
			set_technology = {
				basic_decryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_decryption
				}
			}
			set_technology = {
				improved_decryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_decryption
				}
			}
			set_technology = {
				advanced_decryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = experimental_rockets
				}
			}
			set_technology = {
				experimental_rockets = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rocket_engines
				}
			}
			set_technology = {
				rocket_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_rocket_engines
				}
			}
			set_technology = {
				improved_rocket_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_rocket_engines
				}
			}
			set_technology = {
				advanced_rocket_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jet_engines
				}
			}
			set_technology = {
				jet_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = atomic_research
				}
			}
			set_technology = {
				atomic_research = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = nuclear_reactor
				}
			}
			set_technology = {
				nuclear_reactor = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = nukes
				}
			}
			set_technology = {
				nukes = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = nuke_naval
				}
			}
			set_technology = {
				nuke_naval = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = nukes_2
				}
			}
			set_technology = {
				nukes_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_radar
				}
			}
			set_technology = {
				future_radar = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_radar_2
				}
			}
			set_technology = {
				future_radar_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_radar_3
				}
			}
			set_technology = {
				future_radar_3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_computing_machine
				}
			}
			set_technology = {
				future_computing_machine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_computing_machine_2
				}
			}
			set_technology = {
				future_computing_machine_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_computing_machine_3
				}
			}
			set_technology = {
				future_computing_machine_3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_computing_machine_4
				}
			}
			set_technology = {
				future_computing_machine_4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_encryption
				}
			}
			set_technology = {
				future_encryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_decryption
				}
			}
			set_technology = {
				future_decryption = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_encryption_2
				}
			}
			set_technology = {
				future_encryption_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_decryption_2
				}
			}
			set_technology = {
				future_decryption_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_encryption_3
				}
			}
			set_technology = {
				future_encryption_3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = future_decryption_3
				}
			}
			set_technology = {
				future_decryption_3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf1
				}
			}
			set_technology = {
				rdf1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf2
				}
			}
			set_technology = {
				rdf2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf3
				}
			}
			set_technology = {
				rdf3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf4
				}
			}
			set_technology = {
				rdf4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf5
				}
			}
			set_technology = {
				rdf5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = rdf6
				}
			}
			set_technology = {
				rdf6 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = semi_modern_rocket_engines
				}
			}
			set_technology = {
				semi_modern_rocket_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_rocket_engines
				}
			}
			set_technology = {
				modern_rocket_engines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = generic_race
				}
			}
			set_technology = {
				generic_race = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc
				}
			}
			set_technology = {
				tech_generic_misc = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc2
				}
			}
			set_technology = {
				tech_generic_misc2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc3
				}
			}
			set_technology = {
				tech_generic_misc3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc_a
				}
			}
			set_technology = {
				tech_generic_misc_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc_b
				}
			}
			set_technology = {
				tech_generic_misc_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_misc_c
				}
			}
			set_technology = {
				tech_generic_misc_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_l
				}
			}
			set_technology = {
				tech_generic_l = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_l2
				}
			}
			set_technology = {
				tech_generic_l2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_l3
				}
			}
			set_technology = {
				tech_generic_l3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_l4
				}
			}
			set_technology = {
				tech_generic_l4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_l5
				}
			}
			set_technology = {
				tech_generic_l5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_r
				}
			}
			set_technology = {
				tech_generic_r = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_r2
				}
			}
			set_technology = {
				tech_generic_r2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_r3
				}
			}
			set_technology = {
				tech_generic_r3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_r4
				}
			}
			set_technology = {
				tech_generic_r4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_generic_r5
				}
			}
			set_technology = {
				tech_generic_r5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_machine_tools
				}
			}
			set_technology = {
				basic_machine_tools = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_machine_tools
				}
			}
			set_technology = {
				improved_machine_tools = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_machine_tools
				}
			}
			set_technology = {
				advanced_machine_tools = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = assembly_line_production
				}
			}
			set_technology = {
				assembly_line_production = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flexible_line
				}
			}
			set_technology = {
				flexible_line = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = streamlined_line
				}
			}
			set_technology = {
				streamlined_line = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_equipment_conversion
				}
			}
			set_technology = {
				improved_equipment_conversion = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_equipment_conversion
				}
			}
			set_technology = {
				advanced_equipment_conversion = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry
				}
			}
			set_technology = {
				concentrated_industry = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry2
				}
			}
			set_technology = {
				concentrated_industry2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry3
				}
			}
			set_technology = {
				concentrated_industry3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry4
				}
			}
			set_technology = {
				concentrated_industry4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry5
				}
			}
			set_technology = {
				concentrated_industry5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry
				}
			}
			set_technology = {
				dispersed_industry = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry2
				}
			}
			set_technology = {
				dispersed_industry2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry3
				}
			}
			set_technology = {
				dispersed_industry3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry4
				}
			}
			set_technology = {
				dispersed_industry4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry5
				}
			}
			set_technology = {
				dispersed_industry5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = synth_oil_experiments
				}
			}
			set_technology = {
				synth_oil_experiments = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = oil_plant
				}
			}
			set_technology = {
				oil_plant = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_oil_plant
				}
			}
			set_technology = {
				improved_oil_plant = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_oil_plant
				}
			}
			set_technology = {
				advanced_oil_plant = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction1
				}
			}
			set_technology = {
				construction1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation1
				}
			}
			set_technology = {
				excavation1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction2
				}
			}
			set_technology = {
				construction2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation2
				}
			}
			set_technology = {
				excavation2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction3
				}
			}
			set_technology = {
				construction3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation3
				}
			}
			set_technology = {
				excavation3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction4
				}
			}
			set_technology = {
				construction4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation4
				}
			}
			set_technology = {
				excavation4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction5
				}
			}
			set_technology = {
				construction5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation5
				}
			}
			set_technology = {
				excavation5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction_a
				}
			}
			set_technology = {
				construction_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation_a
				}
			}
			set_technology = {
				excavation_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction_b
				}
			}
			set_technology = {
				construction_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation_b
				}
			}
			set_technology = {
				excavation_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction_c
				}
			}
			set_technology = {
				construction_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation_c
				}
			}
			set_technology = {
				excavation_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = construction_d
				}
			}
			set_technology = {
				construction_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = excavation_d
				}
			}
			set_technology = {
				excavation_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = flexible_line_a
				}
			}
			set_technology = {
				flexible_line_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = streamlined_line_a
				}
			}
			set_technology = {
				streamlined_line_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = streamlined_line_b
				}
			}
			set_technology = {
				streamlined_line_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = streamlined_line_c
				}
			}
			set_technology = {
				streamlined_line_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = streamlined_line_d
				}
			}
			set_technology = {
				streamlined_line_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry_a
				}
			}
			set_technology = {
				concentrated_industry_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry_a
				}
			}
			set_technology = {
				dispersed_industry_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry_b
				}
			}
			set_technology = {
				concentrated_industry_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry_b
				}
			}
			set_technology = {
				dispersed_industry_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry_c
				}
			}
			set_technology = {
				concentrated_industry_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry_c
				}
			}
			set_technology = {
				dispersed_industry_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_industry_d
				}
			}
			set_technology = {
				concentrated_industry_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_industry_d
				}
			}
			set_technology = {
				dispersed_industry_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = melee_weapons
				}
			}
			set_technology = {
				melee_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = melee_weapons1
				}
			}
			set_technology = {
				melee_weapons1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_weapons
				}
			}
			set_technology = {
				infantry_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_weapons1
				}
			}
			set_technology = {
				infantry_weapons1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_weapons2
				}
			}
			set_technology = {
				infantry_weapons2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_infantry_weapons
				}
			}
			set_technology = {
				improved_infantry_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_infantry_weapons_2
				}
			}
			set_technology = {
				improved_infantry_weapons_2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = magical_weapons
				}
			}
			set_technology = {
				magical_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = magical_weapons1
				}
			}
			set_technology = {
				magical_weapons1 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = magical_weapons2
				}
			}
			set_technology = {
				magical_weapons2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = magical_weapons3
				}
			}
			set_technology = {
				magical_weapons3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_at
				}
			}
			set_technology = {
				infantry_at = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_at2
				}
			}
			set_technology = {
				infantry_at2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons
				}
			}
			set_technology = {
				advanced_infantry_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons2
				}
			}
			set_technology = {
				advanced_infantry_weapons2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers
				}
			}
			set_technology = {
				paratroopers = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers2
				}
			}
			set_technology = {
				paratroopers2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers3
				}
			}
			set_technology = {
				paratroopers3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines
				}
			}
			set_technology = {
				marines = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines2
				}
			}
			set_technology = {
				marines2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines3
				}
			}
			set_technology = {
				marines3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_mountaineers
				}
			}
			set_technology = {
				tech_mountaineers = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_mountaineers2
				}
			}
			set_technology = {
				tech_mountaineers2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_mountaineers3
				}
			}
			set_technology = {
				tech_mountaineers3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = jungle_warfare
				}
			}
			set_technology = {
				jungle_warfare = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = HUN_light_infantry_tech
				}
			}
			set_technology = {
				HUN_light_infantry_tech = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = night_vision
				}
			}
			set_technology = {
				night_vision = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = night_vision2
				}
			}
			set_technology = {
				night_vision2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons
				}
			}
			set_technology = {
				support_weapons = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons2
				}
			}
			set_technology = {
				support_weapons2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons3
				}
			}
			set_technology = {
				support_weapons3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons4
				}
			}
			set_technology = {
				support_weapons4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = motorised_infantry
				}
			}
			set_technology = {
				motorised_infantry = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = motorized_rocket_unit
				}
			}
			set_technology = {
				motorized_rocket_unit = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_infantry
				}
			}
			set_technology = {
				mechanised_infantry = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_infantry2
				}
			}
			set_technology = {
				mechanised_infantry2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_infantry3
				}
			}
			set_technology = {
				mechanised_infantry3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_infantry_a
				}
			}
			set_technology = {
				mechanised_infantry_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_infantry_b
				}
			}
			set_technology = {
				mechanised_infantry_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons_a
				}
			}
			set_technology = {
				advanced_infantry_weapons_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons_b
				}
			}
			set_technology = {
				advanced_infantry_weapons_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons_c
				}
			}
			set_technology = {
				advanced_infantry_weapons_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons_d
				}
			}
			set_technology = {
				advanced_infantry_weapons_d = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_infantry_weapons_e
				}
			}
			set_technology = {
				advanced_infantry_weapons_e = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_at_a
				}
			}
			set_technology = {
				infantry_at_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_at_b
				}
			}
			set_technology = {
				infantry_at_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_at_c
				}
			}
			set_technology = {
				infantry_at_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers_a
				}
			}
			set_technology = {
				paratroopers_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers_b
				}
			}
			set_technology = {
				paratroopers_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = paratroopers_c
				}
			}
			set_technology = {
				paratroopers_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines_a
				}
			}
			set_technology = {
				marines_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines_b
				}
			}
			set_technology = {
				marines_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = marines_c
				}
			}
			set_technology = {
				marines_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mountaineers_a
				}
			}
			set_technology = {
				mountaineers_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mountaineers_b
				}
			}
			set_technology = {
				mountaineers_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mountaineers_c
				}
			}
			set_technology = {
				mountaineers_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons_a
				}
			}
			set_technology = {
				support_weapons_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons_b
				}
			}
			set_technology = {
				support_weapons_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = night_vision_a
				}
			}
			set_technology = {
				night_vision_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = support_weapons_c
				}
			}
			set_technology = {
				support_weapons_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mobile_warfare
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mobile_warfare = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = delay
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						delay = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = elastic_defence
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						elastic_defence = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mobile_infantry
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mobile_infantry = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mass_motorization
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mass_motorization = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanised_offensive
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mechanised_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = armored_spearhead
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						armored_spearhead = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = schwerpunk
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						schwerpunk = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = blitzkrieg
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						blitzkrieg = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = kampfgruppe
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						kampfgruppe = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = firebrigades
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						firebrigades = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = backhand_blow
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						backhand_blow = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_blitzkrieg
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						modern_blitzkrieg = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = volkssturm
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						volkssturm = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = nd_conscription
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						nd_conscription = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = werwolf_guerillas
				}
			}
			if = {
				limit = {
					original_tag = GRF
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						werwolf_guerillas = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = superior_firepower
				}
			}
			set_technology = {
				superior_firepower = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = sup_delay
				}
			}
			set_technology = {
				sup_delay = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mobile_defence
				}
			}
			set_technology = {
				mobile_defence = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = intergrated_support
				}
			}
			set_technology = {
				intergrated_support = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = regimental_combat_teams
				}
			}
			set_technology = {
				regimental_combat_teams = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = dispersed_support
				}
			}
			set_technology = {
				dispersed_support = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = overwhelming_firepower
				}
			}
			set_technology = {
				overwhelming_firepower = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = sup_mechanized_offensive
				}
			}
			set_technology = {
				sup_mechanized_offensive = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = concentrated_fire_plans
				}
			}
			set_technology = {
				concentrated_fire_plans = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = combined_arms
				}
			}
			set_technology = {
				combined_arms = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tactical_control
				}
			}
			set_technology = {
				tactical_control = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = air_land_battle
				}
			}
			set_technology = {
				air_land_battle = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = centralized_fire_control
				}
			}
			set_technology = {
				centralized_fire_control = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = forward_observers
				}
			}
			set_technology = {
				forward_observers = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_firebases
				}
			}
			set_technology = {
				advanced_firebases = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = shock_and_awe
				}
			}
			set_technology = {
				shock_and_awe = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = trench_warfare
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						trench_warfare = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = grand_battle_plan
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						grand_battle_plan = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = prepared_defense
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						prepared_defense = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = grand_assault
				}
			}
			set_technology = {
				grand_assault = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = grand_mechanized_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						grand_mechanized_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = assault_concentration
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						assault_concentration = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = branch_interoperation
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						branch_interoperation = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = assault_breakthrough
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						assault_breakthrough = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = central_planning
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						central_planning = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = c3i_theory
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						c3i_theory = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infantry_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						infantry_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = armored_operations
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						armored_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infiltration_assault
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						infiltration_assault = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = night_assault_tactics
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						night_assault_tactics = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = attritional_containment
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						attritional_containment = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = infiltration_in_depth
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						infiltration_in_depth = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mass_assault
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mass_assault = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = pocket_defence
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						pocket_defence = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = defence_in_depth
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						defence_in_depth = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = large_front_operations
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						large_front_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = deep_operations
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						deep_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = operational_concentration
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						operational_concentration = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = vast_offensives
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						vast_offensives = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = breakthrough_priority
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						breakthrough_priority = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = mechanized_wave
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						mechanized_wave = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = continuous_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						continuous_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = peoples_army
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						peoples_army = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = human_infantry_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						human_infantry_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = large_front_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						large_front_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = human_wave_offensive
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						human_wave_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = guerilla_warfare
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = land_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = land_doctrine
  			}
				else = {
					set_technology = {
						guerilla_warfare = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = fleet_in_being
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						fleet_in_being = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = battlefleet_concentration
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						battlefleet_concentration = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = subsidiary_carrier_role
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						subsidiary_carrier_role = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = hunter_killer_groups
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						hunter_killer_groups = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_fortress
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_fortress = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_airfield
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_airfield = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = grand_battlefleet
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						grand_battlefleet = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_sailing
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_sailing = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_escorts
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_escorts = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = escort_carriers
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						escort_carriers = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = integrated_convoy_defence
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						integrated_convoy_defence = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = submarine_operations
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						submarine_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = undersea_blockade
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						undersea_blockade = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_interdiction
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_interdiction = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = submarine_offensive
				}
			}
			if = {
				limit = {
					original_tag = BAL
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						submarine_offensive = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = trade_interdiction
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						trade_interdiction = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_interdiction_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_interdiction_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = unrestricted_submarine_warfare
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						unrestricted_submarine_warfare = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = wolfpacks
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						wolfpacks = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_submarine_warfare
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						advanced_submarine_warfare = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = combined_operations_raiding
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						combined_operations_raiding = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = raider_patrols
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						raider_patrols = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = capital_ship_raiders
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						capital_ship_raiders = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = battlefleet_concentration_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						battlefleet_concentration_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_fortress_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_fortress_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_airfield_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_airfield_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = carrier_operations
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						carrier_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_sailing_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_sailing_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = subsidiary_carrier_role_ti
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						subsidiary_carrier_role_ti = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = naval_air_operations
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NLR
						original_tag = OLE
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						naval_air_operations = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = base_strike
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						base_strike = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = carrier_primacy
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						carrier_primacy = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = carrier_task_forces
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						carrier_task_forces = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_airfield_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_airfield_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = massed_strikes
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						massed_strikes = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = floating_fortress_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						floating_fortress_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = carrier_battlegroups
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						carrier_battlegroups = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = submarine_operations_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						submarine_operations_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = undersea_blockade_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						undersea_blockade_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_interdiction_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_interdiction_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = submarine_offensive_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						submarine_offensive_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_escorts_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_escorts_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = escort_patrols
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						escort_patrols = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = convoy_sailing_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
  				name = naval_doc_bonus
  				bonus = 0.5
  				uses = 1
  				category = naval_doctrine
  			}
				else = {
					set_technology = {
						convoy_sailing_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = integrated_convoy_defence_bs
				}
			}
			if = {
				limit = {
					OR = {
						original_tag = NMS
						original_tag = BAL
						original_tag = GFF
						original_tag = JUN
					}
				}
				add_tech_bonus = {
					name = naval_doc_bonus
					bonus = 0.5
					uses = 1
					category = naval_doctrine
				}
				else = {
					set_technology = {
						integrated_convoy_defence_bs = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_destroyer
				}
			}
			set_technology = {
				early_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_destroyer
				}
			}
			set_technology = {
				basic_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_destroyer
				}
			}
			set_technology = {
				improved_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_destroyer
				}
			}
			set_technology = {
				advanced_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_light_cruiser
				}
			}
			set_technology = {
				early_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_light_cruiser
				}
			}
			set_technology = {
				basic_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_light_cruiser
				}
			}
			set_technology = {
				improved_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_light_cruiser
				}
			}
			set_technology = {
				advanced_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_heavy_cruiser
				}
			}
			set_technology = {
				early_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_heavy_cruiser
				}
			}
			set_technology = {
				basic_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_heavy_cruiser
				}
			}
			set_technology = {
				improved_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_heavy_cruiser
				}
			}
			set_technology = {
				advanced_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_battlecruiser
				}
			}
			set_technology = {
				early_battlecruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_battlecruiser
				}
			}
			set_technology = {
				basic_battlecruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_battleship
				}
			}
			set_technology = {
				early_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_battleship
				}
			}
			set_technology = {
				basic_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_battleship
				}
			}
			set_technology = {
				improved_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_battleship
				}
			}
			set_technology = {
				advanced_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = heavy_battleship
				}
			}
			set_technology = {
				heavy_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = heavy_battleship2
				}
			}
			set_technology = {
				heavy_battleship2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = transport
				}
			}
			set_technology = {
				transport = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = landing_craft
				}
			}
			set_technology = {
				landing_craft = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tank_landing_craft
				}
			}
			set_technology = {
				tank_landing_craft = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_carrier
				}
			}
			set_technology = {
				early_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_carrier
				}
			}
			set_technology = {
				basic_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_carrier
				}
			}
			set_technology = {
				improved_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_carrier
				}
			}
			set_technology = {
				advanced_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = early_submarine
				}
			}
			set_technology = {
				early_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = basic_submarine
				}
			}
			set_technology = {
				basic_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = improved_submarine
				}
			}
			set_technology = {
				improved_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = advanced_submarine
				}
			}
			set_technology = {
				advanced_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_destroyer
				}
			}
			set_technology = {
				etat_semi_modern_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_destroyer
				}
			}
			set_technology = {
				etat_modern_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_destroyer
				}
			}
			set_technology = {
				etat_1027_destroyer = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_light_cruiser
				}
			}
			set_technology = {
				etat_semi_modern_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_light_cruiser
				}
			}
			set_technology = {
				etat_modern_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_light_cruiser
				}
			}
			set_technology = {
				etat_1027_light_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_heavy_cruiser
				}
			}
			set_technology = {
				etat_semi_modern_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_heavy_cruiser
				}
			}
			set_technology = {
				etat_modern_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_heavy_cruiser
				}
			}
			set_technology = {
				etat_1027_heavy_cruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = semi_modern_battlecruiser
				}
			}
			set_technology = {
				semi_modern_battlecruiser = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_battleship
				}
			}
			set_technology = {
				etat_semi_modern_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_battleship
				}
			}
			set_technology = {
				etat_modern_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_battleship
				}
			}
			set_technology = {
				etat_1027_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_nuc_battleship
				}
			}
			set_technology = {
				etat_nuc_battleship = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_heavy_battleship3
				}
			}
			set_technology = {
				etat_heavy_battleship3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = semi_modern_landing_craft
				}
			}
			set_technology = {
				semi_modern_landing_craft = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = modern_landing_craft
				}
			}
			set_technology = {
				modern_landing_craft = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_carrier
				}
			}
			set_technology = {
				etat_semi_modern_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_carrier
				}
			}
			set_technology = {
				etat_modern_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_carrier
				}
			}
			set_technology = {
				etat_1027_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_nuc_carrier
				}
			}
			set_technology = {
				etat_nuc_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_semi_modern_submarine
				}
			}
			set_technology = {
				etat_semi_modern_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_modern_submarine
				}
			}
			set_technology = {
				etat_modern_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_1027_submarine
				}
			}
			set_technology = {
				etat_1027_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = etat_nuc_submarine
				}
			}
			set_technology = {
				etat_nuc_submarine = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = escort_carrier
				}
			}
			set_technology = {
				escort_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = light_carrier
				}
			}
			set_technology = {
				light_carrier = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = light_carrier2
				}
			}
			set_technology = {
				light_carrier2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = pony_race
				}
			}
			set_technology = {
				pony_race = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc
				}
			}
			set_technology = {
				tech_pony_misc = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc2
				}
			}
			set_technology = {
				tech_pony_misc2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc3
				}
			}
			set_technology = {
				tech_pony_misc3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc_a
				}
			}
			set_technology = {
				tech_pony_misc_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc_a2
				}
			}
			set_technology = {
				tech_pony_misc_a2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc_b
				}
			}
			set_technology = {
				tech_pony_misc_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc_c
				}
			}
			set_technology = {
				tech_pony_misc_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_misc_c2
				}
			}
			set_technology = {
				tech_pony_misc_c2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi
				}
			}
			set_technology = {
				tech_pegasi = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi2
				}
			}
			set_technology = {
				tech_pegasi2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi3
				}
			}
			set_technology = {
				tech_pegasi3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi_a
				}
			}
			set_technology = {
				tech_pegasi_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi_b
				}
			}
			set_technology = {
				tech_pegasi_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pegasi_c
				}
			}
			set_technology = {
				tech_pegasi_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn
				}
			}
			set_technology = {
				tech_unicorn = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_th
				}
			}
			if = {
				limit = {
					original_tag = NLR
					original_tag = NMS
				}
				set_technology = {
					tech_unicorn_ms = 1
				}
				else = {
					set_technology = {
						tech_unicorn_th = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_th2
				}
			}
			if = {
				limit = {
					original_tag = NLR
					original_tag = NMS
				}
				set_technology = {
					tech_unicorn_ms2 = 1
				}
				else = {
					set_technology = {
						tech_unicorn_th2 = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_th3
				}
			}
			if = {
				limit = {
					original_tag = NLR
					original_tag = NMS
				}
				set_technology = {
					tech_unicorn_ms3 = 1
				}
				else = {
					set_technology = {
						tech_unicorn_th3 = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_th4
				}
			}
			if = {
				limit = {
					original_tag = NLR
					original_tag = NMS
				}
				set_technology = {
					tech_unicorn_ms4 = 1
				}
				else = {
					set_technology = {
						tech_unicorn_th4 = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_th5
				}
			}
			if = {
				limit = {
					original_tag = NLR
					original_tag = NMS
				}
				set_technology = {
					tech_unicorn_ms5 = 1
				}
				else = {
					set_technology = {
						tech_unicorn_th5 = 1
					}
				}
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_ms
				}
			}
			set_technology = {
				tech_unicorn_ms = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_ms2
				}
			}
			set_technology = {
				tech_unicorn_ms2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_ms3
				}
			}
			set_technology = {
				tech_unicorn_ms3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_ms4
				}
			}
			set_technology = {
				tech_unicorn_ms4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_unicorn_ms5
				}
			}
			set_technology = {
				tech_unicorn_ms5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_magical_infantry
				}
			}
			set_technology = {
				tech_pony_magical_infantry = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_magical_infantry2
				}
			}
			set_technology = {
				tech_pony_magical_infantry2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_magical_infantry3
				}
			}
			set_technology = {
				tech_pony_magical_infantry3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_magical_infantry4
				}
			}
			set_technology = {
				tech_pony_magical_infantry4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_magical_infantry5
				}
			}
			set_technology = {
				tech_pony_magical_infantry5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_unicorns
				}
			}
			set_technology = {
				tech_pony_unicorns = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_unicorns2
				}
			}
			set_technology = {
				tech_pony_unicorns2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_unicorns3
				}
			}
			set_technology = {
				tech_pony_unicorns3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_unicorns4
				}
			}
			set_technology = {
				tech_pony_unicorns4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_pony_unicorns5
				}
			}
			set_technology = {
				tech_pony_unicorns5 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_support
				}
			}
			set_technology = {
				tech_support = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers
				}
			}
			set_technology = {
				tech_engineers = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers2
				}
			}
			set_technology = {
				tech_engineers2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers3
				}
			}
			set_technology = {
				tech_engineers3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers4
				}
			}
			set_technology = {
				tech_engineers4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon
				}
			}
			set_technology = {
				tech_recon = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon2
				}
			}
			set_technology = {
				tech_recon2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon3
				}
			}
			set_technology = {
				tech_recon3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon4
				}
			}
			set_technology = {
				tech_recon4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police
				}
			}
			set_technology = {
				tech_military_police = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police2
				}
			}
			set_technology = {
				tech_military_police2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police3
				}
			}
			set_technology = {
				tech_military_police3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police4
				}
			}
			set_technology = {
				tech_military_police4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company
				}
			}
			set_technology = {
				tech_maintenance_company = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company2
				}
			}
			set_technology = {
				tech_maintenance_company2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company3
				}
			}
			set_technology = {
				tech_maintenance_company3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company4
				}
			}
			set_technology = {
				tech_maintenance_company4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital
				}
			}
			set_technology = {
				tech_field_hospital = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital2
				}
			}
			set_technology = {
				tech_field_hospital2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital3
				}
			}
			set_technology = {
				tech_field_hospital3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital4
				}
			}
			set_technology = {
				tech_field_hospital4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company
				}
			}
			set_technology = {
				tech_logistics_company = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company2
				}
			}
			set_technology = {
				tech_logistics_company2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company3
				}
			}
			set_technology = {
				tech_logistics_company3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company4
				}
			}
			set_technology = {
				tech_logistics_company4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company
				}
			}
			set_technology = {
				tech_signal_company = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company2
				}
			}
			set_technology = {
				tech_signal_company2 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company3
				}
			}
			set_technology = {
				tech_signal_company3 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company4
				}
			}
			set_technology = {
				tech_signal_company4 = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company_a
				}
			}
			set_technology = {
				tech_signal_company_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company_b
				}
			}
			set_technology = {
				tech_signal_company_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_signal_company_c
				}
			}
			set_technology = {
				tech_signal_company_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers_a
				}
			}
			set_technology = {
				tech_engineers_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers_b
				}
			}
			set_technology = {
				tech_engineers_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_engineers_c
				}
			}
			set_technology = {
				tech_engineers_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon_a
				}
			}
			set_technology = {
				tech_recon_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon_b
				}
			}
			set_technology = {
				tech_recon_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_recon_c
				}
			}
			set_technology = {
				tech_recon_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police_a
				}
			}
			set_technology = {
				tech_military_police_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police_b
				}
			}
			set_technology = {
				tech_military_police_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_military_police_c
				}
			}
			set_technology = {
				tech_military_police_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company_a
				}
			}
			set_technology = {
				tech_maintenance_company_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company_b
				}
			}
			set_technology = {
				tech_maintenance_company_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_maintenance_company_c
				}
			}
			set_technology = {
				tech_maintenance_company_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital_a
				}
			}
			set_technology = {
				tech_field_hospital_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital_b
				}
			}
			set_technology = {
				tech_field_hospital_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_field_hospital_c
				}
			}
			set_technology = {
				tech_field_hospital_c = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company_a
				}
			}
			set_technology = {
				tech_logistics_company_a = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company_b
				}
			}
			set_technology = {
				tech_logistics_company_b = 1
			}
		}

		if = {
			limit = {
				PREV = {
					has_tech = tech_logistics_company_c
				}
			}
			set_technology = {
				tech_logistics_company_c = 1
			}
		}
	}
}
