################################
#
# Ancient Relics Events
#
# Written by David Ballantyne
#
################################

namespace = technology_sharing

country_event = {
	id = technology_sharing.1
	title = "technology_sharing.1.name"
	desc = "technology_sharing.1.desc"
	picture = GFX_evt_overgrown_city
	location = from
	show_sound = event_wind_ruins
	
	is_triggered_only = yes
	
	option = {
		name = OLEJ
		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = PRZEKAZ_NO_MESSAGE
		
		ai_chance = {
			factor = 0
		}

		FROMFROM={
			country_event = {
				id = technology_sharing.2
			}
		}

	}

}

country_event = {
	id = technology_sharing.2
	title = "technology_sharing.2.name"
	desc = "technology_sharing.2.desc"
	picture = GFX_evt_overgrown_city
	location = from
	show_sound = event_wind_ruins
	
	is_triggered_only = yes
	
	option = {
		name = STATUS_QUO
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = NICE
		ai_chance = {
			factor = 100
		}

      #below this paste the generated code


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= example_technology_3
                    
}
                    
NOT = {
                        
has_technology= example_technology_3
                    
}
                
}
                
give_technology = { tech = example_technology_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arcane_deciphering
                    
}
                    
NOT = {
                        
has_technology= tech_arcane_deciphering
                    
}
                
}
                
give_technology = { tech = tech_arcane_deciphering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archeology_lab_ancrel
                    
}
                    
NOT = {
                        
has_technology= tech_archeology_lab_ancrel
                    
}
                
}
                
give_technology = { tech = tech_archeology_lab_ancrel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeostudies
                    
}
                    
NOT = {
                        
has_technology= tech_archaeostudies
                    
}
                
}
                
give_technology = { tech = tech_archaeostudies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_cybrex
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_cybrex
                    
}
                
}
                
give_technology = { tech = tech_secrets_cybrex message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_league
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_league
                    
}
                
}
                
give_technology = { tech = tech_secrets_league message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_irassian
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_irassian
                    
}
                
}
                
give_technology = { tech = tech_secrets_irassian message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_vultaum
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_vultaum
                    
}
                
}
                
give_technology = { tech = tech_secrets_vultaum message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_yuht
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_yuht
                    
}
                
}
                
give_technology = { tech = tech_secrets_yuht message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_baol
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_baol
                    
}
                
}
                
give_technology = { tech = tech_secrets_baol message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_secrets_zroni
                    
}
                    
NOT = {
                        
has_technology= tech_secrets_zroni
                    
}
                
}
                
give_technology = { tech = tech_secrets_zroni message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeoshield
                    
}
                    
NOT = {
                        
has_technology= tech_archaeoshield
                    
}
                
}
                
give_technology = { tech = tech_archaeoshield message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeoarmor
                    
}
                    
NOT = {
                        
has_technology= tech_archaeoarmor
                    
}
                
}
                
give_technology = { tech = tech_archaeoarmor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_detection_scrambler
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_detection_scrambler
                    
}
                
}
                
give_technology = { tech = tech_archaeo_detection_scrambler message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_titan_beam
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_titan_beam
                    
}
                
}
                
give_technology = { tech = tech_archaeo_titan_beam message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_pk_devolving_beam
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_pk_devolving_beam
                    
}
                
}
                
give_technology = { tech = tech_archaeo_pk_devolving_beam message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_mass_drivers
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_mass_drivers
                    
}
                
}
                
give_technology = { tech = tech_archaeo_mass_drivers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_lasers
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_lasers
                    
}
                
}
                
give_technology = { tech = tech_archaeo_lasers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_point_defence
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_point_defence
                    
}
                
}
                
give_technology = { tech = tech_archaeo_point_defence message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_missiles
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_missiles
                    
}
                
}
                
give_technology = { tech = tech_archaeo_missiles message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_mass_accelerator
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_mass_accelerator
                    
}
                
}
                
give_technology = { tech = tech_archaeo_mass_accelerator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_strike_crafts
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_strike_crafts
                    
}
                
}
                
give_technology = { tech = tech_archaeo_strike_crafts message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_rampart
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_rampart
                    
}
                
}
                
give_technology = { tech = tech_archaeo_rampart message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_overcharger
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_overcharger
                    
}
                
}
                
give_technology = { tech = tech_archaeo_overcharger message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archaeo_refinery
                    
}
                    
NOT = {
                        
has_technology= tech_archaeo_refinery
                    
}
                
}
                
give_technology = { tech = tech_archaeo_refinery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colossus
                    
}
                    
NOT = {
                        
has_technology= tech_colossus
                    
}
                
}
                
give_technology = { tech = tech_colossus message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pk_cracker
                    
}
                    
NOT = {
                        
has_technology= tech_pk_cracker
                    
}
                
}
                
give_technology = { tech = tech_pk_cracker message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pk_shielder
                    
}
                    
NOT = {
                        
has_technology= tech_pk_shielder
                    
}
                
}
                
give_technology = { tech = tech_pk_shielder message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pk_neutron
                    
}
                    
NOT = {
                        
has_technology= tech_pk_neutron
                    
}
                
}
                
give_technology = { tech = tech_pk_neutron message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pk_godray
                    
}
                    
NOT = {
                        
has_technology= tech_pk_godray
                    
}
                
}
                
give_technology = { tech = tech_pk_godray message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pk_nanobots
                    
}
                    
NOT = {
                        
has_technology= tech_pk_nanobots
                    
}
                
}
                
give_technology = { tech = tech_pk_nanobots message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_btc_1
                    
}
                    
NOT = {
                        
has_technology= tech_btc_1
                    
}
                
}
                
give_technology = { tech = tech_btc_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_rift_sphere
                    
}
                    
NOT = {
                        
has_technology= tech_rift_sphere
                    
}
                
}
                
give_technology = { tech = tech_rift_sphere message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_astral_harvesting
                    
}
                    
NOT = {
                        
has_technology= tech_astral_harvesting
                    
}
                
}
                
give_technology = { tech = tech_astral_harvesting message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gargantuan_evolution
                    
}
                    
NOT = {
                        
has_technology= tech_gargantuan_evolution
                    
}
                
}
                
give_technology = { tech = tech_gargantuan_evolution message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lgate_activation
                    
}
                    
NOT = {
                        
has_technology= tech_lgate_activation
                    
}
                
}
                
give_technology = { tech = tech_lgate_activation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_lcluster_clue
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_lcluster_clue
                    
}
                
}
                
give_technology = { tech = tech_repeatable_lcluster_clue message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_experimental_subspace_navigation
                    
}
                    
NOT = {
                        
has_technology= tech_experimental_subspace_navigation
                    
}
                
}
                
give_technology = { tech = tech_experimental_subspace_navigation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_neuroregeneration
                    
}
                    
NOT = {
                        
has_technology= tech_neuroregeneration
                    
}
                
}
                
give_technology = { tech = tech_neuroregeneration message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nanite_repair_system
                    
}
                    
NOT = {
                        
has_technology= tech_nanite_repair_system
                    
}
                
}
                
give_technology = { tech = tech_nanite_repair_system message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nanite_autocannon
                    
}
                    
NOT = {
                        
has_technology= tech_nanite_autocannon
                    
}
                
}
                
give_technology = { tech = tech_nanite_autocannon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nanite_flak_batteries
                    
}
                    
NOT = {
                        
has_technology= tech_nanite_flak_batteries
                    
}
                
}
                
give_technology = { tech = tech_nanite_flak_batteries message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_solar_panel_network
                    
}
                    
NOT = {
                        
has_technology= tech_solar_panel_network
                    
}
                
}
                
give_technology = { tech = tech_solar_panel_network message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_exploration
                    
}
                    
NOT = {
                        
has_technology= tech_space_exploration
                    
}
                
}
                
give_technology = { tech = tech_space_exploration message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_corvettes
                    
}
                    
NOT = {
                        
has_technology= tech_corvettes
                    
}
                
}
                
give_technology = { tech = tech_corvettes message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_destroyers
                    
}
                    
NOT = {
                        
has_technology= tech_destroyers
                    
}
                
}
                
give_technology = { tech = tech_destroyers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cruisers
                    
}
                    
NOT = {
                        
has_technology= tech_cruisers
                    
}
                
}
                
give_technology = { tech = tech_cruisers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_battleships
                    
}
                    
NOT = {
                        
has_technology= tech_battleships
                    
}
                
}
                
give_technology = { tech = tech_battleships message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titans
                    
}
                    
NOT = {
                        
has_technology= tech_titans
                    
}
                
}
                
give_technology = { tech = tech_titans message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_juggernaut
                    
}
                    
NOT = {
                        
has_technology= tech_juggernaut
                    
}
                
}
                
give_technology = { tech = tech_juggernaut message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_corvette_build_speed
                    
}
                    
NOT = {
                        
has_technology= tech_corvette_build_speed
                    
}
                
}
                
give_technology = { tech = tech_corvette_build_speed message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_corvette_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_corvette_hull_1
                    
}
                
}
                
give_technology = { tech = tech_corvette_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_corvette_hull_2
                    
}
                    
NOT = {
                        
has_technology= tech_corvette_hull_2
                    
}
                
}
                
give_technology = { tech = tech_corvette_hull_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_destroyer_build_speed
                    
}
                    
NOT = {
                        
has_technology= tech_destroyer_build_speed
                    
}
                
}
                
give_technology = { tech = tech_destroyer_build_speed message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_destroyer_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_destroyer_hull_1
                    
}
                
}
                
give_technology = { tech = tech_destroyer_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_destroyer_hull_2
                    
}
                    
NOT = {
                        
has_technology= tech_destroyer_hull_2
                    
}
                
}
                
give_technology = { tech = tech_destroyer_hull_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cruiser_build_speed
                    
}
                    
NOT = {
                        
has_technology= tech_cruiser_build_speed
                    
}
                
}
                
give_technology = { tech = tech_cruiser_build_speed message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cruiser_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_cruiser_hull_1
                    
}
                
}
                
give_technology = { tech = tech_cruiser_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cruiser_hull_2
                    
}
                    
NOT = {
                        
has_technology= tech_cruiser_hull_2
                    
}
                
}
                
give_technology = { tech = tech_cruiser_hull_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_battleship_build_speed
                    
}
                    
NOT = {
                        
has_technology= tech_battleship_build_speed
                    
}
                
}
                
give_technology = { tech = tech_battleship_build_speed message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_battleship_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_battleship_hull_1
                    
}
                
}
                
give_technology = { tech = tech_battleship_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_battleship_hull_2
                    
}
                    
NOT = {
                        
has_technology= tech_battleship_hull_2
                    
}
                
}
                
give_technology = { tech = tech_battleship_hull_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_titan_hull_1
                    
}
                
}
                
give_technology = { tech = tech_titan_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_hull_2
                    
}
                    
NOT = {
                        
has_technology= tech_titan_hull_2
                    
}
                
}
                
give_technology = { tech = tech_titan_hull_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_starbase_1
                    
}
                    
NOT = {
                        
has_technology= tech_starbase_1
                    
}
                
}
                
give_technology = { tech = tech_starbase_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_starbase_2
                    
}
                    
NOT = {
                        
has_technology= tech_starbase_2
                    
}
                
}
                
give_technology = { tech = tech_starbase_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_starbase_3
                    
}
                    
NOT = {
                        
has_technology= tech_starbase_3
                    
}
                
}
                
give_technology = { tech = tech_starbase_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_starbase_4
                    
}
                    
NOT = {
                        
has_technology= tech_starbase_4
                    
}
                
}
                
give_technology = { tech = tech_starbase_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_starbase_5
                    
}
                    
NOT = {
                        
has_technology= tech_starbase_5
                    
}
                
}
                
give_technology = { tech = tech_starbase_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_habitat_1
                    
}
                    
NOT = {
                        
has_technology= tech_habitat_1
                    
}
                
}
                
give_technology = { tech = tech_habitat_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_habitat_2
                    
}
                    
NOT = {
                        
has_technology= tech_habitat_2
                    
}
                
}
                
give_technology = { tech = tech_habitat_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_habitat_3
                    
}
                    
NOT = {
                        
has_technology= tech_habitat_3
                    
}
                
}
                
give_technology = { tech = tech_habitat_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_modular_engineering
                    
}
                    
NOT = {
                        
has_technology= tech_modular_engineering
                    
}
                
}
                
give_technology = { tech = tech_modular_engineering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_defense_station_improvement
                    
}
                    
NOT = {
                        
has_technology= tech_space_defense_station_improvement
                    
}
                
}
                
give_technology = { tech = tech_space_defense_station_improvement message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_1
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_1
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_2
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_2
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_3
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_3
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_skrand
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_skrand
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_skrand message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_assault_armies
                    
}
                    
NOT = {
                        
has_technology= tech_assault_armies
                    
}
                
}
                
give_technology = { tech = tech_assault_armies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ship_armor_1
                    
}
                    
NOT = {
                        
has_technology= tech_ship_armor_1
                    
}
                
}
                
give_technology = { tech = tech_ship_armor_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ship_armor_2
                    
}
                    
NOT = {
                        
has_technology= tech_ship_armor_2
                    
}
                
}
                
give_technology = { tech = tech_ship_armor_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ship_armor_3
                    
}
                    
NOT = {
                        
has_technology= tech_ship_armor_3
                    
}
                
}
                
give_technology = { tech = tech_ship_armor_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ship_armor_4
                    
}
                    
NOT = {
                        
has_technology= tech_ship_armor_4
                    
}
                
}
                
give_technology = { tech = tech_ship_armor_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ship_armor_5
                    
}
                    
NOT = {
                        
has_technology= tech_ship_armor_5
                    
}
                
}
                
give_technology = { tech = tech_ship_armor_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_crystal_armor_1
                    
}
                    
NOT = {
                        
has_technology= tech_crystal_armor_1
                    
}
                
}
                
give_technology = { tech = tech_crystal_armor_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_crystal_armor_2
                    
}
                    
NOT = {
                        
has_technology= tech_crystal_armor_2
                    
}
                
}
                
give_technology = { tech = tech_crystal_armor_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_hardeners_1
                    
}
                    
NOT = {
                        
has_technology= tech_armor_hardeners_1
                    
}
                
}
                
give_technology = { tech = tech_armor_hardeners_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_hardeners_2
                    
}
                    
NOT = {
                        
has_technology= tech_armor_hardeners_2
                    
}
                
}
                
give_technology = { tech = tech_armor_hardeners_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_1
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_1
                    
}
                
}
                
give_technology = { tech = tech_thrusters_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_2
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_2
                    
}
                
}
                
give_technology = { tech = tech_thrusters_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_3
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_3
                    
}
                
}
                
give_technology = { tech = tech_thrusters_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_4
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_4
                    
}
                
}
                
give_technology = { tech = tech_thrusters_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_defense_station_1
                    
}
                    
NOT = {
                        
has_technology= tech_space_defense_station_1
                    
}
                
}
                
give_technology = { tech = tech_space_defense_station_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_defense_platform_hull_1
                    
}
                    
NOT = {
                        
has_technology= tech_defense_platform_hull_1
                    
}
                
}
                
give_technology = { tech = tech_defense_platform_hull_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_basic_industry
                    
}
                    
NOT = {
                        
has_technology= tech_basic_industry
                    
}
                
}
                
give_technology = { tech = tech_basic_industry message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mechanized_mining
                    
}
                    
NOT = {
                        
has_technology= tech_mechanized_mining
                    
}
                
}
                
give_technology = { tech = tech_mechanized_mining message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_powered_exoskeletons
                    
}
                    
NOT = {
                        
has_technology= tech_powered_exoskeletons
                    
}
                
}
                
give_technology = { tech = tech_powered_exoskeletons message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_mining_1
                    
}
                    
NOT = {
                        
has_technology= tech_space_mining_1
                    
}
                
}
                
give_technology = { tech = tech_space_mining_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_mining_2
                    
}
                    
NOT = {
                        
has_technology= tech_space_mining_2
                    
}
                
}
                
give_technology = { tech = tech_space_mining_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_mining_3
                    
}
                    
NOT = {
                        
has_technology= tech_space_mining_3
                    
}
                
}
                
give_technology = { tech = tech_space_mining_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_mining_4
                    
}
                    
NOT = {
                        
has_technology= tech_space_mining_4
                    
}
                
}
                
give_technology = { tech = tech_space_mining_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_mining_5
                    
}
                    
NOT = {
                        
has_technology= tech_space_mining_5
                    
}
                
}
                
give_technology = { tech = tech_space_mining_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mining_1
                    
}
                    
NOT = {
                        
has_technology= tech_mining_1
                    
}
                
}
                
give_technology = { tech = tech_mining_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mining_2
                    
}
                    
NOT = {
                        
has_technology= tech_mining_2
                    
}
                
}
                
give_technology = { tech = tech_mining_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mining_3
                    
}
                    
NOT = {
                        
has_technology= tech_mining_3
                    
}
                
}
                
give_technology = { tech = tech_mining_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mineral_purification_1
                    
}
                    
NOT = {
                        
has_technology= tech_mineral_purification_1
                    
}
                
}
                
give_technology = { tech = tech_mineral_purification_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mineral_purification_2
                    
}
                    
NOT = {
                        
has_technology= tech_mineral_purification_2
                    
}
                
}
                
give_technology = { tech = tech_mineral_purification_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_alloys_1
                    
}
                    
NOT = {
                        
has_technology= tech_alloys_1
                    
}
                
}
                
give_technology = { tech = tech_alloys_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_alloys_2
                    
}
                    
NOT = {
                        
has_technology= tech_alloys_2
                    
}
                
}
                
give_technology = { tech = tech_alloys_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_advanced_metallurgy_1
                    
}
                    
NOT = {
                        
has_technology= tech_advanced_metallurgy_1
                    
}
                
}
                
give_technology = { tech = tech_advanced_metallurgy_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_advanced_metallurgy_2
                    
}
                    
NOT = {
                        
has_technology= tech_advanced_metallurgy_2
                    
}
                
}
                
give_technology = { tech = tech_advanced_metallurgy_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_luxuries_1
                    
}
                    
NOT = {
                        
has_technology= tech_luxuries_1
                    
}
                
}
                
give_technology = { tech = tech_luxuries_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_luxuries_2
                    
}
                    
NOT = {
                        
has_technology= tech_luxuries_2
                    
}
                
}
                
give_technology = { tech = tech_luxuries_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robotic_workers
                    
}
                    
NOT = {
                        
has_technology= tech_robotic_workers
                    
}
                
}
                
give_technology = { tech = tech_robotic_workers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_droid_workers
                    
}
                    
NOT = {
                        
has_technology= tech_droid_workers
                    
}
                
}
                
give_technology = { tech = tech_droid_workers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_synthetic_workers
                    
}
                    
NOT = {
                        
has_technology= tech_synthetic_workers
                    
}
                
}
                
give_technology = { tech = tech_synthetic_workers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_synthetic_leaders
                    
}
                    
NOT = {
                        
has_technology= tech_synthetic_leaders
                    
}
                
}
                
give_technology = { tech = tech_synthetic_leaders message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robot_assembly_complex
                    
}
                    
NOT = {
                        
has_technology= tech_robot_assembly_complex
                    
}
                
}
                
give_technology = { tech = tech_robot_assembly_complex message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_integrated_cybernetics
                    
}
                    
NOT = {
                        
has_technology= tech_integrated_cybernetics
                    
}
                
}
                
give_technology = { tech = tech_integrated_cybernetics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_construction
                    
}
                    
NOT = {
                        
has_technology= tech_space_construction
                    
}
                
}
                
give_technology = { tech = tech_space_construction message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_afterburners_1
                    
}
                    
NOT = {
                        
has_technology= tech_afterburners_1
                    
}
                
}
                
give_technology = { tech = tech_afterburners_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_afterburners_2
                    
}
                    
NOT = {
                        
has_technology= tech_afterburners_2
                    
}
                
}
                
give_technology = { tech = tech_afterburners_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_assembly_pattern
                    
}
                    
NOT = {
                        
has_technology= tech_assembly_pattern
                    
}
                
}
                
give_technology = { tech = tech_assembly_pattern message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_construction_templates
                    
}
                    
NOT = {
                        
has_technology= tech_construction_templates
                    
}
                
}
                
give_technology = { tech = tech_construction_templates message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_housing_1
                    
}
                    
NOT = {
                        
has_technology= tech_housing_1
                    
}
                
}
                
give_technology = { tech = tech_housing_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_housing_2
                    
}
                    
NOT = {
                        
has_technology= tech_housing_2
                    
}
                
}
                
give_technology = { tech = tech_housing_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_leviathan_techgenesis
                    
}
                    
NOT = {
                        
has_technology= tech_leviathan_techgenesis
                    
}
                
}
                
give_technology = { tech = tech_leviathan_techgenesis message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_tile_mineral_output
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_tile_mineral_output
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_tile_mineral_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_military_station_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_military_station_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_military_station_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_military_station_health
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_military_station_health
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_military_station_health message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_armor_output
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_armor_output
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_armor_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_explosive_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_explosive_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_explosive_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_explosive_fire_rate
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_explosive_fire_rate
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_explosive_fire_rate message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_kinetic_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_kinetic_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_kinetic_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_kinetic_fire_rate
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_kinetic_fire_rate
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_kinetic_fire_rate message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_reduced_building_time
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_reduced_building_time
                    
}
                
}
                
give_technology = { tech = tech_repeatable_reduced_building_time message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_drivers_1
                    
}
                    
NOT = {
                        
has_technology= tech_mass_drivers_1
                    
}
                
}
                
give_technology = { tech = tech_mass_drivers_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_drivers_2
                    
}
                    
NOT = {
                        
has_technology= tech_mass_drivers_2
                    
}
                
}
                
give_technology = { tech = tech_mass_drivers_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_drivers_3
                    
}
                    
NOT = {
                        
has_technology= tech_mass_drivers_3
                    
}
                
}
                
give_technology = { tech = tech_mass_drivers_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_drivers_4
                    
}
                    
NOT = {
                        
has_technology= tech_mass_drivers_4
                    
}
                
}
                
give_technology = { tech = tech_mass_drivers_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_drivers_5
                    
}
                    
NOT = {
                        
has_technology= tech_mass_drivers_5
                    
}
                
}
                
give_technology = { tech = tech_mass_drivers_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_1
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_1
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_2
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_2
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_1
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_1
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_2
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_2
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_1
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_1
                    
}
                
}
                
give_technology = { tech = tech_autocannons_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_2
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_2
                    
}
                
}
                
give_technology = { tech = tech_autocannons_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_3
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_3
                    
}
                
}
                
give_technology = { tech = tech_autocannons_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_1
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_1
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_2
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_2
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_3
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_3
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missiles_1
                    
}
                    
NOT = {
                        
has_technology= tech_missiles_1
                    
}
                
}
                
give_technology = { tech = tech_missiles_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missiles_2
                    
}
                    
NOT = {
                        
has_technology= tech_missiles_2
                    
}
                
}
                
give_technology = { tech = tech_missiles_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missiles_3
                    
}
                    
NOT = {
                        
has_technology= tech_missiles_3
                    
}
                
}
                
give_technology = { tech = tech_missiles_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missiles_4
                    
}
                    
NOT = {
                        
has_technology= tech_missiles_4
                    
}
                
}
                
give_technology = { tech = tech_missiles_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missiles_5
                    
}
                    
NOT = {
                        
has_technology= tech_missiles_5
                    
}
                
}
                
give_technology = { tech = tech_missiles_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarmer_missiles_1
                    
}
                    
NOT = {
                        
has_technology= tech_swarmer_missiles_1
                    
}
                
}
                
give_technology = { tech = tech_swarmer_missiles_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarmer_missiles_2
                    
}
                    
NOT = {
                        
has_technology= tech_swarmer_missiles_2
                    
}
                
}
                
give_technology = { tech = tech_swarmer_missiles_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedoes_1
                    
}
                    
NOT = {
                        
has_technology= tech_torpedoes_1
                    
}
                
}
                
give_technology = { tech = tech_torpedoes_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedoes_2
                    
}
                    
NOT = {
                        
has_technology= tech_torpedoes_2
                    
}
                
}
                
give_technology = { tech = tech_torpedoes_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedoes_3
                    
}
                    
NOT = {
                        
has_technology= tech_torpedoes_3
                    
}
                
}
                
give_technology = { tech = tech_torpedoes_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_propulsion
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_propulsion
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_propulsion message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_affluence_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_affluence_1
                    
}
                
}
                
give_technology = { tech = tech_fe_affluence_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_affluence_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_affluence_2
                    
}
                
}
                
give_technology = { tech = tech_fe_affluence_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_nourishment_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_nourishment_1
                    
}
                
}
                
give_technology = { tech = tech_fe_nourishment_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_nourishment_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_nourishment_2
                    
}
                
}
                
give_technology = { tech = tech_fe_nourishment_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_fabricator_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_fabricator_1
                    
}
                
}
                
give_technology = { tech = tech_fe_fabricator_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_fabricator_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_fabricator_2
                    
}
                
}
                
give_technology = { tech = tech_fe_fabricator_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_singularity_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_singularity_1
                    
}
                
}
                
give_technology = { tech = tech_fe_singularity_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_singularity_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_singularity_2
                    
}
                
}
                
give_technology = { tech = tech_fe_singularity_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_forge_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_forge_1
                    
}
                
}
                
give_technology = { tech = tech_fe_forge_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_forge_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_forge_2
                    
}
                
}
                
give_technology = { tech = tech_fe_forge_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_dome_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_dome_1
                    
}
                
}
                
give_technology = { tech = tech_fe_dome_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_dome_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_dome_2
                    
}
                
}
                
give_technology = { tech = tech_fe_dome_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_fortress_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_fortress_1
                    
}
                
}
                
give_technology = { tech = tech_fe_fortress_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_fortress_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_fortress_2
                    
}
                
}
                
give_technology = { tech = tech_fe_fortress_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_administration_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_administration_1
                    
}
                
}
                
give_technology = { tech = tech_fe_administration_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_administration_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_administration_2
                    
}
                
}
                
give_technology = { tech = tech_fe_administration_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_assembly_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_assembly_1
                    
}
                
}
                
give_technology = { tech = tech_fe_assembly_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_assembly_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_assembly_2
                    
}
                
}
                
give_technology = { tech = tech_fe_assembly_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_clinic_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_clinic_1
                    
}
                
}
                
give_technology = { tech = tech_fe_clinic_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_clinic_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_clinic_2
                    
}
                
}
                
give_technology = { tech = tech_fe_clinic_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_security_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_security_1
                    
}
                
}
                
give_technology = { tech = tech_fe_security_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_security_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_security_2
                    
}
                
}
                
give_technology = { tech = tech_fe_security_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_market_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_market_1
                    
}
                
}
                
give_technology = { tech = tech_fe_market_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_market_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_market_2
                    
}
                
}
                
give_technology = { tech = tech_fe_market_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_silo_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_silo_1
                    
}
                
}
                
give_technology = { tech = tech_fe_silo_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_silo_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_silo_2
                    
}
                
}
                
give_technology = { tech = tech_fe_silo_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_entertainment_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_entertainment_1
                    
}
                
}
                
give_technology = { tech = tech_fe_entertainment_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_entertainment_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_entertainment_2
                    
}
                
}
                
give_technology = { tech = tech_fe_entertainment_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_lab_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_lab_1
                    
}
                
}
                
give_technology = { tech = tech_fe_lab_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_lab_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_lab_2
                    
}
                
}
                
give_technology = { tech = tech_fe_lab_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_mine_1
                    
}
                    
NOT = {
                        
has_technology= tech_fe_mine_1
                    
}
                
}
                
give_technology = { tech = tech_fe_mine_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_mine_2
                    
}
                    
NOT = {
                        
has_technology= tech_fe_mine_2
                    
}
                
}
                
give_technology = { tech = tech_fe_mine_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloaking_1
                    
}
                    
NOT = {
                        
has_technology= tech_cloaking_1
                    
}
                
}
                
give_technology = { tech = tech_cloaking_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloaking_2
                    
}
                    
NOT = {
                        
has_technology= tech_cloaking_2
                    
}
                
}
                
give_technology = { tech = tech_cloaking_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloaking_3
                    
}
                    
NOT = {
                        
has_technology= tech_cloaking_3
                    
}
                
}
                
give_technology = { tech = tech_cloaking_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloaking_dark_matter
                    
}
                    
NOT = {
                        
has_technology= tech_cloaking_dark_matter
                    
}
                
}
                
give_technology = { tech = tech_cloaking_dark_matter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloaking_psi
                    
}
                    
NOT = {
                        
has_technology= tech_cloaking_psi
                    
}
                
}
                
give_technology = { tech = tech_cloaking_psi message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_detection_array
                    
}
                    
NOT = {
                        
has_technology= tech_detection_array
                    
}
                
}
                
give_technology = { tech = tech_detection_array message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_detection
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_detection
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_detection message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_assisted_detection
                    
}
                    
NOT = {
                        
has_technology= tech_assisted_detection
                    
}
                
}
                
give_technology = { tech = tech_assisted_detection message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_subspace_drive
                    
}
                    
NOT = {
                        
has_technology= tech_subspace_drive
                    
}
                
}
                
give_technology = { tech = tech_subspace_drive message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_unusual_senses
                    
}
                    
NOT = {
                        
has_technology= tech_unusual_senses
                    
}
                
}
                
give_technology = { tech = tech_unusual_senses message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_new_numbers
                    
}
                    
NOT = {
                        
has_technology= tech_new_numbers
                    
}
                
}
                
give_technology = { tech = tech_new_numbers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_trinary_computing
                    
}
                    
NOT = {
                        
has_technology= tech_trinary_computing
                    
}
                
}
                
give_technology = { tech = tech_trinary_computing message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_atmospheric_orbital_mechanics
                    
}
                    
NOT = {
                        
has_technology= tech_atmospheric_orbital_mechanics
                    
}
                
}
                
give_technology = { tech = tech_atmospheric_orbital_mechanics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_predatory_tactics
                    
}
                    
NOT = {
                        
has_technology= tech_predatory_tactics
                    
}
                
}
                
give_technology = { tech = tech_predatory_tactics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_satisfying_insults
                    
}
                    
NOT = {
                        
has_technology= tech_satisfying_insults
                    
}
                
}
                
give_technology = { tech = tech_satisfying_insults message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compact_living
                    
}
                    
NOT = {
                        
has_technology= tech_compact_living
                    
}
                
}
                
give_technology = { tech = tech_compact_living message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_alien_topography
                    
}
                    
NOT = {
                        
has_technology= tech_alien_topography
                    
}
                
}
                
give_technology = { tech = tech_alien_topography message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xeno_aesthetics
                    
}
                    
NOT = {
                        
has_technology= tech_xeno_aesthetics
                    
}
                
}
                
give_technology = { tech = tech_xeno_aesthetics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lost_building_methods
                    
}
                    
NOT = {
                        
has_technology= tech_lost_building_methods
                    
}
                
}
                
give_technology = { tech = tech_lost_building_methods message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_supreme_alloy
                    
}
                    
NOT = {
                        
has_technology= tech_supreme_alloy
                    
}
                
}
                
give_technology = { tech = tech_supreme_alloy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ordered_retreat
                    
}
                    
NOT = {
                        
has_technology= tech_ordered_retreat
                    
}
                
}
                
give_technology = { tech = tech_ordered_retreat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_temple_of_transportation
                    
}
                    
NOT = {
                        
has_technology= tech_temple_of_transportation
                    
}
                
}
                
give_technology = { tech = tech_temple_of_transportation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_akx_worm_1
                    
}
                    
NOT = {
                        
has_technology= tech_akx_worm_1
                    
}
                
}
                
give_technology = { tech = tech_akx_worm_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_akx_worm_2
                    
}
                    
NOT = {
                        
has_technology= tech_akx_worm_2
                    
}
                
}
                
give_technology = { tech = tech_akx_worm_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_akx_worm_3
                    
}
                    
NOT = {
                        
has_technology= tech_akx_worm_3
                    
}
                
}
                
give_technology = { tech = tech_akx_worm_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dragon_armor
                    
}
                    
NOT = {
                        
has_technology= tech_dragon_armor
                    
}
                
}
                
give_technology = { tech = tech_dragon_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_encoder
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_encoder
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_encoder message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_decoder
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_decoder
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_decoder message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= potential
                    
}
                    
NOT = {
                        
has_technology= potential
                    
}
                
}
                
give_technology = { tech = potential message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_orbital_trash_dispersal
                    
}
                    
NOT = {
                        
has_technology= tech_orbital_trash_dispersal
                    
}
                
}
                
give_technology = { tech = tech_orbital_trash_dispersal message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xeno_tourism_agency
                    
}
                    
NOT = {
                        
has_technology= tech_xeno_tourism_agency
                    
}
                
}
                
give_technology = { tech = tech_xeno_tourism_agency message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_executive_retreat
                    
}
                    
NOT = {
                        
has_technology= tech_executive_retreat
                    
}
                
}
                
give_technology = { tech = tech_executive_retreat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mega_engineering
                    
}
                    
NOT = {
                        
has_technology= tech_mega_engineering
                    
}
                
}
                
give_technology = { tech = tech_mega_engineering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_science_nexus
                    
}
                    
NOT = {
                        
has_technology= tech_science_nexus
                    
}
                
}
                
give_technology = { tech = tech_science_nexus message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sentry_array
                    
}
                    
NOT = {
                        
has_technology= tech_sentry_array
                    
}
                
}
                
give_technology = { tech = tech_sentry_array message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strategic_coordination
                    
}
                    
NOT = {
                        
has_technology= tech_strategic_coordination
                    
}
                
}
                
give_technology = { tech = tech_strategic_coordination message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_interstellar_assembly
                    
}
                    
NOT = {
                        
has_technology= tech_interstellar_assembly
                    
}
                
}
                
give_technology = { tech = tech_interstellar_assembly message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mega_art
                    
}
                    
NOT = {
                        
has_technology= tech_mega_art
                    
}
                
}
                
give_technology = { tech = tech_mega_art message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gateway_activation
                    
}
                    
NOT = {
                        
has_technology= tech_gateway_activation
                    
}
                
}
                
give_technology = { tech = tech_gateway_activation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gateway_construction
                    
}
                    
NOT = {
                        
has_technology= tech_gateway_construction
                    
}
                
}
                
give_technology = { tech = tech_gateway_construction message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dyson_sphere
                    
}
                    
NOT = {
                        
has_technology= tech_dyson_sphere
                    
}
                
}
                
give_technology = { tech = tech_dyson_sphere message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_matter_decompressor
                    
}
                    
NOT = {
                        
has_technology= tech_matter_decompressor
                    
}
                
}
                
give_technology = { tech = tech_matter_decompressor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ring_world
                    
}
                    
NOT = {
                        
has_technology= tech_ring_world
                    
}
                
}
                
give_technology = { tech = tech_ring_world message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mega_shipyard
                    
}
                    
NOT = {
                        
has_technology= tech_mega_shipyard
                    
}
                
}
                
give_technology = { tech = tech_mega_shipyard message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_quantum_catapult
                    
}
                    
NOT = {
                        
has_technology= tech_quantum_catapult
                    
}
                
}
                
give_technology = { tech = tech_quantum_catapult message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_orbital_ring_tier_1
                    
}
                    
NOT = {
                        
has_technology= tech_orbital_ring_tier_1
                    
}
                
}
                
give_technology = { tech = tech_orbital_ring_tier_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyper_relays
                    
}
                    
NOT = {
                        
has_technology= tech_hyper_relays
                    
}
                
}
                
give_technology = { tech = tech_hyper_relays message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_basic_science_lab_1
                    
}
                    
NOT = {
                        
has_technology= tech_basic_science_lab_1
                    
}
                
}
                
give_technology = { tech = tech_basic_science_lab_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_basic_science_lab_2
                    
}
                    
NOT = {
                        
has_technology= tech_basic_science_lab_2
                    
}
                
}
                
give_technology = { tech = tech_basic_science_lab_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_basic_science_lab_3
                    
}
                    
NOT = {
                        
has_technology= tech_basic_science_lab_3
                    
}
                
}
                
give_technology = { tech = tech_basic_science_lab_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_global_research_initiative
                    
}
                    
NOT = {
                        
has_technology= tech_global_research_initiative
                    
}
                
}
                
give_technology = { tech = tech_global_research_initiative message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_curator_lab
                    
}
                    
NOT = {
                        
has_technology= tech_curator_lab
                    
}
                
}
                
give_technology = { tech = tech_curator_lab message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_archeology_lab
                    
}
                    
NOT = {
                        
has_technology= tech_archeology_lab
                    
}
                
}
                
give_technology = { tech = tech_archeology_lab message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_science_1
                    
}
                    
NOT = {
                        
has_technology= tech_space_science_1
                    
}
                
}
                
give_technology = { tech = tech_space_science_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_science_2
                    
}
                    
NOT = {
                        
has_technology= tech_space_science_2
                    
}
                
}
                
give_technology = { tech = tech_space_science_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_science_3
                    
}
                    
NOT = {
                        
has_technology= tech_space_science_3
                    
}
                
}
                
give_technology = { tech = tech_space_science_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_science_4
                    
}
                    
NOT = {
                        
has_technology= tech_space_science_4
                    
}
                
}
                
give_technology = { tech = tech_space_science_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_science_5
                    
}
                    
NOT = {
                        
has_technology= tech_space_science_5
                    
}
                
}
                
give_technology = { tech = tech_space_science_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_administrative_ai
                    
}
                    
NOT = {
                        
has_technology= tech_administrative_ai
                    
}
                
}
                
give_technology = { tech = tech_administrative_ai message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cryostasis_1
                    
}
                    
NOT = {
                        
has_technology= tech_cryostasis_1
                    
}
                
}
                
give_technology = { tech = tech_cryostasis_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cryostasis_2
                    
}
                    
NOT = {
                        
has_technology= tech_cryostasis_2
                    
}
                
}
                
give_technology = { tech = tech_cryostasis_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_self_aware_logic
                    
}
                    
NOT = {
                        
has_technology= tech_self_aware_logic
                    
}
                
}
                
give_technology = { tech = tech_self_aware_logic message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_automated_exploration
                    
}
                    
NOT = {
                        
has_technology= tech_automated_exploration
                    
}
                
}
                
give_technology = { tech = tech_automated_exploration message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sapient_ai
                    
}
                    
NOT = {
                        
has_technology= tech_sapient_ai
                    
}
                
}
                
give_technology = { tech = tech_sapient_ai message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_positronic_implants
                    
}
                    
NOT = {
                        
has_technology= tech_positronic_implants
                    
}
                
}
                
give_technology = { tech = tech_positronic_implants message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_combat_computers_1
                    
}
                    
NOT = {
                        
has_technology= tech_combat_computers_1
                    
}
                
}
                
give_technology = { tech = tech_combat_computers_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_combat_computers_2
                    
}
                    
NOT = {
                        
has_technology= tech_combat_computers_2
                    
}
                
}
                
give_technology = { tech = tech_combat_computers_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_combat_computers_3
                    
}
                    
NOT = {
                        
has_technology= tech_combat_computers_3
                    
}
                
}
                
give_technology = { tech = tech_combat_computers_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_combat_computers_autonomous
                    
}
                    
NOT = {
                        
has_technology= tech_combat_computers_autonomous
                    
}
                
}
                
give_technology = { tech = tech_combat_computers_autonomous message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_auxiliary_fire_control
                    
}
                    
NOT = {
                        
has_technology= tech_auxiliary_fire_control
                    
}
                
}
                
give_technology = { tech = tech_auxiliary_fire_control message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_synchronized_defences
                    
}
                    
NOT = {
                        
has_technology= tech_synchronized_defences
                    
}
                
}
                
give_technology = { tech = tech_synchronized_defences message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_consumer_good_refinement_1
                    
}
                    
NOT = {
                        
has_technology= tech_consumer_good_refinement_1
                    
}
                
}
                
give_technology = { tech = tech_consumer_good_refinement_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_consumer_good_refinement_2
                    
}
                    
NOT = {
                        
has_technology= tech_consumer_good_refinement_2
                    
}
                
}
                
give_technology = { tech = tech_consumer_good_refinement_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_neuro_quantum_links
                    
}
                    
NOT = {
                        
has_technology= tech_neuro_quantum_links
                    
}
                
}
                
give_technology = { tech = tech_neuro_quantum_links message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_encryption_1
                    
}
                    
NOT = {
                        
has_technology= tech_encryption_1
                    
}
                
}
                
give_technology = { tech = tech_encryption_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_encryption_2
                    
}
                    
NOT = {
                        
has_technology= tech_encryption_2
                    
}
                
}
                
give_technology = { tech = tech_encryption_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_encryption_3
                    
}
                    
NOT = {
                        
has_technology= tech_encryption_3
                    
}
                
}
                
give_technology = { tech = tech_encryption_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_decryption_1
                    
}
                    
NOT = {
                        
has_technology= tech_decryption_1
                    
}
                
}
                
give_technology = { tech = tech_decryption_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_decryption_2
                    
}
                    
NOT = {
                        
has_technology= tech_decryption_2
                    
}
                
}
                
give_technology = { tech = tech_decryption_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_decryption_3
                    
}
                    
NOT = {
                        
has_technology= tech_decryption_3
                    
}
                
}
                
give_technology = { tech = tech_decryption_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fission_power
                    
}
                    
NOT = {
                        
has_technology= tech_fission_power
                    
}
                
}
                
give_technology = { tech = tech_fission_power message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fusion_power
                    
}
                    
NOT = {
                        
has_technology= tech_fusion_power
                    
}
                
}
                
give_technology = { tech = tech_fusion_power message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cold_fusion_power
                    
}
                    
NOT = {
                        
has_technology= tech_cold_fusion_power
                    
}
                
}
                
give_technology = { tech = tech_cold_fusion_power message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_antimatter_power
                    
}
                    
NOT = {
                        
has_technology= tech_antimatter_power
                    
}
                
}
                
give_technology = { tech = tech_antimatter_power message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_zero_point_power
                    
}
                    
NOT = {
                        
has_technology= tech_zero_point_power
                    
}
                
}
                
give_technology = { tech = tech_zero_point_power message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reactor_boosters_1
                    
}
                    
NOT = {
                        
has_technology= tech_reactor_boosters_1
                    
}
                
}
                
give_technology = { tech = tech_reactor_boosters_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reactor_boosters_2
                    
}
                    
NOT = {
                        
has_technology= tech_reactor_boosters_2
                    
}
                
}
                
give_technology = { tech = tech_reactor_boosters_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reactor_boosters_3
                    
}
                    
NOT = {
                        
has_technology= tech_reactor_boosters_3
                    
}
                
}
                
give_technology = { tech = tech_reactor_boosters_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shields_1
                    
}
                    
NOT = {
                        
has_technology= tech_shields_1
                    
}
                
}
                
give_technology = { tech = tech_shields_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shields_2
                    
}
                    
NOT = {
                        
has_technology= tech_shields_2
                    
}
                
}
                
give_technology = { tech = tech_shields_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shields_3
                    
}
                    
NOT = {
                        
has_technology= tech_shields_3
                    
}
                
}
                
give_technology = { tech = tech_shields_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shields_4
                    
}
                    
NOT = {
                        
has_technology= tech_shields_4
                    
}
                
}
                
give_technology = { tech = tech_shields_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shields_5
                    
}
                    
NOT = {
                        
has_technology= tech_shields_5
                    
}
                
}
                
give_technology = { tech = tech_shields_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shield_rechargers_1
                    
}
                    
NOT = {
                        
has_technology= tech_shield_rechargers_1
                    
}
                
}
                
give_technology = { tech = tech_shield_rechargers_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shield_hardeners_1
                    
}
                    
NOT = {
                        
has_technology= tech_shield_hardeners_1
                    
}
                
}
                
give_technology = { tech = tech_shield_hardeners_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shield_hardeners_2
                    
}
                    
NOT = {
                        
has_technology= tech_shield_hardeners_2
                    
}
                
}
                
give_technology = { tech = tech_shield_hardeners_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_shield_generator
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_shield_generator
                    
}
                
}
                
give_technology = { tech = tech_planetary_shield_generator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensors_2
                    
}
                    
NOT = {
                        
has_technology= tech_sensors_2
                    
}
                
}
                
give_technology = { tech = tech_sensors_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensors_3
                    
}
                    
NOT = {
                        
has_technology= tech_sensors_3
                    
}
                
}
                
give_technology = { tech = tech_sensors_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensors_4
                    
}
                    
NOT = {
                        
has_technology= tech_sensors_4
                    
}
                
}
                
give_technology = { tech = tech_sensors_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_plant_1
                    
}
                    
NOT = {
                        
has_technology= tech_power_plant_1
                    
}
                
}
                
give_technology = { tech = tech_power_plant_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_plant_2
                    
}
                    
NOT = {
                        
has_technology= tech_power_plant_2
                    
}
                
}
                
give_technology = { tech = tech_power_plant_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_plant_3
                    
}
                    
NOT = {
                        
has_technology= tech_power_plant_3
                    
}
                
}
                
give_technology = { tech = tech_power_plant_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_plant_4
                    
}
                    
NOT = {
                        
has_technology= tech_power_plant_4
                    
}
                
}
                
give_technology = { tech = tech_power_plant_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_hub_1
                    
}
                    
NOT = {
                        
has_technology= tech_power_hub_1
                    
}
                
}
                
give_technology = { tech = tech_power_hub_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_power_hub_2
                    
}
                    
NOT = {
                        
has_technology= tech_power_hub_2
                    
}
                
}
                
give_technology = { tech = tech_power_hub_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyper_drive_1
                    
}
                    
NOT = {
                        
has_technology= tech_hyper_drive_1
                    
}
                
}
                
give_technology = { tech = tech_hyper_drive_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyper_drive_2
                    
}
                    
NOT = {
                        
has_technology= tech_hyper_drive_2
                    
}
                
}
                
give_technology = { tech = tech_hyper_drive_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyper_drive_3
                    
}
                    
NOT = {
                        
has_technology= tech_hyper_drive_3
                    
}
                
}
                
give_technology = { tech = tech_hyper_drive_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_wormhole_stabilization
                    
}
                    
NOT = {
                        
has_technology= tech_wormhole_stabilization
                    
}
                
}
                
give_technology = { tech = tech_wormhole_stabilization message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_jump_drive_1
                    
}
                    
NOT = {
                        
has_technology= tech_jump_drive_1
                    
}
                
}
                
give_technology = { tech = tech_jump_drive_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ftl_inhibitor
                    
}
                    
NOT = {
                        
has_technology= tech_ftl_inhibitor
                    
}
                
}
                
give_technology = { tech = tech_ftl_inhibitor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_tile_energy_output
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_tile_energy_output
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_tile_energy_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_shield_output
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_shield_output
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_shield_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_energy_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_energy_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_energy_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_energy_fire_rate
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_energy_fire_rate
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_energy_fire_rate message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_reduced_building_cost
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_reduced_building_cost
                    
}
                
}
                
give_technology = { tech = tech_repeatable_reduced_building_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lasers_1
                    
}
                    
NOT = {
                        
has_technology= tech_lasers_1
                    
}
                
}
                
give_technology = { tech = tech_lasers_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lasers_2
                    
}
                    
NOT = {
                        
has_technology= tech_lasers_2
                    
}
                
}
                
give_technology = { tech = tech_lasers_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lasers_3
                    
}
                    
NOT = {
                        
has_technology= tech_lasers_3
                    
}
                
}
                
give_technology = { tech = tech_lasers_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lasers_4
                    
}
                    
NOT = {
                        
has_technology= tech_lasers_4
                    
}
                
}
                
give_technology = { tech = tech_lasers_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lasers_5
                    
}
                    
NOT = {
                        
has_technology= tech_lasers_5
                    
}
                
}
                
give_technology = { tech = tech_lasers_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_1
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_1
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_2
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_2
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_1
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_1
                    
}
                
}
                
give_technology = { tech = tech_plasma_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_2
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_2
                    
}
                
}
                
give_technology = { tech = tech_plasma_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_3
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_3
                    
}
                
}
                
give_technology = { tech = tech_plasma_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_1
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_1
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_2
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_2
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptors_1
                    
}
                    
NOT = {
                        
has_technology= tech_disruptors_1
                    
}
                
}
                
give_technology = { tech = tech_disruptors_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptors_2
                    
}
                    
NOT = {
                        
has_technology= tech_disruptors_2
                    
}
                
}
                
give_technology = { tech = tech_disruptors_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptors_3
                    
}
                    
NOT = {
                        
has_technology= tech_disruptors_3
                    
}
                
}
                
give_technology = { tech = tech_disruptors_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedoes_1
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedoes_1
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedoes_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedoes_2
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedoes_2
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedoes_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pd_tracking_1
                    
}
                    
NOT = {
                        
has_technology= tech_pd_tracking_1
                    
}
                
}
                
give_technology = { tech = tech_pd_tracking_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pd_tracking_2
                    
}
                    
NOT = {
                        
has_technology= tech_pd_tracking_2
                    
}
                
}
                
give_technology = { tech = tech_pd_tracking_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pd_tracking_3
                    
}
                    
NOT = {
                        
has_technology= tech_pd_tracking_3
                    
}
                
}
                
give_technology = { tech = tech_pd_tracking_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_extradimensional_weapon_1
                    
}
                    
NOT = {
                        
has_technology= tech_extradimensional_weapon_1
                    
}
                
}
                
give_technology = { tech = tech_extradimensional_weapon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mining_drone_weapon_1
                    
}
                    
NOT = {
                        
has_technology= tech_mining_drone_weapon_1
                    
}
                
}
                
give_technology = { tech = tech_mining_drone_weapon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_cloud_weapon_1
                    
}
                    
NOT = {
                        
has_technology= tech_space_cloud_weapon_1
                    
}
                
}
                
give_technology = { tech = tech_space_cloud_weapon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= null_void_beam
                    
}
                    
NOT = {
                        
has_technology= null_void_beam
                    
}
                
}
                
give_technology = { tech = null_void_beam message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_critter_feeder
                    
}
                    
NOT = {
                        
has_technology= tech_critter_feeder
                    
}
                
}
                
give_technology = { tech = tech_critter_feeder message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_defenses
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_defenses
                    
}
                
}
                
give_technology = { tech = tech_planetary_defenses message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_interplanetary_commerce
                    
}
                    
NOT = {
                        
has_technology= tech_interplanetary_commerce
                    
}
                
}
                
give_technology = { tech = tech_interplanetary_commerce message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_trading
                    
}
                    
NOT = {
                        
has_technology= tech_space_trading
                    
}
                
}
                
give_technology = { tech = tech_space_trading message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_interstellar_economics
                    
}
                    
NOT = {
                        
has_technology= tech_interstellar_economics
                    
}
                
}
                
give_technology = { tech = tech_interstellar_economics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_galactic_markets
                    
}
                    
NOT = {
                        
has_technology= tech_galactic_markets
                    
}
                
}
                
give_technology = { tech = tech_galactic_markets message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_prescient_data_modeling
                    
}
                    
NOT = {
                        
has_technology= tech_prescient_data_modeling
                    
}
                
}
                
give_technology = { tech = tech_prescient_data_modeling message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_industrial_farming
                    
}
                    
NOT = {
                        
has_technology= tech_industrial_farming
                    
}
                
}
                
give_technology = { tech = tech_industrial_farming message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_eco_simulation
                    
}
                    
NOT = {
                        
has_technology= tech_eco_simulation
                    
}
                
}
                
give_technology = { tech = tech_eco_simulation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gene_crops
                    
}
                    
NOT = {
                        
has_technology= tech_gene_crops
                    
}
                
}
                
give_technology = { tech = tech_gene_crops message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nano_vitality_crops
                    
}
                    
NOT = {
                        
has_technology= tech_nano_vitality_crops
                    
}
                
}
                
give_technology = { tech = tech_nano_vitality_crops message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nutrient_replication
                    
}
                    
NOT = {
                        
has_technology= tech_nutrient_replication
                    
}
                
}
                
give_technology = { tech = tech_nutrient_replication message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hydroponics
                    
}
                    
NOT = {
                        
has_technology= tech_hydroponics
                    
}
                
}
                
give_technology = { tech = tech_hydroponics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_food_processing_1
                    
}
                    
NOT = {
                        
has_technology= tech_food_processing_1
                    
}
                
}
                
give_technology = { tech = tech_food_processing_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_food_processing_2
                    
}
                    
NOT = {
                        
has_technology= tech_food_processing_2
                    
}
                
}
                
give_technology = { tech = tech_food_processing_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_alien_life_studies
                    
}
                    
NOT = {
                        
has_technology= tech_alien_life_studies
                    
}
                
}
                
give_technology = { tech = tech_alien_life_studies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonization_1
                    
}
                    
NOT = {
                        
has_technology= tech_colonization_1
                    
}
                
}
                
give_technology = { tech = tech_colonization_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonization_2
                    
}
                    
NOT = {
                        
has_technology= tech_colonization_2
                    
}
                
}
                
give_technology = { tech = tech_colonization_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonization_3
                    
}
                    
NOT = {
                        
has_technology= tech_colonization_3
                    
}
                
}
                
give_technology = { tech = tech_colonization_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonization_4
                    
}
                    
NOT = {
                        
has_technology= tech_colonization_4
                    
}
                
}
                
give_technology = { tech = tech_colonization_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonization_5
                    
}
                    
NOT = {
                        
has_technology= tech_colonization_5
                    
}
                
}
                
give_technology = { tech = tech_colonization_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_tomb_world_adaption
                    
}
                    
NOT = {
                        
has_technology= tech_tomb_world_adaption
                    
}
                
}
                
give_technology = { tech = tech_tomb_world_adaption message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frontier_health
                    
}
                    
NOT = {
                        
has_technology= tech_frontier_health
                    
}
                
}
                
give_technology = { tech = tech_frontier_health message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frontier_hospital
                    
}
                    
NOT = {
                        
has_technology= tech_frontier_hospital
                    
}
                
}
                
give_technology = { tech = tech_frontier_hospital message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mountain_range
                    
}
                    
NOT = {
                        
has_technology= tech_mountain_range
                    
}
                
}
                
give_technology = { tech = tech_mountain_range message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_volcano
                    
}
                    
NOT = {
                        
has_technology= tech_volcano
                    
}
                
}
                
give_technology = { tech = tech_volcano message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dangerous_wildlife
                    
}
                    
NOT = {
                        
has_technology= tech_dangerous_wildlife
                    
}
                
}
                
give_technology = { tech = tech_dangerous_wildlife message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dense_jungle
                    
}
                    
NOT = {
                        
has_technology= tech_dense_jungle
                    
}
                
}
                
give_technology = { tech = tech_dense_jungle message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_quicksand_basin
                    
}
                    
NOT = {
                        
has_technology= tech_quicksand_basin
                    
}
                
}
                
give_technology = { tech = tech_quicksand_basin message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_noxious_swamp
                    
}
                    
NOT = {
                        
has_technology= tech_noxious_swamp
                    
}
                
}
                
give_technology = { tech = tech_noxious_swamp message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_massive_glacier
                    
}
                    
NOT = {
                        
has_technology= tech_massive_glacier
                    
}
                
}
                
give_technology = { tech = tech_massive_glacier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_toxic_kelp
                    
}
                    
NOT = {
                        
has_technology= tech_toxic_kelp
                    
}
                
}
                
give_technology = { tech = tech_toxic_kelp message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_deep_sinkhole
                    
}
                    
NOT = {
                        
has_technology= tech_deep_sinkhole
                    
}
                
}
                
give_technology = { tech = tech_deep_sinkhole message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_terrestrial_sculpting
                    
}
                    
NOT = {
                        
has_technology= tech_terrestrial_sculpting
                    
}
                
}
                
give_technology = { tech = tech_terrestrial_sculpting message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ecological_adaptation
                    
}
                    
NOT = {
                        
has_technology= tech_ecological_adaptation
                    
}
                
}
                
give_technology = { tech = tech_ecological_adaptation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_climate_restoration
                    
}
                    
NOT = {
                        
has_technology= tech_climate_restoration
                    
}
                
}
                
give_technology = { tech = tech_climate_restoration message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_genome_mapping
                    
}
                    
NOT = {
                        
has_technology= tech_genome_mapping
                    
}
                
}
                
give_technology = { tech = tech_genome_mapping message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_vitality_boosters
                    
}
                    
NOT = {
                        
has_technology= tech_vitality_boosters
                    
}
                
}
                
give_technology = { tech = tech_vitality_boosters message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_epigenetic_triggers
                    
}
                    
NOT = {
                        
has_technology= tech_epigenetic_triggers
                    
}
                
}
                
give_technology = { tech = tech_epigenetic_triggers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cloning
                    
}
                    
NOT = {
                        
has_technology= tech_cloning
                    
}
                
}
                
give_technology = { tech = tech_cloning message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gene_banks
                    
}
                    
NOT = {
                        
has_technology= tech_gene_banks
                    
}
                
}
                
give_technology = { tech = tech_gene_banks message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gene_seed_purification
                    
}
                    
NOT = {
                        
has_technology= tech_gene_seed_purification
                    
}
                
}
                
give_technology = { tech = tech_gene_seed_purification message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_morphogenetic_field_mastery
                    
}
                    
NOT = {
                        
has_technology= tech_morphogenetic_field_mastery
                    
}
                
}
                
give_technology = { tech = tech_morphogenetic_field_mastery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gene_tailoring
                    
}
                    
NOT = {
                        
has_technology= tech_gene_tailoring
                    
}
                
}
                
give_technology = { tech = tech_gene_tailoring message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_glandular_acclimation
                    
}
                    
NOT = {
                        
has_technology= tech_glandular_acclimation
                    
}
                
}
                
give_technology = { tech = tech_glandular_acclimation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lithoid_transgenesis
                    
}
                    
NOT = {
                        
has_technology= tech_lithoid_transgenesis
                    
}
                
}
                
give_technology = { tech = tech_lithoid_transgenesis message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plantoid_transgenesis
                    
}
                    
NOT = {
                        
has_technology= tech_plantoid_transgenesis
                    
}
                
}
                
give_technology = { tech = tech_plantoid_transgenesis message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_leviathan_transgenesis
                    
}
                    
NOT = {
                        
has_technology= tech_leviathan_transgenesis
                    
}
                
}
                
give_technology = { tech = tech_leviathan_transgenesis message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_gene_expressions
                    
}
                    
NOT = {
                        
has_technology= tech_gene_expressions
                    
}
                
}
                
give_technology = { tech = tech_gene_expressions message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_selected_lineages
                    
}
                    
NOT = {
                        
has_technology= tech_selected_lineages
                    
}
                
}
                
give_technology = { tech = tech_selected_lineages message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_capacity_boosters
                    
}
                    
NOT = {
                        
has_technology= tech_capacity_boosters
                    
}
                
}
                
give_technology = { tech = tech_capacity_boosters message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_regenerative_hull_tissue
                    
}
                    
NOT = {
                        
has_technology= tech_regenerative_hull_tissue
                    
}
                
}
                
give_technology = { tech = tech_regenerative_hull_tissue message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_fleet_size_1
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_fleet_size_1
                    
}
                
}
                
give_technology = { tech = tech_doctrine_fleet_size_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_fleet_size_2
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_fleet_size_2
                    
}
                
}
                
give_technology = { tech = tech_doctrine_fleet_size_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_fleet_size_3
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_fleet_size_3
                    
}
                
}
                
give_technology = { tech = tech_doctrine_fleet_size_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_fleet_size_4
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_fleet_size_4
                    
}
                
}
                
give_technology = { tech = tech_doctrine_fleet_size_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_fleet_size_5
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_fleet_size_5
                    
}
                
}
                
give_technology = { tech = tech_doctrine_fleet_size_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_interstellar_fleet_traditions
                    
}
                    
NOT = {
                        
has_technology= tech_interstellar_fleet_traditions
                    
}
                
}
                
give_technology = { tech = tech_interstellar_fleet_traditions message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_refit_standards
                    
}
                    
NOT = {
                        
has_technology= tech_refit_standards
                    
}
                
}
                
give_technology = { tech = tech_refit_standards message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_command_matrix
                    
}
                    
NOT = {
                        
has_technology= tech_command_matrix
                    
}
                
}
                
give_technology = { tech = tech_command_matrix message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_navy_size_1
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_navy_size_1
                    
}
                
}
                
give_technology = { tech = tech_doctrine_navy_size_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_navy_size_2
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_navy_size_2
                    
}
                
}
                
give_technology = { tech = tech_doctrine_navy_size_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_navy_size_3
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_navy_size_3
                    
}
                
}
                
give_technology = { tech = tech_doctrine_navy_size_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_doctrine_navy_size_4
                    
}
                    
NOT = {
                        
has_technology= tech_doctrine_navy_size_4
                    
}
                
}
                
give_technology = { tech = tech_doctrine_navy_size_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_centralized_command
                    
}
                    
NOT = {
                        
has_technology= tech_centralized_command
                    
}
                
}
                
give_technology = { tech = tech_centralized_command message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_combat_training
                    
}
                    
NOT = {
                        
has_technology= tech_combat_training
                    
}
                
}
                
give_technology = { tech = tech_combat_training message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ground_defense_planning
                    
}
                    
NOT = {
                        
has_technology= tech_ground_defense_planning
                    
}
                
}
                
give_technology = { tech = tech_ground_defense_planning message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_global_defense_grid
                    
}
                    
NOT = {
                        
has_technology= tech_global_defense_grid
                    
}
                
}
                
give_technology = { tech = tech_global_defense_grid message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_psionic_theory
                    
}
                    
NOT = {
                        
has_technology= tech_psionic_theory
                    
}
                
}
                
give_technology = { tech = tech_psionic_theory message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_telepathy
                    
}
                    
NOT = {
                        
has_technology= tech_telepathy
                    
}
                
}
                
give_technology = { tech = tech_telepathy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precognition_interface
                    
}
                    
NOT = {
                        
has_technology= tech_precognition_interface
                    
}
                
}
                
give_technology = { tech = tech_precognition_interface message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thought_enforcement
                    
}
                    
NOT = {
                        
has_technology= tech_thought_enforcement
                    
}
                
}
                
give_technology = { tech = tech_thought_enforcement message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_psi_jump_drive_1
                    
}
                    
NOT = {
                        
has_technology= tech_psi_jump_drive_1
                    
}
                
}
                
give_technology = { tech = tech_psi_jump_drive_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_galactic_ambitions
                    
}
                    
NOT = {
                        
has_technology= tech_galactic_ambitions
                    
}
                
}
                
give_technology = { tech = tech_galactic_ambitions message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_manifest_destiny
                    
}
                    
NOT = {
                        
has_technology= tech_manifest_destiny
                    
}
                
}
                
give_technology = { tech = tech_manifest_destiny message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_interstellar_campaigns
                    
}
                    
NOT = {
                        
has_technology= tech_interstellar_campaigns
                    
}
                
}
                
give_technology = { tech = tech_interstellar_campaigns message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_galactic_campaigns
                    
}
                    
NOT = {
                        
has_technology= tech_galactic_campaigns
                    
}
                
}
                
give_technology = { tech = tech_galactic_campaigns message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_government
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_government
                    
}
                
}
                
give_technology = { tech = tech_planetary_government message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_unification
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_unification
                    
}
                
}
                
give_technology = { tech = tech_planetary_unification message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonial_centralization
                    
}
                    
NOT = {
                        
has_technology= tech_colonial_centralization
                    
}
                
}
                
give_technology = { tech = tech_colonial_centralization message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_galactic_administration
                    
}
                    
NOT = {
                        
has_technology= tech_galactic_administration
                    
}
                
}
                
give_technology = { tech = tech_galactic_administration message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_infrastructure_1
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_infrastructure_1
                    
}
                
}
                
give_technology = { tech = tech_planetary_infrastructure_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_planetary_infrastructure_2
                    
}
                    
NOT = {
                        
has_technology= tech_planetary_infrastructure_2
                    
}
                
}
                
give_technology = { tech = tech_planetary_infrastructure_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_subdermal_stimulation
                    
}
                    
NOT = {
                        
has_technology= tech_subdermal_stimulation
                    
}
                
}
                
give_technology = { tech = tech_subdermal_stimulation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_tracking_implants
                    
}
                    
NOT = {
                        
has_technology= tech_tracking_implants
                    
}
                
}
                
give_technology = { tech = tech_tracking_implants message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_global_production_strategy
                    
}
                    
NOT = {
                        
has_technology= tech_global_production_strategy
                    
}
                
}
                
give_technology = { tech = tech_global_production_strategy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_adaptive_bureaucracy
                    
}
                    
NOT = {
                        
has_technology= tech_adaptive_bureaucracy
                    
}
                
}
                
give_technology = { tech = tech_adaptive_bureaucracy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_effective_bureaucracy
                    
}
                    
NOT = {
                        
has_technology= tech_effective_bureaucracy
                    
}
                
}
                
give_technology = { tech = tech_effective_bureaucracy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_colonial_bureaucracy
                    
}
                    
NOT = {
                        
has_technology= tech_colonial_bureaucracy
                    
}
                
}
                
give_technology = { tech = tech_colonial_bureaucracy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_galactic_bureaucracy
                    
}
                    
NOT = {
                        
has_technology= tech_galactic_bureaucracy
                    
}
                
}
                
give_technology = { tech = tech_galactic_bureaucracy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_living_state
                    
}
                    
NOT = {
                        
has_technology= tech_living_state
                    
}
                
}
                
give_technology = { tech = tech_living_state message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_collective_self
                    
}
                    
NOT = {
                        
has_technology= tech_collective_self
                    
}
                
}
                
give_technology = { tech = tech_collective_self message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autonomous_agents
                    
}
                    
NOT = {
                        
has_technology= tech_autonomous_agents
                    
}
                
}
                
give_technology = { tech = tech_autonomous_agents message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_embodied_dynamism
                    
}
                    
NOT = {
                        
has_technology= tech_embodied_dynamism
                    
}
                
}
                
give_technology = { tech = tech_embodied_dynamism message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_neural_implants
                    
}
                    
NOT = {
                        
has_technology= tech_neural_implants
                    
}
                
}
                
give_technology = { tech = tech_neural_implants message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_artificial_moral_codes
                    
}
                    
NOT = {
                        
has_technology= tech_artificial_moral_codes
                    
}
                
}
                
give_technology = { tech = tech_artificial_moral_codes message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_synthetic_thought_patterns
                    
}
                    
NOT = {
                        
has_technology= tech_synthetic_thought_patterns
                    
}
                
}
                
give_technology = { tech = tech_synthetic_thought_patterns message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_unity_of_purpose
                    
}
                    
NOT = {
                        
has_technology= tech_unity_of_purpose
                    
}
                
}
                
give_technology = { tech = tech_unity_of_purpose message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_collective_production_methods
                    
}
                    
NOT = {
                        
has_technology= tech_collective_production_methods
                    
}
                
}
                
give_technology = { tech = tech_collective_production_methods message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_resource_processing_algorithms
                    
}
                    
NOT = {
                        
has_technology= tech_resource_processing_algorithms
                    
}
                
}
                
give_technology = { tech = tech_resource_processing_algorithms message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_holo_entertainment
                    
}
                    
NOT = {
                        
has_technology= tech_holo_entertainment
                    
}
                
}
                
give_technology = { tech = tech_holo_entertainment message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyper_entertainment_forum
                    
}
                    
NOT = {
                        
has_technology= tech_hyper_entertainment_forum
                    
}
                
}
                
give_technology = { tech = tech_hyper_entertainment_forum message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_paradise_dome
                    
}
                    
NOT = {
                        
has_technology= tech_paradise_dome
                    
}
                
}
                
give_technology = { tech = tech_paradise_dome message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_cultural_heritage
                    
}
                    
NOT = {
                        
has_technology= tech_cultural_heritage
                    
}
                
}
                
give_technology = { tech = tech_cultural_heritage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_heritage_site
                    
}
                    
NOT = {
                        
has_technology= tech_heritage_site
                    
}
                
}
                
give_technology = { tech = tech_heritage_site message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hypercomms_forum
                    
}
                    
NOT = {
                        
has_technology= tech_hypercomms_forum
                    
}
                
}
                
give_technology = { tech = tech_hypercomms_forum message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocurating_vault
                    
}
                    
NOT = {
                        
has_technology= tech_autocurating_vault
                    
}
                
}
                
give_technology = { tech = tech_autocurating_vault message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_holographic_rituals
                    
}
                    
NOT = {
                        
has_technology= tech_holographic_rituals
                    
}
                
}
                
give_technology = { tech = tech_holographic_rituals message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_consecration_fields
                    
}
                    
NOT = {
                        
has_technology= tech_consecration_fields
                    
}
                
}
                
give_technology = { tech = tech_consecration_fields message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_transcendent_faith
                    
}
                    
NOT = {
                        
has_technology= tech_transcendent_faith
                    
}
                
}
                
give_technology = { tech = tech_transcendent_faith message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hive_node
                    
}
                    
NOT = {
                        
has_technology= tech_hive_node
                    
}
                
}
                
give_technology = { tech = tech_hive_node message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hive_cluster
                    
}
                    
NOT = {
                        
has_technology= tech_hive_cluster
                    
}
                
}
                
give_technology = { tech = tech_hive_cluster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hive_confluence
                    
}
                    
NOT = {
                        
has_technology= tech_hive_confluence
                    
}
                
}
                
give_technology = { tech = tech_hive_confluence message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ascension_theory
                    
}
                    
NOT = {
                        
has_technology= tech_ascension_theory
                    
}
                
}
                
give_technology = { tech = tech_ascension_theory message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_psionic_barrier
                    
}
                    
NOT = {
                        
has_technology= tech_psionic_barrier
                    
}
                
}
                
give_technology = { tech = tech_psionic_barrier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_psionic_shield
                    
}
                    
NOT = {
                        
has_technology= tech_psionic_shield
                    
}
                
}
                
give_technology = { tech = tech_psionic_shield message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_penal_colonies
                    
}
                    
NOT = {
                        
has_technology= tech_penal_colonies
                    
}
                
}
                
give_technology = { tech = tech_penal_colonies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_resort_colonies
                    
}
                    
NOT = {
                        
has_technology= tech_resort_colonies
                    
}
                
}
                
give_technology = { tech = tech_resort_colonies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_slave_colonies
                    
}
                    
NOT = {
                        
has_technology= tech_slave_colonies
                    
}
                
}
                
give_technology = { tech = tech_slave_colonies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_housing_agrarian_idyll
                    
}
                    
NOT = {
                        
has_technology= tech_housing_agrarian_idyll
                    
}
                
}
                
give_technology = { tech = tech_housing_agrarian_idyll message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xeno_diplomacy
                    
}
                    
NOT = {
                        
has_technology= tech_xeno_diplomacy
                    
}
                
}
                
give_technology = { tech = tech_xeno_diplomacy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xeno_relations
                    
}
                    
NOT = {
                        
has_technology= tech_xeno_relations
                    
}
                
}
                
give_technology = { tech = tech_xeno_relations message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_capital_productivity_1
                    
}
                    
NOT = {
                        
has_technology= tech_capital_productivity_1
                    
}
                
}
                
give_technology = { tech = tech_capital_productivity_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_capital_productivity_2
                    
}
                    
NOT = {
                        
has_technology= tech_capital_productivity_2
                    
}
                
}
                
give_technology = { tech = tech_capital_productivity_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_capital_productivity_3
                    
}
                    
NOT = {
                        
has_technology= tech_capital_productivity_3
                    
}
                
}
                
give_technology = { tech = tech_capital_productivity_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_covenant_composer
                    
}
                    
NOT = {
                        
has_technology= tech_covenant_composer
                    
}
                
}
                
give_technology = { tech = tech_covenant_composer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_covenant_eater
                    
}
                    
NOT = {
                        
has_technology= tech_covenant_eater
                    
}
                
}
                
give_technology = { tech = tech_covenant_eater message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_covenant_instrument
                    
}
                    
NOT = {
                        
has_technology= tech_covenant_instrument
                    
}
                
}
                
give_technology = { tech = tech_covenant_instrument message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_covenant_whisperers
                    
}
                    
NOT = {
                        
has_technology= tech_covenant_whisperers
                    
}
                
}
                
give_technology = { tech = tech_covenant_whisperers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xeno_linguistics
                    
}
                    
NOT = {
                        
has_technology= tech_xeno_linguistics
                    
}
                
}
                
give_technology = { tech = tech_xeno_linguistics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_reformatting_1
                    
}
                    
NOT = {
                        
has_technology= tech_node_reformatting_1
                    
}
                
}
                
give_technology = { tech = tech_node_reformatting_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_reformatting_2
                    
}
                    
NOT = {
                        
has_technology= tech_node_reformatting_2
                    
}
                
}
                
give_technology = { tech = tech_node_reformatting_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_reformatting_3
                    
}
                    
NOT = {
                        
has_technology= tech_node_reformatting_3
                    
}
                
}
                
give_technology = { tech = tech_node_reformatting_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_culling_1
                    
}
                    
NOT = {
                        
has_technology= tech_node_culling_1
                    
}
                
}
                
give_technology = { tech = tech_node_culling_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_culling_2
                    
}
                    
NOT = {
                        
has_technology= tech_node_culling_2
                    
}
                
}
                
give_technology = { tech = tech_node_culling_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_node_culling_3
                    
}
                    
NOT = {
                        
has_technology= tech_node_culling_3
                    
}
                
}
                
give_technology = { tech = tech_node_culling_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bio_reactor
                    
}
                    
NOT = {
                        
has_technology= tech_bio_reactor
                    
}
                
}
                
give_technology = { tech = tech_bio_reactor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bio_reactor_2
                    
}
                    
NOT = {
                        
has_technology= tech_bio_reactor_2
                    
}
                
}
                
give_technology = { tech = tech_bio_reactor_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_tile_food_output
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_tile_food_output
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_tile_food_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_core_system_cap
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_core_system_cap
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_core_system_cap message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_army_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_army_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_army_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_army_health
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_army_health
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_army_health message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_leader_life_span
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_leader_life_span
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_leader_life_span message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_naval_cap
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_naval_cap
                    
}
                
}
                
give_technology = { tech = tech_repeatable_naval_cap message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_command_limit
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_command_limit
                    
}
                
}
                
give_technology = { tech = tech_repeatable_command_limit message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_improved_starbase_capacity
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_improved_starbase_capacity
                    
}
                
}
                
give_technology = { tech = tech_repeatable_improved_starbase_capacity message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_strike_craft_fire_damage
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_strike_craft_fire_damage
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_strike_craft_fire_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_repeatable_weapon_type_strike_craft_fire_rate
                    
}
                    
NOT = {
                        
has_technology= tech_repeatable_weapon_type_strike_craft_fire_rate
                    
}
                
}
                
give_technology = { tech = tech_repeatable_weapon_type_strike_craft_fire_rate message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_amoeba_strike_craft_1
                    
}
                    
NOT = {
                        
has_technology= tech_amoeba_strike_craft_1
                    
}
                
}
                
give_technology = { tech = tech_amoeba_strike_craft_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarm_strike_craft_1
                    
}
                    
NOT = {
                        
has_technology= tech_swarm_strike_craft_1
                    
}
                
}
                
give_technology = { tech = tech_swarm_strike_craft_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_scourge_missile_1
                    
}
                    
NOT = {
                        
has_technology= tech_scourge_missile_1
                    
}
                
}
                
give_technology = { tech = tech_scourge_missile_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_space_whale_weapon_1
                    
}
                    
NOT = {
                        
has_technology= tech_space_whale_weapon_1
                    
}
                
}
                
give_technology = { tech = tech_space_whale_weapon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_living_metal
                    
}
                    
NOT = {
                        
has_technology= tech_mine_living_metal
                    
}
                
}
                
give_technology = { tech = tech_mine_living_metal message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_betharian
                    
}
                    
NOT = {
                        
has_technology= tech_mine_betharian
                    
}
                
}
                
give_technology = { tech = tech_mine_betharian message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_volatile_motes
                    
}
                    
NOT = {
                        
has_technology= tech_mine_volatile_motes
                    
}
                
}
                
give_technology = { tech = tech_mine_volatile_motes message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_volatile_motes
                    
}
                    
NOT = {
                        
has_technology= tech_volatile_motes
                    
}
                
}
                
give_technology = { tech = tech_volatile_motes message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_exotic_gases
                    
}
                    
NOT = {
                        
has_technology= tech_mine_exotic_gases
                    
}
                
}
                
give_technology = { tech = tech_mine_exotic_gases message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_exotic_gases
                    
}
                    
NOT = {
                        
has_technology= tech_exotic_gases
                    
}
                
}
                
give_technology = { tech = tech_exotic_gases message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_rare_crystals
                    
}
                    
NOT = {
                        
has_technology= tech_mine_rare_crystals
                    
}
                
}
                
give_technology = { tech = tech_mine_rare_crystals message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_rare_crystals
                    
}
                    
NOT = {
                        
has_technology= tech_rare_crystals
                    
}
                
}
                
give_technology = { tech = tech_rare_crystals message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_zro
                    
}
                    
NOT = {
                        
has_technology= tech_mine_zro
                    
}
                
}
                
give_technology = { tech = tech_mine_zro message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_dark_matter
                    
}
                    
NOT = {
                        
has_technology= tech_mine_dark_matter
                    
}
                
}
                
give_technology = { tech = tech_mine_dark_matter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nanite_transmutation
                    
}
                    
NOT = {
                        
has_technology= tech_nanite_transmutation
                    
}
                
}
                
give_technology = { tech = tech_nanite_transmutation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robomodding_m
                    
}
                    
NOT = {
                        
has_technology= tech_robomodding_m
                    
}
                
}
                
give_technology = { tech = tech_robomodding_m message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robomodding
                    
}
                    
NOT = {
                        
has_technology= tech_robomodding
                    
}
                
}
                
give_technology = { tech = tech_robomodding message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robomodding_points_1
                    
}
                    
NOT = {
                        
has_technology= tech_robomodding_points_1
                    
}
                
}
                
give_technology = { tech = tech_robomodding_points_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_robomodding_points_2
                    
}
                    
NOT = {
                        
has_technology= tech_robomodding_points_2
                    
}
                
}
                
give_technology = { tech = tech_robomodding_points_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_binary_motivators
                    
}
                    
NOT = {
                        
has_technology= tech_binary_motivators
                    
}
                
}
                
give_technology = { tech = tech_binary_motivators message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nanite_assemblers
                    
}
                    
NOT = {
                        
has_technology= tech_nanite_assemblers
                    
}
                
}
                
give_technology = { tech = tech_nanite_assemblers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mega_assembly
                    
}
                    
NOT = {
                        
has_technology= tech_mega_assembly
                    
}
                
}
                
give_technology = { tech = tech_mega_assembly message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_adaptive_combat_algorithms
                    
}
                    
NOT = {
                        
has_technology= tech_adaptive_combat_algorithms
                    
}
                
}
                
give_technology = { tech = tech_adaptive_combat_algorithms message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_biomechanics
                    
}
                    
NOT = {
                        
has_technology= tech_biomechanics
                    
}
                
}
                
give_technology = { tech = tech_biomechanics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_micro_replicators
                    
}
                    
NOT = {
                        
has_technology= tech_micro_replicators
                    
}
                
}
                
give_technology = { tech = tech_micro_replicators message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_self_assembling_components
                    
}
                    
NOT = {
                        
has_technology= tech_self_assembling_components
                    
}
                
}
                
give_technology = { tech = tech_self_assembling_components message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_morale_1
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_morale_1
                    
}
                
}
                
give_technology = { tech = tech_acot_army_morale_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_morale_2
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_morale_2
                    
}
                
}
                
give_technology = { tech = tech_acot_army_morale_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_morale_3
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_morale_3
                    
}
                
}
                
give_technology = { tech = tech_acot_army_morale_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_3
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_3
                    
}
                
}
                
give_technology = { tech = tech_acot_army_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_5
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_5
                    
}
                
}
                
give_technology = { tech = tech_acot_army_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_dm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_dm
                    
}
                
}
                
give_technology = { tech = tech_acot_army_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_ae
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_ae
                    
}
                
}
                
give_technology = { tech = tech_acot_army_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_se
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_se
                    
}
                
}
                
give_technology = { tech = tech_acot_army_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_stellarite_bomber
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_stellarite_bomber
                    
}
                
}
                
give_technology = { tech = tech_acot_army_stellarite_bomber message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_robotic_dm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_robotic_dm
                    
}
                
}
                
give_technology = { tech = tech_acot_army_robotic_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_robotic_ae
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_robotic_ae
                    
}
                
}
                
give_technology = { tech = tech_acot_army_robotic_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_robotic_se
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_robotic_se
                    
}
                
}
                
give_technology = { tech = tech_acot_army_robotic_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_mili
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_mili
                    
}
                
}
                
give_technology = { tech = tech_acot_army_mili message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_mili_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_mili_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_mili_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_paci
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_paci
                    
}
                
}
                
give_technology = { tech = tech_acot_army_paci message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_paci_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_paci_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_paci_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_phile
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_phile
                    
}
                
}
                
give_technology = { tech = tech_acot_army_phile message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_phile_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_phile_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_phile_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_phobe
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_phobe
                    
}
                
}
                
give_technology = { tech = tech_acot_army_phobe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_phobe_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_phobe_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_phobe_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_ega
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_ega
                    
}
                
}
                
give_technology = { tech = tech_acot_army_ega message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_ega_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_ega_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_ega_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_auth
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_auth
                    
}
                
}
                
give_technology = { tech = tech_acot_army_auth message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_auth_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_auth_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_auth_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_mat
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_mat
                    
}
                
}
                
give_technology = { tech = tech_acot_army_mat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_mat_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_mat_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_mat_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_spirit
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_spirit
                    
}
                
}
                
give_technology = { tech = tech_acot_army_spirit message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_spirit_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_spirit_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_spirit_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_3
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_3
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_5
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_5
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_dm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_dm
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_ae
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_ae
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_se
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_se
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_control
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_control
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_control message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_hive_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_hive_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_hive_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_adaptive_combat_algorithms
                    
}
                    
NOT = {
                        
has_technology= tech_adaptive_combat_algorithms
                    
}
                
}
                
give_technology = { tech = tech_adaptive_combat_algorithms message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_biomechanics
                    
}
                    
NOT = {
                        
has_technology= tech_biomechanics
                    
}
                
}
                
give_technology = { tech = tech_biomechanics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_machine_dm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_machine_dm
                    
}
                
}
                
give_technology = { tech = tech_acot_army_machine_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_machine_ae
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_machine_ae
                    
}
                
}
                
give_technology = { tech = tech_acot_army_machine_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_machine_se
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_machine_se
                    
}
                
}
                
give_technology = { tech = tech_acot_army_machine_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_machine_special
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_machine_special
                    
}
                
}
                
give_technology = { tech = tech_acot_army_machine_special message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_machine_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_machine_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_machine_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_clone_dm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_clone_dm
                    
}
                
}
                
give_technology = { tech = tech_acot_army_clone_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_gene
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_gene
                    
}
                
}
                
give_technology = { tech = tech_acot_army_gene message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_gene_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_gene_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_gene_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_psi
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_psi
                    
}
                
}
                
give_technology = { tech = tech_acot_army_psi message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_psi_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_psi_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_psi_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_cyborg
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_cyborg
                    
}
                
}
                
give_technology = { tech = tech_acot_army_cyborg message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_cyborg_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_cyborg_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_cyborg_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_synth
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_synth
                    
}
                
}
                
give_technology = { tech = tech_acot_army_synth message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_army_synth_hero
                    
}
                    
NOT = {
                        
has_technology= tech_acot_army_synth_hero
                    
}
                
}
                
give_technology = { tech = tech_acot_army_synth_hero message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_army_armor
                    
}
                    
NOT = {
                        
has_technology= tech_ae_army_armor
                    
}
                
}
                
give_technology = { tech = tech_ae_army_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_infantry_alpha_capacitor
                    
}
                    
NOT = {
                        
has_technology= tech_infantry_alpha_capacitor
                    
}
                
}
                
give_technology = { tech = tech_infantry_alpha_capacitor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_infantry_ferocity
                    
}
                    
NOT = {
                        
has_technology= tech_infantry_ferocity
                    
}
                
}
                
give_technology = { tech = tech_infantry_ferocity message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_commissar
                    
}
                    
NOT = {
                        
has_technology= tech_commissar
                    
}
                
}
                
give_technology = { tech = tech_commissar message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_navy_commissar
                    
}
                    
NOT = {
                        
has_technology= tech_navy_commissar
                    
}
                
}
                
give_technology = { tech = tech_navy_commissar message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_onbaord_engineer
                    
}
                    
NOT = {
                        
has_technology= tech_onbaord_engineer
                    
}
                
}
                
give_technology = { tech = tech_onbaord_engineer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_onboard_priest
                    
}
                    
NOT = {
                        
has_technology= tech_onboard_priest
                    
}
                
}
                
give_technology = { tech = tech_onboard_priest message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pacifist_tactics
                    
}
                    
NOT = {
                        
has_technology= tech_pacifist_tactics
                    
}
                
}
                
give_technology = { tech = tech_pacifist_tactics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fleetsupremacy
                    
}
                    
NOT = {
                        
has_technology= tech_fleetsupremacy
                    
}
                
}
                
give_technology = { tech = tech_fleetsupremacy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_onlywar
                    
}
                    
NOT = {
                        
has_technology= tech_onlywar
                    
}
                
}
                
give_technology = { tech = tech_onlywar message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_advanced_weapon
                    
}
                    
NOT = {
                        
has_technology= tech_advanced_weapon
                    
}
                
}
                
give_technology = { tech = tech_advanced_weapon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_purgexeno
                    
}
                    
NOT = {
                        
has_technology= tech_purgexeno
                    
}
                
}
                
give_technology = { tech = tech_purgexeno message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_master_shipcraft
                    
}
                    
NOT = {
                        
has_technology= tech_master_shipcraft
                    
}
                
}
                
give_technology = { tech = tech_master_shipcraft message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_profit
                    
}
                    
NOT = {
                        
has_technology= tech_profit
                    
}
                
}
                
give_technology = { tech = tech_profit message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_corporate_emperor
                    
}
                    
NOT = {
                        
has_technology= tech_corporate_emperor
                    
}
                
}
                
give_technology = { tech = tech_corporate_emperor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enlightenment
                    
}
                    
NOT = {
                        
has_technology= tech_enlightenment
                    
}
                
}
                
give_technology = { tech = tech_enlightenment message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_forced_demand
                    
}
                    
NOT = {
                        
has_technology= tech_forced_demand
                    
}
                
}
                
give_technology = { tech = tech_forced_demand message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_lawandorder
                    
}
                    
NOT = {
                        
has_technology= tech_lawandorder
                    
}
                
}
                
give_technology = { tech = tech_lawandorder message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_libertyfukyeah
                    
}
                    
NOT = {
                        
has_technology= tech_libertyfukyeah
                    
}
                
}
                
give_technology = { tech = tech_libertyfukyeah message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_diplomaticmastery
                    
}
                    
NOT = {
                        
has_technology= tech_diplomaticmastery
                    
}
                
}
                
give_technology = { tech = tech_diplomaticmastery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_championofxeno
                    
}
                    
NOT = {
                        
has_technology= tech_championofxeno
                    
}
                
}
                
give_technology = { tech = tech_championofxeno message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enhancedskin
                    
}
                    
NOT = {
                        
has_technology= tech_enhancedskin
                    
}
                
}
                
give_technology = { tech = tech_enhancedskin message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_benificialevolution
                    
}
                    
NOT = {
                        
has_technology= tech_benificialevolution
                    
}
                
}
                
give_technology = { tech = tech_benificialevolution message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_apexpredator
                    
}
                    
NOT = {
                        
has_technology= tech_apexpredator
                    
}
                
}
                
give_technology = { tech = tech_apexpredator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_goodmachine
                    
}
                    
NOT = {
                        
has_technology= tech_goodmachine
                    
}
                
}
                
give_technology = { tech = tech_goodmachine message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_machinelove
                    
}
                    
NOT = {
                        
has_technology= tech_machinelove
                    
}
                
}
                
give_technology = { tech = tech_machinelove message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_increased_processor
                    
}
                    
NOT = {
                        
has_technology= tech_increased_processor
                    
}
                
}
                
give_technology = { tech = tech_increased_processor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_wedemandit
                    
}
                    
NOT = {
                        
has_technology= tech_wedemandit
                    
}
                
}
                
give_technology = { tech = tech_wedemandit message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_ancient_palace
                    
}
                    
NOT = {
                        
has_technology= tech_dm_ancient_palace
                    
}
                
}
                
give_technology = { tech = tech_dm_ancient_palace message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_ancient_control_center
                    
}
                    
NOT = {
                        
has_technology= tech_dm_ancient_control_center
                    
}
                
}
                
give_technology = { tech = tech_dm_ancient_control_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_ancient_hive_cluster
                    
}
                    
NOT = {
                        
has_technology= tech_dm_ancient_hive_cluster
                    
}
                
}
                
give_technology = { tech = tech_dm_ancient_hive_cluster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_ancient_palace
                    
}
                    
NOT = {
                        
has_technology= tech_ae_ancient_palace
                    
}
                
}
                
give_technology = { tech = tech_ae_ancient_palace message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_ancient_control_center
                    
}
                    
NOT = {
                        
has_technology= tech_ae_ancient_control_center
                    
}
                
}
                
give_technology = { tech = tech_ae_ancient_control_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_ancient_hive_cluster
                    
}
                    
NOT = {
                        
has_technology= tech_ae_ancient_hive_cluster
                    
}
                
}
                
give_technology = { tech = tech_ae_ancient_hive_cluster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_hospital
                    
}
                    
NOT = {
                        
has_technology= tech_fe_hospital
                    
}
                
}
                
give_technology = { tech = tech_fe_hospital message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_hospital
                    
}
                    
NOT = {
                        
has_technology= tech_ae_hospital
                    
}
                
}
                
give_technology = { tech = tech_ae_hospital message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_super_assembly
                    
}
                    
NOT = {
                        
has_technology= tech_super_assembly
                    
}
                
}
                
give_technology = { tech = tech_super_assembly message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_super_assembly_ae
                    
}
                    
NOT = {
                        
has_technology= tech_super_assembly_ae
                    
}
                
}
                
give_technology = { tech = tech_super_assembly_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_hive_depot
                    
}
                    
NOT = {
                        
has_technology= tech_fe_hive_depot
                    
}
                
}
                
give_technology = { tech = tech_fe_hive_depot message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_hive_depot
                    
}
                    
NOT = {
                        
has_technology= tech_ae_hive_depot
                    
}
                
}
                
give_technology = { tech = tech_ae_hive_depot message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_clone_vats
                    
}
                    
NOT = {
                        
has_technology= tech_fe_clone_vats
                    
}
                
}
                
give_technology = { tech = tech_fe_clone_vats message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_clone_vats
                    
}
                    
NOT = {
                        
has_technology= tech_ae_clone_vats
                    
}
                
}
                
give_technology = { tech = tech_ae_clone_vats message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_psi_altar
                    
}
                    
NOT = {
                        
has_technology= tech_fe_psi_altar
                    
}
                
}
                
give_technology = { tech = tech_fe_psi_altar message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_psi_altar
                    
}
                    
NOT = {
                        
has_technology= tech_ae_psi_altar
                    
}
                
}
                
give_technology = { tech = tech_ae_psi_altar message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_synt_center
                    
}
                    
NOT = {
                        
has_technology= tech_fe_synt_center
                    
}
                
}
                
give_technology = { tech = tech_fe_synt_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_synt_center
                    
}
                    
NOT = {
                        
has_technology= tech_ae_synt_center
                    
}
                
}
                
give_technology = { tech = tech_ae_synt_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_hive_evochamber
                    
}
                    
NOT = {
                        
has_technology= tech_fe_hive_evochamber
                    
}
                
}
                
give_technology = { tech = tech_fe_hive_evochamber message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_hive_evochamber
                    
}
                    
NOT = {
                        
has_technology= tech_ae_hive_evochamber
                    
}
                
}
                
give_technology = { tech = tech_ae_hive_evochamber message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_machine_dome
                    
}
                    
NOT = {
                        
has_technology= tech_fe_machine_dome
                    
}
                
}
                
give_technology = { tech = tech_fe_machine_dome message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_machine_dome
                    
}
                    
NOT = {
                        
has_technology= tech_ae_machine_dome
                    
}
                
}
                
give_technology = { tech = tech_ae_machine_dome message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_synthersizer
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_synthersizer
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_synthersizer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_synthersizer_ae
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_synthersizer_ae
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_synthersizer_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_generator
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_generator
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_generator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_dark_matter_generator
                    
}
                    
NOT = {
                        
has_technology= tech_ae_dark_matter_generator
                    
}
                
}
                
give_technology = { tech = tech_ae_dark_matter_generator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_energy_pylon
                    
}
                    
NOT = {
                        
has_technology= tech_dark_energy_pylon
                    
}
                
}
                
give_technology = { tech = tech_dark_energy_pylon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_dark_energy_pylon
                    
}
                    
NOT = {
                        
has_technology= tech_ae_dark_energy_pylon
                    
}
                
}
                
give_technology = { tech = tech_ae_dark_energy_pylon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_food_processing
                    
}
                    
NOT = {
                        
has_technology= tech_fe_food_processing
                    
}
                
}
                
give_technology = { tech = tech_fe_food_processing message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_food_processing
                    
}
                    
NOT = {
                        
has_technology= tech_ae_food_processing
                    
}
                
}
                
give_technology = { tech = tech_ae_food_processing message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_alloy_foundry
                    
}
                    
NOT = {
                        
has_technology= tech_fe_alloy_foundry
                    
}
                
}
                
give_technology = { tech = tech_fe_alloy_foundry message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_alloy_foundry
                    
}
                    
NOT = {
                        
has_technology= tech_ae_alloy_foundry
                    
}
                
}
                
give_technology = { tech = tech_ae_alloy_foundry message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_transmutor
                    
}
                    
NOT = {
                        
has_technology= tech_fe_transmutor
                    
}
                
}
                
give_technology = { tech = tech_fe_transmutor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_transmutor
                    
}
                    
NOT = {
                        
has_technology= tech_ae_transmutor
                    
}
                
}
                
give_technology = { tech = tech_ae_transmutor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_mineral_processing_plant
                    
}
                    
NOT = {
                        
has_technology= tech_fe_mineral_processing_plant
                    
}
                
}
                
give_technology = { tech = tech_fe_mineral_processing_plant message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_mineral_processing_plant
                    
}
                    
NOT = {
                        
has_technology= tech_ae_mineral_processing_plant
                    
}
                
}
                
give_technology = { tech = tech_ae_mineral_processing_plant message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_power_hub
                    
}
                    
NOT = {
                        
has_technology= tech_fe_power_hub
                    
}
                
}
                
give_technology = { tech = tech_fe_power_hub message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_power_hub
                    
}
                    
NOT = {
                        
has_technology= tech_ae_power_hub
                    
}
                
}
                
give_technology = { tech = tech_ae_power_hub message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_factory
                    
}
                    
NOT = {
                        
has_technology= tech_fe_factory
                    
}
                
}
                
give_technology = { tech = tech_fe_factory message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_factory
                    
}
                    
NOT = {
                        
has_technology= tech_ae_factory
                    
}
                
}
                
give_technology = { tech = tech_ae_factory message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_lab
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_lab
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_lab message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_enigmatic_lab
                    
}
                    
NOT = {
                        
has_technology= tech_ae_enigmatic_lab
                    
}
                
}
                
give_technology = { tech = tech_ae_enigmatic_lab message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fe_institute
                    
}
                    
NOT = {
                        
has_technology= tech_fe_institute
                    
}
                
}
                
give_technology = { tech = tech_fe_institute message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_institute
                    
}
                    
NOT = {
                        
has_technology= tech_ae_institute
                    
}
                
}
                
give_technology = { tech = tech_ae_institute message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_energy_psg
                    
}
                    
NOT = {
                        
has_technology= tech_dark_energy_psg
                    
}
                
}
                
give_technology = { tech = tech_dark_energy_psg message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_dark_energy_psg
                    
}
                    
NOT = {
                        
has_technology= tech_ae_dark_energy_psg
                    
}
                
}
                
give_technology = { tech = tech_ae_dark_energy_psg message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_stronghold
                    
}
                    
NOT = {
                        
has_technology= tech_dm_stronghold
                    
}
                
}
                
give_technology = { tech = tech_dm_stronghold message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_stronghold
                    
}
                    
NOT = {
                        
has_technology= tech_ae_stronghold
                    
}
                
}
                
give_technology = { tech = tech_ae_stronghold message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_fortress
                    
}
                    
NOT = {
                        
has_technology= tech_giga_fortress
                    
}
                
}
                
give_technology = { tech = tech_giga_fortress message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_mansion
                    
}
                    
NOT = {
                        
has_technology= tech_dark_mansion
                    
}
                
}
                
give_technology = { tech = tech_dark_mansion message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_dark_mansion
                    
}
                    
NOT = {
                        
has_technology= tech_ae_dark_mansion
                    
}
                
}
                
give_technology = { tech = tech_ae_dark_mansion message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_ancient_cryo_chamber
                    
}
                    
NOT = {
                        
has_technology= tech_dm_ancient_cryo_chamber
                    
}
                
}
                
give_technology = { tech = tech_dm_ancient_cryo_chamber message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_ancient_cryo_chamber
                    
}
                    
NOT = {
                        
has_technology= tech_ae_ancient_cryo_chamber
                    
}
                
}
                
give_technology = { tech = tech_ae_ancient_cryo_chamber message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_stellarite_nexus
                    
}
                    
NOT = {
                        
has_technology= tech_stellarite_nexus
                    
}
                
}
                
give_technology = { tech = tech_stellarite_nexus message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_stellarite_generator_ae
                    
}
                    
NOT = {
                        
has_technology= tech_stellarite_generator_ae
                    
}
                
}
                
give_technology = { tech = tech_stellarite_generator_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_affluence_center
                    
}
                    
NOT = {
                        
has_technology= tech_ae_affluence_center
                    
}
                
}
                
give_technology = { tech = tech_ae_affluence_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_nourishment_center
                    
}
                    
NOT = {
                        
has_technology= tech_ae_nourishment_center
                    
}
                
}
                
give_technology = { tech = tech_ae_nourishment_center message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_dimensional_fabricator
                    
}
                    
NOT = {
                        
has_technology= tech_ae_dimensional_fabricator
                    
}
                
}
                
give_technology = { tech = tech_ae_dimensional_fabricator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_class_4_singularity
                    
}
                    
NOT = {
                        
has_technology= tech_ae_class_4_singularity
                    
}
                
}
                
give_technology = { tech = tech_ae_class_4_singularity message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_nano_forge
                    
}
                    
NOT = {
                        
has_technology= tech_ae_nano_forge
                    
}
                
}
                
give_technology = { tech = tech_ae_nano_forge message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_master_archive
                    
}
                    
NOT = {
                        
has_technology= tech_ae_master_archive
                    
}
                
}
                
give_technology = { tech = tech_ae_master_archive message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_empyrean_shrine
                    
}
                    
NOT = {
                        
has_technology= tech_ae_empyrean_shrine
                    
}
                
}
                
give_technology = { tech = tech_ae_empyrean_shrine message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_sky_dome
                    
}
                    
NOT = {
                        
has_technology= tech_ae_sky_dome
                    
}
                
}
                
give_technology = { tech = tech_ae_sky_dome message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_end_shifting_ground
                    
}
                    
NOT = {
                        
has_technology= tech_acot_end_shifting_ground
                    
}
                
}
                
give_technology = { tech = tech_acot_end_shifting_ground message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_end_rift
                    
}
                    
NOT = {
                        
has_technology= tech_acot_end_rift
                    
}
                
}
                
give_technology = { tech = tech_acot_end_rift message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_end_chasm
                    
}
                    
NOT = {
                        
has_technology= tech_acot_end_chasm
                    
}
                
}
                
give_technology = { tech = tech_acot_end_chasm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_go_find_work
                    
}
                    
NOT = {
                        
has_technology= tech_go_find_work
                    
}
                
}
                
give_technology = { tech = tech_go_find_work message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_go_sleep_machine
                    
}
                    
NOT = {
                        
has_technology= tech_go_sleep_machine
                    
}
                
}
                
give_technology = { tech = tech_go_sleep_machine message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_enig
                    
}
                    
NOT = {
                        
has_technology= tech_laser_enig
                    
}
                
}
                
give_technology = { tech = tech_laser_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_enig
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_enig
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_enig
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_enig
                    
}
                
}
                
give_technology = { tech = tech_disruptor_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_enig
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_enig
                    
}
                
}
                
give_technology = { tech = tech_plasma_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_enig
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_enig
                    
}
                
}
                
give_technology = { tech = tech_point_defense_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_enig
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_enig
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_enig
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_enig
                    
}
                
}
                
give_technology = { tech = tech_autocannons_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_enig
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_enig
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_enig
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_enig
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_enig
                    
}
                    
NOT = {
                        
has_technology= tech_missile_enig
                    
}
                
}
                
give_technology = { tech = tech_missile_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_enig
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_enig
                    
}
                
}
                
give_technology = { tech = tech_torpedo_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarmer_missile_enig
                    
}
                    
NOT = {
                        
has_technology= tech_swarmer_missile_enig
                    
}
                
}
                
give_technology = { tech = tech_swarmer_missile_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_enig
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_enig
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_enig
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_enig
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_enig
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_enig
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_enig
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_enig
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_enig
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_enig
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensors_enig
                    
}
                    
NOT = {
                        
has_technology= tech_sensors_enig
                    
}
                
}
                
give_technology = { tech = tech_sensors_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_thruster
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_thruster
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_thruster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_enig
                    
}
                    
NOT = {
                        
has_technology= tech_armor_enig
                    
}
                
}
                
give_technology = { tech = tech_armor_enig message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_shields
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_shields
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_shields message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_power_core
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_power_core
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_power_core message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_colonize_fractured
                    
}
                    
NOT = {
                        
has_technology= tech_acot_colonize_fractured
                    
}
                
}
                
give_technology = { tech = tech_acot_colonize_fractured message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_colonize_fractured_ae
                    
}
                    
NOT = {
                        
has_technology= tech_acot_colonize_fractured_ae
                    
}
                
}
                
give_technology = { tech = tech_acot_colonize_fractured_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_create_enigmatic_world
                    
}
                    
NOT = {
                        
has_technology= tech_acot_create_enigmatic_world
                    
}
                
}
                
give_technology = { tech = tech_acot_create_enigmatic_world message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_create_enigmapolis
                    
}
                    
NOT = {
                        
has_technology= tech_acot_create_enigmapolis
                    
}
                
}
                
give_technology = { tech = tech_acot_create_enigmapolis message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_shelter
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_shelter
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_shelter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_trapper
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_trapper
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_trapper message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_fort
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_fort
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_fort message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_science_dome
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_science_dome
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_science_dome message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_size_upgrade_1
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_size_upgrade_1
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_size_upgrade_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_size_upgrade_2
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_size_upgrade_2
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_size_upgrade_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_automated_systems
                    
}
                    
NOT = {
                        
has_technology= tech_acot_automated_systems
                    
}
                
}
                
give_technology = { tech = tech_acot_automated_systems message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_fractured_autoharvesting
                    
}
                    
NOT = {
                        
has_technology= tech_acot_fractured_autoharvesting
                    
}
                
}
                
give_technology = { tech = tech_acot_fractured_autoharvesting message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_supercharged_reactor
                    
}
                    
NOT = {
                        
has_technology= tech_acot_supercharged_reactor
                    
}
                
}
                
give_technology = { tech = tech_acot_supercharged_reactor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_supercharged_pylon
                    
}
                    
NOT = {
                        
has_technology= tech_acot_supercharged_pylon
                    
}
                
}
                
give_technology = { tech = tech_acot_supercharged_pylon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_stacking_network
                    
}
                    
NOT = {
                        
has_technology= tech_acot_stacking_network
                    
}
                
}
                
give_technology = { tech = tech_acot_stacking_network message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_supercharged_reactor_stellarite
                    
}
                    
NOT = {
                        
has_technology= tech_acot_supercharged_reactor_stellarite
                    
}
                
}
                
give_technology = { tech = tech_acot_supercharged_reactor_stellarite message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_design
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_design
                    
}
                
}
                
give_technology = { tech = tech_precursor_design message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_design_engineering
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_design_engineering
                    
}
                
}
                
give_technology = { tech = tech_precursor_design_engineering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_design_history
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_design_history
                    
}
                
}
                
give_technology = { tech = tech_precursor_design_history message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_design_physics
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_design_physics
                    
}
                
}
                
give_technology = { tech = tech_precursor_design_physics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_orbital_ring
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_orbital_ring
                    
}
                
}
                
give_technology = { tech = tech_precursor_orbital_ring message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_citadel
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_citadel
                    
}
                
}
                
give_technology = { tech = tech_precursor_citadel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_sigma_citadel
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_sigma_citadel
                    
}
                
}
                
give_technology = { tech = tech_precursor_sigma_citadel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_science
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_science
                    
}
                
}
                
give_technology = { tech = tech_precursor_science message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_construcor
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_construcor
                    
}
                
}
                
give_technology = { tech = tech_precursor_construcor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colonizer
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colonizer
                    
}
                
}
                
give_technology = { tech = tech_precursor_colonizer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_world_shaper
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_world_shaper
                    
}
                
}
                
give_technology = { tech = tech_precursor_world_shaper message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_escort
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_escort
                    
}
                
}
                
give_technology = { tech = tech_precursor_escort message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_bc
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_bc
                    
}
                
}
                
give_technology = { tech = tech_precursor_bc message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_assault_carrier
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_assault_carrier
                    
}
                
}
                
give_technology = { tech = tech_precursor_assault_carrier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_titan
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_titan
                    
}
                
}
                
give_technology = { tech = tech_precursor_titan message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_sentinel
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_sentinel
                    
}
                
}
                
give_technology = { tech = tech_precursor_sentinel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_guardian
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_guardian
                    
}
                
}
                
give_technology = { tech = tech_precursor_guardian message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colossus
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colossus
                    
}
                
}
                
give_technology = { tech = tech_precursor_colossus message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_regain
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_regain
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_regain message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_escort_delta
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_escort_delta
                    
}
                
}
                
give_technology = { tech = tech_precursor_escort_delta message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_bc_delta
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_bc_delta
                    
}
                
}
                
give_technology = { tech = tech_precursor_bc_delta message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_guardian_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_guardian_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_guardian_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_escort_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_escort_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_escort_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_bc_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_bc_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_bc_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_assault_carrier_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_assault_carrier_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_assault_carrier_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_titan_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_titan_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_titan_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_sentinel_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_sentinel_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_sentinel_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colossus_ae
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colossus_ae
                    
}
                
}
                
give_technology = { tech = tech_precursor_colossus_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colonizer_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colonizer_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_colonizer_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_construcor_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_construcor_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_construcor_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_science_alpha
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_science_alpha
                    
}
                
}
                
give_technology = { tech = tech_precursor_science_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_guardian_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_guardian_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_guardian_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_escort_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_escort_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_escort_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_bc_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_bc_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_bc_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_assault_carrier_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_assault_carrier_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_assault_carrier_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_titan_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_titan_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_titan_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_sentinel_cost
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_sentinel_cost
                    
}
                
}
                
give_technology = { tech = tech_precursor_sentinel_cost message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_guardian_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_guardian_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_guardian_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_escort_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_escort_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_escort_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_bc_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_bc_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_bc_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_assault_carrier_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_assault_carrier_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_assault_carrier_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_titan_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_titan_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_titan_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_sentinel_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_sentinel_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_sentinel_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colossus_se
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colossus_se
                    
}
                
}
                
give_technology = { tech = tech_precursor_colossus_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colonizer_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colonizer_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_colonizer_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_construcor_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_construcor_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_construcor_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_science_sigma
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_science_sigma
                    
}
                
}
                
give_technology = { tech = tech_precursor_science_sigma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_guardian
                    
}
                    
NOT = {
                        
has_technology= tech_omega_guardian
                    
}
                
}
                
give_technology = { tech = tech_omega_guardian message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_escort
                    
}
                    
NOT = {
                        
has_technology= tech_omega_escort
                    
}
                
}
                
give_technology = { tech = tech_omega_escort message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_battlecruiser
                    
}
                    
NOT = {
                        
has_technology= tech_omega_battlecruiser
                    
}
                
}
                
give_technology = { tech = tech_omega_battlecruiser message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omege_sentinel
                    
}
                    
NOT = {
                        
has_technology= tech_omege_sentinel
                    
}
                
}
                
give_technology = { tech = tech_omege_sentinel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_titan
                    
}
                    
NOT = {
                        
has_technology= tech_omega_titan
                    
}
                
}
                
give_technology = { tech = tech_omega_titan message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_carrier
                    
}
                    
NOT = {
                        
has_technology= tech_omega_carrier
                    
}
                
}
                
give_technology = { tech = tech_omega_carrier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_omega_colossus
                    
}
                    
NOT = {
                        
has_technology= tech_omega_colossus
                    
}
                
}
                
give_technology = { tech = tech_omega_colossus message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_colonizer_omega
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_colonizer_omega
                    
}
                
}
                
give_technology = { tech = tech_precursor_colonizer_omega message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_construcor_omega
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_construcor_omega
                    
}
                
}
                
give_technology = { tech = tech_precursor_construcor_omega message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_science_omega
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_science_omega
                    
}
                
}
                
give_technology = { tech = tech_precursor_science_omega message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_enigmalith
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_enigmalith
                    
}
                
}
                
give_technology = { tech = tech_precursor_enigmalith message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_enigmalith_ae
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_enigmalith_ae
                    
}
                
}
                
give_technology = { tech = tech_precursor_enigmalith_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_enigmalith_se
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_enigmalith_se
                    
}
                
}
                
give_technology = { tech = tech_precursor_enigmalith_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_enigmalith_oe
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_enigmalith_oe
                    
}
                
}
                
give_technology = { tech = tech_precursor_enigmalith_oe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_amerigo_ae
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_amerigo_ae
                    
}
                
}
                
give_technology = { tech = tech_precursor_amerigo_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_amerigo_se
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_amerigo_se
                    
}
                
}
                
give_technology = { tech = tech_precursor_amerigo_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_amerigo_oe
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_amerigo_oe
                    
}
                
}
                
give_technology = { tech = tech_precursor_amerigo_oe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_component
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_component
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_component message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_component_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_component_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_component_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_hangar_escort
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_hangar_escort
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_hangar_escort message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_hangar_escort_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_hangar_escort_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_hangar_escort_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_hangar_bc
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_hangar_bc
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_hangar_bc message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_hangar_bc_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_hangar_bc_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_hangar_bc_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_basic_weapon
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_basic_weapon
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_basic_weapon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_basic_weapon_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_basic_weapon_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_basic_weapon_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_advanced_weapon
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_advanced_weapon
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_advanced_weapon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_advanced_weapon_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_advanced_weapon_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_advanced_weapon_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_shield
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_shield
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_shield message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_shield_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_shield_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_shield_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_spirit_weapon
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_spirit_weapon
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_spirit_weapon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_spirit_weapon_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_spirit_weapon_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_spirit_weapon_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_wmd_pk
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_wmd_pk
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_wmd_pk message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_wmd_pk_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_wmd_pk_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_wmd_pk_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_e7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_e7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_supply_line_e7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_e8
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_e8
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_supply_line_e8 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_s7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_supply_line_s7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_supply_line_s7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_science_e7
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_science_e7
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_science_e7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_science_e8
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_science_e8
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_science_e8 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_science_curator
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_science_curator
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_science_curator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_wmd_rift
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_wmd_rift
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_wmd_rift message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_acot_precursor_herculean_wmd_emp
                    
}
                    
NOT = {
                        
has_technology= tech_acot_precursor_herculean_wmd_emp
                    
}
                
}
                
give_technology = { tech = tech_acot_precursor_herculean_wmd_emp message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mine_dark_energy
                    
}
                    
NOT = {
                        
has_technology= tech_mine_dark_energy
                    
}
                
}
                
give_technology = { tech = tech_mine_dark_energy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_dm
                    
}
                    
NOT = {
                        
has_technology= tech_laser_dm
                    
}
                
}
                
give_technology = { tech = tech_laser_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_dm
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_dm
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_cannon_dm
                    
}
                    
NOT = {
                        
has_technology= tech_energy_cannon_dm
                    
}
                
}
                
give_technology = { tech = tech_energy_cannon_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_dm
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_dm
                    
}
                
}
                
give_technology = { tech = tech_disruptor_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_dm
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_dm
                    
}
                
}
                
give_technology = { tech = tech_plasma_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_dm
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_dm
                    
}
                
}
                
give_technology = { tech = tech_point_defense_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_dm
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_dm
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_dm
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_dm
                    
}
                
}
                
give_technology = { tech = tech_autocannons_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_dm
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_dm
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_dm
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_dm
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_dm
                    
}
                    
NOT = {
                        
has_technology= tech_missile_dm
                    
}
                
}
                
give_technology = { tech = tech_missile_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_dm
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_dm
                    
}
                
}
                
give_technology = { tech = tech_torpedo_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarmer_missile_dm
                    
}
                    
NOT = {
                        
has_technology= tech_swarmer_missile_dm
                    
}
                
}
                
give_technology = { tech = tech_swarmer_missile_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_barrage_missile_dm
                    
}
                    
NOT = {
                        
has_technology= tech_barrage_missile_dm
                    
}
                
}
                
give_technology = { tech = tech_barrage_missile_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xl_missile_dm
                    
}
                    
NOT = {
                        
has_technology= tech_xl_missile_dm
                    
}
                
}
                
give_technology = { tech = tech_xl_missile_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_nuke_dm
                    
}
                    
NOT = {
                        
has_technology= tech_missile_nuke_dm
                    
}
                
}
                
give_technology = { tech = tech_missile_nuke_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_scout_dm
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_scout_dm
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_scout_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_fighter_dm
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_fighter_dm
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_fighter_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_dm
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_dm
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_gunship_dm
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_gunship_dm
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_gunship_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_dm
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_dm
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_dm
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_dm
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_dm
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_dm
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_dm
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_dm
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_emitter_dm
                    
}
                    
NOT = {
                        
has_technology= tech_titan_emitter_dm
                    
}
                
}
                
give_technology = { tech = tech_titan_emitter_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_accelerator_dm
                    
}
                    
NOT = {
                        
has_technology= tech_titan_accelerator_dm
                    
}
                
}
                
give_technology = { tech = tech_titan_accelerator_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_macrocannon_dm
                    
}
                    
NOT = {
                        
has_technology= tech_macrocannon_dm
                    
}
                
}
                
give_technology = { tech = tech_macrocannon_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensors_dm
                    
}
                    
NOT = {
                        
has_technology= tech_sensors_dm
                    
}
                
}
                
give_technology = { tech = tech_sensors_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector_dm
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector_dm
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_dm
                    
}
                    
NOT = {
                        
has_technology= tech_armor_dm
                    
}
                
}
                
give_technology = { tech = tech_armor_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_dm
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_dm
                    
}
                
}
                
give_technology = { tech = tech_thrusters_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core_dm
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core_dm
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_drive_dm
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_drive_dm
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_drive_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_combat_computer
                    
}
                    
NOT = {
                        
has_technology= tech_dm_combat_computer
                    
}
                
}
                
give_technology = { tech = tech_dm_combat_computer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reinforced_starbase
                    
}
                    
NOT = {
                        
has_technology= tech_reinforced_starbase
                    
}
                
}
                
give_technology = { tech = tech_reinforced_starbase message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_afterburners_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_afterburners_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_afterburners_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactor_booster_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactor_booster_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactor_booster_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_star_charter_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_star_charter_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_star_charter_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_shield_supercharger_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_shield_supercharger_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_shield_supercharger_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_armor_supercharger_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_armor_supercharger_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_armor_supercharger_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactive_drone_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactive_drone_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactive_drone_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_stealth_generator_dm
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_stealth_generator_dm
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_stealth_generator_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_ships
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_ships
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_ships message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bombardment_dm
                    
}
                    
NOT = {
                        
has_technology= tech_bombardment_dm
                    
}
                
}
                
give_technology = { tech = tech_bombardment_dm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_ae
                    
}
                    
NOT = {
                        
has_technology= tech_laser_ae
                    
}
                
}
                
give_technology = { tech = tech_laser_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_ae
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_ae
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_cannon_ae
                    
}
                    
NOT = {
                        
has_technology= tech_energy_cannon_ae
                    
}
                
}
                
give_technology = { tech = tech_energy_cannon_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_ae
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_ae
                    
}
                
}
                
give_technology = { tech = tech_disruptor_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_ae
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_ae
                    
}
                
}
                
give_technology = { tech = tech_plasma_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_ae
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_ae
                    
}
                
}
                
give_technology = { tech = tech_point_defense_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_ae
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_ae
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_ae
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_ae
                    
}
                
}
                
give_technology = { tech = tech_autocannons_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_ae
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_ae
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_ae
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_ae
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_ae
                    
}
                    
NOT = {
                        
has_technology= tech_missile_ae
                    
}
                
}
                
give_technology = { tech = tech_missile_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_ae
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_ae
                    
}
                
}
                
give_technology = { tech = tech_torpedo_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_swarmer_missile_ae
                    
}
                    
NOT = {
                        
has_technology= tech_swarmer_missile_ae
                    
}
                
}
                
give_technology = { tech = tech_swarmer_missile_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_barrage_missile_ae
                    
}
                    
NOT = {
                        
has_technology= tech_barrage_missile_ae
                    
}
                
}
                
give_technology = { tech = tech_barrage_missile_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xl_missile_ae
                    
}
                    
NOT = {
                        
has_technology= tech_xl_missile_ae
                    
}
                
}
                
give_technology = { tech = tech_xl_missile_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_nuke_ae
                    
}
                    
NOT = {
                        
has_technology= tech_missile_nuke_ae
                    
}
                
}
                
give_technology = { tech = tech_missile_nuke_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_scout_ae
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_scout_ae
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_scout_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_fighter_ae
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_fighter_ae
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_fighter_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_ae
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_ae
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_gunship_ae
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_gunship_ae
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_gunship_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_ae
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_ae
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_ae
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_ae
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_ae
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_ae
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_ae
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_ae
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_emitter_ae
                    
}
                    
NOT = {
                        
has_technology= tech_titan_emitter_ae
                    
}
                
}
                
give_technology = { tech = tech_titan_emitter_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_accelerator_ae
                    
}
                    
NOT = {
                        
has_technology= tech_titan_accelerator_ae
                    
}
                
}
                
give_technology = { tech = tech_titan_accelerator_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_macrocannon_ae
                    
}
                    
NOT = {
                        
has_technology= tech_macrocannon_ae
                    
}
                
}
                
give_technology = { tech = tech_macrocannon_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_core_ae
                    
}
                    
NOT = {
                        
has_technology= tech_energy_core_ae
                    
}
                
}
                
give_technology = { tech = tech_energy_core_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_core_ae
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_core_ae
                    
}
                
}
                
give_technology = { tech = tech_kinetic_core_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_core_ae
                    
}
                    
NOT = {
                        
has_technology= tech_missile_core_ae
                    
}
                
}
                
give_technology = { tech = tech_missile_core_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fighter_core_ae
                    
}
                    
NOT = {
                        
has_technology= tech_fighter_core_ae
                    
}
                
}
                
give_technology = { tech = tech_fighter_core_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_drive_ae
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_drive_ae
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_drive_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensor_ae
                    
}
                    
NOT = {
                        
has_technology= tech_sensor_ae
                    
}
                
}
                
give_technology = { tech = tech_sensor_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_ae
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_ae
                    
}
                
}
                
give_technology = { tech = tech_thrusters_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector_ae
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector_ae
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core_ae
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core_ae
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_ae
                    
}
                    
NOT = {
                        
has_technology= tech_armor_ae
                    
}
                
}
                
give_technology = { tech = tech_armor_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_afterburners_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_afterburners_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_afterburners_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_star_charter_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_star_charter_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_star_charter_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_shield_supercharger_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_shield_supercharger_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_shield_supercharger_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_armor_supercharger_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_armor_supercharger_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_armor_supercharger_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactor_booster_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactor_booster_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactor_booster_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactive_drone_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactive_drone_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactive_drone_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_hyper_jump_drive_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_aura_energy_drainer_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bionic_interface
                    
}
                    
NOT = {
                        
has_technology= tech_bionic_interface
                    
}
                
}
                
give_technology = { tech = tech_bionic_interface message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_psi_computer
                    
}
                    
NOT = {
                        
has_technology= tech_ae_psi_computer
                    
}
                
}
                
give_technology = { tech = tech_ae_psi_computer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ae_hive_computer
                    
}
                    
NOT = {
                        
has_technology= tech_ae_hive_computer
                    
}
                
}
                
give_technology = { tech = tech_ae_hive_computer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_stealth_generator_ae
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_stealth_generator_ae
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_stealth_generator_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_stealth_dimensional
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_stealth_dimensional
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_stealth_dimensional message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reinforced_starbase_ae
                    
}
                    
NOT = {
                        
has_technology= tech_reinforced_starbase_ae
                    
}
                
}
                
give_technology = { tech = tech_reinforced_starbase_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_world_cracker
                    
}
                    
NOT = {
                        
has_technology= tech_dm_world_cracker
                    
}
                
}
                
give_technology = { tech = tech_dm_world_cracker message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_global_pacifier
                    
}
                    
NOT = {
                        
has_technology= tech_dm_global_pacifier
                    
}
                
}
                
give_technology = { tech = tech_dm_global_pacifier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_neutron_sweep
                    
}
                    
NOT = {
                        
has_technology= tech_dm_neutron_sweep
                    
}
                
}
                
give_technology = { tech = tech_dm_neutron_sweep message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_divine_enforcer
                    
}
                    
NOT = {
                        
has_technology= tech_dm_divine_enforcer
                    
}
                
}
                
give_technology = { tech = tech_dm_divine_enforcer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dm_nanobot_diffuser
                    
}
                    
NOT = {
                        
has_technology= tech_dm_nanobot_diffuser
                    
}
                
}
                
give_technology = { tech = tech_dm_nanobot_diffuser message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bombardment_ae
                    
}
                    
NOT = {
                        
has_technology= tech_bombardment_ae
                    
}
                
}
                
give_technology = { tech = tech_bombardment_ae message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bombardment_ae_final
                    
}
                    
NOT = {
                        
has_technology= tech_bombardment_ae_final
                    
}
                
}
                
give_technology = { tech = tech_bombardment_ae_final message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_phanon_design_pe_1
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_phanon_design_pe_1
                    
}
                
}
                
give_technology = { tech = tech_precursor_phanon_design_pe_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_phanon_design_pe_2
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_phanon_design_pe_2
                    
}
                
}
                
give_technology = { tech = tech_precursor_phanon_design_pe_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_phanon_design_pe_3
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_phanon_design_pe_3
                    
}
                
}
                
give_technology = { tech = tech_precursor_phanon_design_pe_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core_pe
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core_pe
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core_re
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core_re
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_pe
                    
}
                    
NOT = {
                        
has_technology= tech_laser_pe
                    
}
                
}
                
give_technology = { tech = tech_laser_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_re
                    
}
                    
NOT = {
                        
has_technology= tech_laser_re
                    
}
                
}
                
give_technology = { tech = tech_laser_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_pe
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_pe
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_re
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_re
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_cannon_pe
                    
}
                    
NOT = {
                        
has_technology= tech_energy_cannon_pe
                    
}
                
}
                
give_technology = { tech = tech_energy_cannon_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_cannon_re
                    
}
                    
NOT = {
                        
has_technology= tech_energy_cannon_re
                    
}
                
}
                
give_technology = { tech = tech_energy_cannon_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_pe
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_pe
                    
}
                
}
                
give_technology = { tech = tech_disruptor_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_re
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_re
                    
}
                
}
                
give_technology = { tech = tech_disruptor_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_pe
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_pe
                    
}
                
}
                
give_technology = { tech = tech_plasma_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_re
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_re
                    
}
                
}
                
give_technology = { tech = tech_plasma_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_pe
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_pe
                    
}
                
}
                
give_technology = { tech = tech_point_defense_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_re
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_re
                    
}
                
}
                
give_technology = { tech = tech_point_defense_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_pe
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_pe
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_re
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_re
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannon_pe
                    
}
                    
NOT = {
                        
has_technology= tech_autocannon_pe
                    
}
                
}
                
give_technology = { tech = tech_autocannon_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannon_re
                    
}
                    
NOT = {
                        
has_technology= tech_autocannon_re
                    
}
                
}
                
give_technology = { tech = tech_autocannon_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_pe
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_pe
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_re
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_re
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_macrocannon_pe
                    
}
                    
NOT = {
                        
has_technology= tech_macrocannon_pe
                    
}
                
}
                
give_technology = { tech = tech_macrocannon_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_macrocannon_re
                    
}
                    
NOT = {
                        
has_technology= tech_macrocannon_re
                    
}
                
}
                
give_technology = { tech = tech_macrocannon_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_pe
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_pe
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_re
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_re
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_pe
                    
}
                    
NOT = {
                        
has_technology= tech_missile_pe
                    
}
                
}
                
give_technology = { tech = tech_missile_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_re
                    
}
                    
NOT = {
                        
has_technology= tech_missile_re
                    
}
                
}
                
give_technology = { tech = tech_missile_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_pe
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_pe
                    
}
                
}
                
give_technology = { tech = tech_torpedo_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_re
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_re
                    
}
                
}
                
give_technology = { tech = tech_torpedo_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_barrage_missile_pe
                    
}
                    
NOT = {
                        
has_technology= tech_barrage_missile_pe
                    
}
                
}
                
give_technology = { tech = tech_barrage_missile_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_barrage_missile_re
                    
}
                    
NOT = {
                        
has_technology= tech_barrage_missile_re
                    
}
                
}
                
give_technology = { tech = tech_barrage_missile_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xl_missile_pe
                    
}
                    
NOT = {
                        
has_technology= tech_xl_missile_pe
                    
}
                
}
                
give_technology = { tech = tech_xl_missile_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xl_missile_re
                    
}
                    
NOT = {
                        
has_technology= tech_xl_missile_re
                    
}
                
}
                
give_technology = { tech = tech_xl_missile_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_nuke_pe
                    
}
                    
NOT = {
                        
has_technology= tech_missile_nuke_pe
                    
}
                
}
                
give_technology = { tech = tech_missile_nuke_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_nuke_re
                    
}
                    
NOT = {
                        
has_technology= tech_missile_nuke_re
                    
}
                
}
                
give_technology = { tech = tech_missile_nuke_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_scout_pe
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_scout_pe
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_scout_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_scout_re
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_scout_re
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_scout_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_fighter_pe
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_fighter_pe
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_fighter_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_fighter_re
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_fighter_re
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_fighter_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_pe
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_pe
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_re
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_re
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_gunship_pe
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_gunship_pe
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_gunship_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_gunship_re
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_gunship_re
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_gunship_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_pe
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_pe
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_re
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_re
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_pe
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_pe
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_re
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_re
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_pe
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_pe
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_re
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_re
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_pe
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_pe
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_re
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_re
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_emitter_pe
                    
}
                    
NOT = {
                        
has_technology= tech_titan_emitter_pe
                    
}
                
}
                
give_technology = { tech = tech_titan_emitter_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_emitter_re
                    
}
                    
NOT = {
                        
has_technology= tech_titan_emitter_re
                    
}
                
}
                
give_technology = { tech = tech_titan_emitter_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_accelerator_pe
                    
}
                    
NOT = {
                        
has_technology= tech_titan_accelerator_pe
                    
}
                
}
                
give_technology = { tech = tech_titan_accelerator_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_accelerator_re
                    
}
                    
NOT = {
                        
has_technology= tech_titan_accelerator_re
                    
}
                
}
                
give_technology = { tech = tech_titan_accelerator_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_core_pe
                    
}
                    
NOT = {
                        
has_technology= tech_energy_core_pe
                    
}
                
}
                
give_technology = { tech = tech_energy_core_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_core_re
                    
}
                    
NOT = {
                        
has_technology= tech_energy_core_re
                    
}
                
}
                
give_technology = { tech = tech_energy_core_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_core_pe
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_core_pe
                    
}
                
}
                
give_technology = { tech = tech_kinetic_core_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_core_re
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_core_re
                    
}
                
}
                
give_technology = { tech = tech_kinetic_core_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_core_pe
                    
}
                    
NOT = {
                        
has_technology= tech_missile_core_pe
                    
}
                
}
                
give_technology = { tech = tech_missile_core_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_core_re
                    
}
                    
NOT = {
                        
has_technology= tech_missile_core_re
                    
}
                
}
                
give_technology = { tech = tech_missile_core_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fighter_core_pe
                    
}
                    
NOT = {
                        
has_technology= tech_fighter_core_pe
                    
}
                
}
                
give_technology = { tech = tech_fighter_core_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_fighter_core_re
                    
}
                    
NOT = {
                        
has_technology= tech_fighter_core_re
                    
}
                
}
                
give_technology = { tech = tech_fighter_core_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_drive_pe
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_drive_pe
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_drive_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_drive_re
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_drive_re
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_drive_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensor_pe
                    
}
                    
NOT = {
                        
has_technology= tech_sensor_pe
                    
}
                
}
                
give_technology = { tech = tech_sensor_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensor_re
                    
}
                    
NOT = {
                        
has_technology= tech_sensor_re
                    
}
                
}
                
give_technology = { tech = tech_sensor_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_pe
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_pe
                    
}
                
}
                
give_technology = { tech = tech_thrusters_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_re
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_re
                    
}
                
}
                
give_technology = { tech = tech_thrusters_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector_pe
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector_pe
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector_re
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector_re
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_pe
                    
}
                    
NOT = {
                        
has_technology= tech_armor_pe
                    
}
                
}
                
give_technology = { tech = tech_armor_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_re
                    
}
                    
NOT = {
                        
has_technology= tech_armor_re
                    
}
                
}
                
give_technology = { tech = tech_armor_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_hull_re
                    
}
                    
NOT = {
                        
has_technology= tech_armor_hull_re
                    
}
                
}
                
give_technology = { tech = tech_armor_hull_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_afterburners_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_afterburners_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_afterburners_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_afterburners_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_afterburners_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_afterburners_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_star_charter_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_star_charter_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_star_charter_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_star_charter_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_star_charter_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_star_charter_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_shield_supercharger_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_shield_supercharger_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_shield_supercharger_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_shield_supercharger_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_shield_supercharger_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_shield_supercharger_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_armor_supercharger_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_armor_supercharger_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_armor_supercharger_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_armor_supercharger_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_armor_supercharger_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_armor_supercharger_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactor_booster_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactor_booster_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactor_booster_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactor_booster_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactor_booster_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactor_booster_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactive_drone_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactive_drone_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactive_drone_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactive_drone_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactive_drone_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactive_drone_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_hyper_jump_drive_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_hyper_jump_drive_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_pe
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_pe
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_aura_energy_drainer_pe message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_aura_energy_drainer_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_computer_phi
                    
}
                    
NOT = {
                        
has_technology= tech_computer_phi
                    
}
                
}
                
give_technology = { tech = tech_computer_phi message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_computer_runic
                    
}
                    
NOT = {
                        
has_technology= tech_computer_runic
                    
}
                
}
                
give_technology = { tech = tech_computer_runic message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_stealth_generator_re
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_stealth_generator_re
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_stealth_generator_re message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pmc_decimator_beam
                    
}
                    
NOT = {
                        
has_technology= tech_pmc_decimator_beam
                    
}
                
}
                
give_technology = { tech = tech_pmc_decimator_beam message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_pmc_yamato_cannon
                    
}
                    
NOT = {
                        
has_technology= tech_pmc_yamato_cannon
                    
}
                
}
                
give_technology = { tech = tech_pmc_yamato_cannon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_precursor_phanon_design
                    
}
                    
NOT = {
                        
has_technology= tech_precursor_phanon_design
                    
}
                
}
                
give_technology = { tech = tech_precursor_phanon_design message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_army
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_army
                    
}
                
}
                
give_technology = { tech = tech_phanon_army message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_army_repeatable
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_army_repeatable
                    
}
                
}
                
give_technology = { tech = tech_phanon_army_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_army_elite
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_army_elite
                    
}
                
}
                
give_technology = { tech = tech_phanon_army_elite message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_attack_dog
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_attack_dog
                    
}
                
}
                
give_technology = { tech = tech_phanon_attack_dog message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_attack_dog_repeatable
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_attack_dog_repeatable
                    
}
                
}
                
give_technology = { tech = tech_phanon_attack_dog_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_operative
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_operative
                    
}
                
}
                
give_technology = { tech = tech_phanon_operative message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_operative_repeatable
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_operative_repeatable
                    
}
                
}
                
give_technology = { tech = tech_phanon_operative_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_fighter
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_fighter
                    
}
                
}
                
give_technology = { tech = tech_phanon_fighter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_cruiser
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_cruiser
                    
}
                
}
                
give_technology = { tech = tech_phanon_cruiser message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_bb
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_bb
                    
}
                
}
                
give_technology = { tech = tech_phanon_bb message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_titan
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_titan
                    
}
                
}
                
give_technology = { tech = tech_phanon_titan message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_mothership
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_mothership
                    
}
                
}
                
give_technology = { tech = tech_phanon_mothership message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_plat_m
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_plat_m
                    
}
                
}
                
give_technology = { tech = tech_phanon_plat_m message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_phanon_plat_l
                    
}
                    
NOT = {
                        
has_technology= tech_phanon_plat_l
                    
}
                
}
                
give_technology = { tech = tech_phanon_plat_l message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shroud_missile
                    
}
                    
NOT = {
                        
has_technology= tech_shroud_missile
                    
}
                
}
                
give_technology = { tech = tech_shroud_missile message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shroud_hanger
                    
}
                    
NOT = {
                        
has_technology= tech_shroud_hanger
                    
}
                
}
                
give_technology = { tech = tech_shroud_hanger message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shroud_storm
                    
}
                    
NOT = {
                        
has_technology= tech_shroud_storm
                    
}
                
}
                
give_technology = { tech = tech_shroud_storm message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shroud_jump_drive
                    
}
                    
NOT = {
                        
has_technology= tech_shroud_jump_drive
                    
}
                
}
                
give_technology = { tech = tech_shroud_jump_drive message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_shroud_barrier
                    
}
                    
NOT = {
                        
has_technology= tech_shroud_barrier
                    
}
                
}
                
give_technology = { tech = tech_shroud_barrier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_laser_se
                    
}
                    
NOT = {
                        
has_technology= tech_laser_se
                    
}
                
}
                
give_technology = { tech = tech_laser_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_disruptor_se
                    
}
                    
NOT = {
                        
has_technology= tech_disruptor_se
                    
}
                
}
                
give_technology = { tech = tech_disruptor_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_plasma_se
                    
}
                    
NOT = {
                        
has_technology= tech_plasma_se
                    
}
                
}
                
give_technology = { tech = tech_plasma_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_torpedo_se
                    
}
                    
NOT = {
                        
has_technology= tech_energy_torpedo_se
                    
}
                
}
                
give_technology = { tech = tech_energy_torpedo_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_cannon_se
                    
}
                    
NOT = {
                        
has_technology= tech_energy_cannon_se
                    
}
                
}
                
give_technology = { tech = tech_energy_cannon_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_point_defense_se
                    
}
                    
NOT = {
                        
has_technology= tech_point_defense_se
                    
}
                
}
                
give_technology = { tech = tech_point_defense_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_lance_se
                    
}
                    
NOT = {
                        
has_technology= tech_energy_lance_se
                    
}
                
}
                
give_technology = { tech = tech_energy_lance_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_arc_emitter_se
                    
}
                    
NOT = {
                        
has_technology= tech_arc_emitter_se
                    
}
                
}
                
give_technology = { tech = tech_arc_emitter_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_emitter_se
                    
}
                    
NOT = {
                        
has_technology= tech_titan_emitter_se
                    
}
                
}
                
give_technology = { tech = tech_titan_emitter_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_perdition_beam_se
                    
}
                    
NOT = {
                        
has_technology= tech_perdition_beam_se
                    
}
                
}
                
give_technology = { tech = tech_perdition_beam_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_driver_se
                    
}
                    
NOT = {
                        
has_technology= tech_mass_driver_se
                    
}
                
}
                
give_technology = { tech = tech_mass_driver_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_autocannons_se
                    
}
                    
NOT = {
                        
has_technology= tech_autocannons_se
                    
}
                
}
                
give_technology = { tech = tech_autocannons_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_macrocannon_se
                    
}
                    
NOT = {
                        
has_technology= tech_macrocannon_se
                    
}
                
}
                
give_technology = { tech = tech_macrocannon_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_kinetic_artillery_se
                    
}
                    
NOT = {
                        
has_technology= tech_kinetic_artillery_se
                    
}
                
}
                
give_technology = { tech = tech_kinetic_artillery_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_flak_batteries_se
                    
}
                    
NOT = {
                        
has_technology= tech_flak_batteries_se
                    
}
                
}
                
give_technology = { tech = tech_flak_batteries_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_mass_accelerator_se
                    
}
                    
NOT = {
                        
has_technology= tech_mass_accelerator_se
                    
}
                
}
                
give_technology = { tech = tech_mass_accelerator_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_titan_accelerator_se
                    
}
                    
NOT = {
                        
has_technology= tech_titan_accelerator_se
                    
}
                
}
                
give_technology = { tech = tech_titan_accelerator_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_se
                    
}
                    
NOT = {
                        
has_technology= tech_missile_se
                    
}
                
}
                
give_technology = { tech = tech_missile_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_torpedo_se
                    
}
                    
NOT = {
                        
has_technology= tech_torpedo_se
                    
}
                
}
                
give_technology = { tech = tech_torpedo_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_barrage_missile_se
                    
}
                    
NOT = {
                        
has_technology= tech_barrage_missile_se
                    
}
                
}
                
give_technology = { tech = tech_barrage_missile_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_xl_missile_se
                    
}
                    
NOT = {
                        
has_technology= tech_xl_missile_se
                    
}
                
}
                
give_technology = { tech = tech_xl_missile_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_missile_nuke_se
                    
}
                    
NOT = {
                        
has_technology= tech_missile_nuke_se
                    
}
                
}
                
give_technology = { tech = tech_missile_nuke_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_scout_se
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_scout_se
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_scout_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_fighter_se
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_fighter_se
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_fighter_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_bomber_se
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_bomber_se
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_bomber_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_strike_craft_gunship_se
                    
}
                    
NOT = {
                        
has_technology= tech_strike_craft_gunship_se
                    
}
                
}
                
give_technology = { tech = tech_strike_craft_gunship_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_stelar_advanced_ships
                    
}
                    
NOT = {
                        
has_technology= tech_stelar_advanced_ships
                    
}
                
}
                
give_technology = { tech = tech_stelar_advanced_ships message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_armor_se
                    
}
                    
NOT = {
                        
has_technology= tech_armor_se
                    
}
                
}
                
give_technology = { tech = tech_armor_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_deflector_se
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_deflector_se
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_deflector_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_thrusters_se
                    
}
                    
NOT = {
                        
has_technology= tech_thrusters_se
                    
}
                
}
                
give_technology = { tech = tech_thrusters_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_power_core_se
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_power_core_se
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_power_core_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sensor_se
                    
}
                    
NOT = {
                        
has_technology= tech_sensor_se
                    
}
                
}
                
give_technology = { tech = tech_sensor_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_computer_stellarite
                    
}
                    
NOT = {
                        
has_technology= tech_computer_stellarite
                    
}
                
}
                
give_technology = { tech = tech_computer_stellarite message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_enigmatic_drive_se
                    
}
                    
NOT = {
                        
has_technology= tech_enigmatic_drive_se
                    
}
                
}
                
give_technology = { tech = tech_enigmatic_drive_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactor_booster_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactor_booster_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactor_booster_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_afterburners_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_afterburners_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_afterburners_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_hyper_jump_drive_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_hyper_jump_drive_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_reactive_drone_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_reactive_drone_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_reactive_drone_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_aura_energy_drainer_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_aura_energy_drainer_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_shield_supercharger_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_shield_supercharger_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_shield_supercharger_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_armor_supercharger_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_armor_supercharger_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_armor_supercharger_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_inspire_aura_se
                    
}
                    
NOT = {
                        
has_technology= tech_inspire_aura_se
                    
}
                
}
                
give_technology = { tech = tech_inspire_aura_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_energy_core_se
                    
}
                    
NOT = {
                        
has_technology= tech_energy_core_se
                    
}
                
}
                
give_technology = { tech = tech_energy_core_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_star_charter_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_star_charter_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_star_charter_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_darkmatter_stealth_generator_se
                    
}
                    
NOT = {
                        
has_technology= tech_darkmatter_stealth_generator_se
                    
}
                
}
                
give_technology = { tech = tech_darkmatter_stealth_generator_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_se_world_cracker
                    
}
                    
NOT = {
                        
has_technology= tech_se_world_cracker
                    
}
                
}
                
give_technology = { tech = tech_se_world_cracker message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_se_global_pacifier
                    
}
                    
NOT = {
                        
has_technology= tech_se_global_pacifier
                    
}
                
}
                
give_technology = { tech = tech_se_global_pacifier message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_se_neutron_sweep
                    
}
                    
NOT = {
                        
has_technology= tech_se_neutron_sweep
                    
}
                
}
                
give_technology = { tech = tech_se_neutron_sweep message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_se_divine_enforcer
                    
}
                    
NOT = {
                        
has_technology= tech_se_divine_enforcer
                    
}
                
}
                
give_technology = { tech = tech_se_divine_enforcer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_se_nanobot_diffuser
                    
}
                    
NOT = {
                        
has_technology= tech_se_nanobot_diffuser
                    
}
                
}
                
give_technology = { tech = tech_se_nanobot_diffuser message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_reinforced_starbase_se
                    
}
                    
NOT = {
                        
has_technology= tech_reinforced_starbase_se
                    
}
                
}
                
give_technology = { tech = tech_reinforced_starbase_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_bombardment_se
                    
}
                    
NOT = {
                        
has_technology= tech_bombardment_se
                    
}
                
}
                
give_technology = { tech = tech_bombardment_se message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_generation
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_generation
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_generation message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= OR
                    
}
                    
NOT = {
                        
has_technology= OR
                    
}
                
}
                
give_technology = { tech = OR message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_container
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_container
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_container message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= OR
                    
}
                    
NOT = {
                        
has_technology= OR
                    
}
                
}
                
give_technology = { tech = OR message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_dark_matter_strategy
                    
}
                    
NOT = {
                        
has_technology= tech_dark_matter_strategy
                    
}
                
}
                
give_technology = { tech = tech_dark_matter_strategy message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= any_owned_leader
                    
}
                    
NOT = {
                        
has_technology= any_owned_leader
                    
}
                
}
                
give_technology = { tech = any_owned_leader message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= OR
                    
}
                    
NOT = {
                        
has_technology= OR
                    
}
                
}
                
give_technology = { tech = OR message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_moon_specialization
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_moon_specialization
                    
}
                
}
                
give_technology = { tech = giga_tech_war_moon_specialization message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_matrioshka_brain_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_matrioshka_brain_2
                    
}
                
}
                
give_technology = { tech = giga_tech_matrioshka_brain_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_4
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_birch_world_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_birch_world_4
                    
}
                
}
                
give_technology = { tech = giga_tech_birch_world_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_tetradimensional_engineering
                    
}
                    
NOT = {
                        
has_technology= giga_tech_tetradimensional_engineering
                    
}
                
}
                
give_technology = { tech = giga_tech_tetradimensional_engineering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_2
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_3
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_4
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_particle_accelerator
                    
}
                    
NOT = {
                        
has_technology= giga_tech_particle_accelerator
                    
}
                
}
                
give_technology = { tech = giga_tech_particle_accelerator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_fusion_suppressor
                    
}
                    
NOT = {
                        
has_technology= giga_tech_fusion_suppressor
                    
}
                
}
                
give_technology = { tech = giga_tech_fusion_suppressor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ndb_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ndb_1
                    
}
                
}
                
give_technology = { tech = giga_tech_ndb_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ndb_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ndb_2
                    
}
                
}
                
give_technology = { tech = giga_tech_ndb_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ndb_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ndb_3
                    
}
                
}
                
give_technology = { tech = giga_tech_ndb_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ndb_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ndb_4
                    
}
                
}
                
give_technology = { tech = giga_tech_ndb_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_kugelblitz
                    
}
                    
NOT = {
                        
has_technology= giga_tech_kugelblitz
                    
}
                
}
                
give_technology = { tech = giga_tech_kugelblitz message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_substellar_compressor
                    
}
                    
NOT = {
                        
has_technology= giga_tech_substellar_compressor
                    
}
                
}
                
give_technology = { tech = giga_tech_substellar_compressor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_penrose_sphere_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_penrose_sphere_1
                    
}
                
}
                
give_technology = { tech = giga_tech_penrose_sphere_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_penrose_sphere_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_penrose_sphere_2
                    
}
                
}
                
give_technology = { tech = giga_tech_penrose_sphere_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_titanic_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_titanic_1
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_titanic_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_terraform_gas
                    
}
                    
NOT = {
                        
has_technology= giga_tech_terraform_gas
                    
}
                
}
                
give_technology = { tech = giga_tech_terraform_gas message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_disco_moon
                    
}
                    
NOT = {
                        
has_technology= giga_tech_disco_moon
                    
}
                
}
                
give_technology = { tech = giga_tech_disco_moon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_5
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_5
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_6
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_6
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_6 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_2
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_3
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_5
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_5
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_lunar_assembly
                    
}
                    
NOT = {
                        
has_technology= giga_tech_lunar_assembly
                    
}
                
}
                
give_technology = { tech = giga_tech_lunar_assembly message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planet_assembly
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planet_assembly
                    
}
                
}
                
give_technology = { tech = giga_tech_planet_assembly message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_dyson_o_star
                    
}
                    
NOT = {
                        
has_technology= giga_tech_dyson_o_star
                    
}
                
}
                
give_technology = { tech = giga_tech_dyson_o_star message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_lifter_o_star
                    
}
                    
NOT = {
                        
has_technology= giga_tech_lifter_o_star
                    
}
                
}
                
give_technology = { tech = giga_tech_lifter_o_star message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_brain_o_star
                    
}
                    
NOT = {
                        
has_technology= giga_tech_brain_o_star
                    
}
                
}
                
give_technology = { tech = giga_tech_brain_o_star message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_birch_world_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_birch_world_2
                    
}
                
}
                
give_technology = { tech = giga_tech_birch_world_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_elysium
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_elysium
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_elysium message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_buildings
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_buildings
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_buildings message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_artificial_eco
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_artificial_eco
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_artificial_eco message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_yggdrasil_orchid
                    
}
                    
NOT = {
                        
has_technology= giga_tech_yggdrasil_orchid
                    
}
                
}
                
give_technology = { tech = giga_tech_yggdrasil_orchid message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_terraform_barren
                    
}
                    
NOT = {
                        
has_technology= giga_tech_terraform_barren
                    
}
                
}
                
give_technology = { tech = giga_tech_terraform_barren message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_terraform_toxic
                    
}
                    
NOT = {
                        
has_technology= giga_tech_terraform_toxic
                    
}
                
}
                
give_technology = { tech = giga_tech_terraform_toxic message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_terraform_molten
                    
}
                    
NOT = {
                        
has_technology= giga_tech_terraform_molten
                    
}
                
}
                
give_technology = { tech = giga_tech_terraform_molten message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_terraform_shattered
                    
}
                    
NOT = {
                        
has_technology= giga_tech_terraform_shattered
                    
}
                
}
                
give_technology = { tech = giga_tech_terraform_shattered message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planetary_computer
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planetary_computer
                    
}
                
}
                
give_technology = { tech = giga_tech_planetary_computer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_stellar_ring_habitat
                    
}
                    
NOT = {
                        
has_technology= giga_tech_stellar_ring_habitat
                    
}
                
}
                
give_technology = { tech = giga_tech_stellar_ring_habitat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_hypersiphon_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_hypersiphon_1
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_hypersiphon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_hypersiphon_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_hypersiphon_2
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_hypersiphon_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_hypersiphon_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_hypersiphon_3
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_hypersiphon_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_hypersiphon_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_hypersiphon_4
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_hypersiphon_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_hypersiphon_5
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_hypersiphon_5
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_hypersiphon_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_automated_stripmine_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_automated_stripmine_1
                    
}
                
}
                
give_technology = { tech = giga_tech_automated_stripmine_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_manufactory
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_manufactory
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_manufactory message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_automated_stripmine_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_automated_stripmine_2
                    
}
                
}
                
give_technology = { tech = giga_tech_automated_stripmine_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_star_lifter
                    
}
                    
NOT = {
                        
has_technology= giga_tech_star_lifter
                    
}
                
}
                
give_technology = { tech = giga_tech_star_lifter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_crystal_megabore
                    
}
                    
NOT = {
                        
has_technology= giga_tech_crystal_megabore
                    
}
                
}
                
give_technology = { tech = giga_tech_crystal_megabore message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_hyperstructural_ass
                    
}
                    
NOT = {
                        
has_technology= giga_tech_hyperstructural_ass
                    
}
                
}
                
give_technology = { tech = giga_tech_hyperstructural_ass message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_equatorial_shipyard
                    
}
                    
NOT = {
                        
has_technology= giga_tech_equatorial_shipyard
                    
}
                
}
                
give_technology = { tech = giga_tech_equatorial_shipyard message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_nidavellir
                    
}
                    
NOT = {
                        
has_technology= giga_tech_nidavellir
                    
}
                
}
                
give_technology = { tech = giga_tech_nidavellir message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_birch_world_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_birch_world_3
                    
}
                
}
                
give_technology = { tech = giga_tech_birch_world_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_engineering_test_site
                    
}
                    
NOT = {
                        
has_technology= giga_tech_engineering_test_site
                    
}
                
}
                
give_technology = { tech = giga_tech_engineering_test_site message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_neutronium_gigaforge
                    
}
                    
NOT = {
                        
has_technology= giga_tech_neutronium_gigaforge
                    
}
                
}
                
give_technology = { tech = giga_tech_neutronium_gigaforge message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_penrose_sphere_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_penrose_sphere_3
                    
}
                
}
                
give_technology = { tech = giga_tech_penrose_sphere_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_titanic_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_titanic_2
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_titanic_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_gargantuan_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_gargantuan_1
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_gargantuan_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_gargantuan_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_gargantuan_2
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_gargantuan_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_elysium
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_elysium
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_elysium message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_bastion
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_bastion
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_bastion message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_interstellar_habitat
                    
}
                    
NOT = {
                        
has_technology= giga_tech_interstellar_habitat
                    
}
                
}
                
give_technology = { tech = giga_tech_interstellar_habitat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_interstellar_ringworld
                    
}
                    
NOT = {
                        
has_technology= giga_tech_interstellar_ringworld
                    
}
                
}
                
give_technology = { tech = giga_tech_interstellar_ringworld message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_moon_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_moon_1
                    
}
                
}
                
give_technology = { tech = giga_tech_war_moon_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_moon_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_moon_2
                    
}
                
}
                
give_technology = { tech = giga_tech_war_moon_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_moon_artillery
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_moon_artillery
                    
}
                
}
                
give_technology = { tech = giga_tech_war_moon_artillery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_moon_sections
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_moon_sections
                    
}
                
}
                
give_technology = { tech = giga_tech_war_moon_sections message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_planet
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_planet
                    
}
                
}
                
give_technology = { tech = giga_tech_war_planet message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_arcologies
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_arcologies
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_arcologies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_enhance_orbital_arcologies
                    
}
                    
NOT = {
                        
has_technology= giga_tech_enhance_orbital_arcologies
                    
}
                
}
                
give_technology = { tech = giga_tech_enhance_orbital_arcologies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_maximize_orbital_arcologies
                    
}
                    
NOT = {
                        
has_technology= giga_tech_maximize_orbital_arcologies
                    
}
                
}
                
give_technology = { tech = giga_tech_maximize_orbital_arcologies message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_succ
                    
}
                    
NOT = {
                        
has_technology= giga_tech_succ
                    
}
                
}
                
give_technology = { tech = giga_tech_succ message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_6
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_6
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_6 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_hull_booster
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_hull_booster
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_hull_booster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planetary_matter_harvesting
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planetary_matter_harvesting
                    
}
                
}
                
give_technology = { tech = giga_tech_planetary_matter_harvesting message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planetary_drive_yard
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planetary_drive_yard
                    
}
                
}
                
give_technology = { tech = giga_tech_planetary_drive_yard message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planetary_drive_yard_defense
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planetary_drive_yard_defense
                    
}
                
}
                
give_technology = { tech = giga_tech_planetary_drive_yard_defense message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_planetary_drive_yard_shipyard
                    
}
                    
NOT = {
                        
has_technology= giga_tech_planetary_drive_yard_shipyard
                    
}
                
}
                
give_technology = { tech = giga_tech_planetary_drive_yard_shipyard message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_orbital_ring_strategic_resources
                    
}
                    
NOT = {
                        
has_technology= giga_tech_orbital_ring_strategic_resources
                    
}
                
}
                
give_technology = { tech = giga_tech_orbital_ring_strategic_resources message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_repeatable_dimensional_storage
                    
}
                    
NOT = {
                        
has_technology= giga_tech_repeatable_dimensional_storage
                    
}
                
}
                
give_technology = { tech = giga_tech_repeatable_dimensional_storage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_repeatable_reduced_mega_building_time
                    
}
                    
NOT = {
                        
has_technology= giga_tech_repeatable_reduced_mega_building_time
                    
}
                
}
                
give_technology = { tech = giga_tech_repeatable_reduced_mega_building_time message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_war_system_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_war_system_1
                    
}
                
}
                
give_technology = { tech = giga_tech_war_system_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_hrae_mc
                    
}
                    
NOT = {
                        
has_technology= giga_tech_hrae_mc
                    
}
                
}
                
give_technology = { tech = giga_tech_hrae_mc message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_matrioshka_brain_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_matrioshka_brain_1
                    
}
                
}
                
give_technology = { tech = giga_tech_matrioshka_brain_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_quasi_stellar_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_quasi_stellar_1
                    
}
                
}
                
give_technology = { tech = giga_tech_quasi_stellar_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_thaumaturgic_weaponry
                    
}
                    
NOT = {
                        
has_technology= giga_tech_thaumaturgic_weaponry
                    
}
                
}
                
give_technology = { tech = giga_tech_thaumaturgic_weaponry message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_psychic_beacon
                    
}
                    
NOT = {
                        
has_technology= giga_tech_psychic_beacon
                    
}
                
}
                
give_technology = { tech = giga_tech_psychic_beacon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_the_vat
                    
}
                    
NOT = {
                        
has_technology= giga_tech_the_vat
                    
}
                
}
                
give_technology = { tech = giga_tech_the_vat message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_birch_world_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_birch_world_1
                    
}
                
}
                
give_technology = { tech = giga_tech_birch_world_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_alderson_disk
                    
}
                    
NOT = {
                        
has_technology= giga_tech_alderson_disk
                    
}
                
}
                
give_technology = { tech = giga_tech_alderson_disk message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_ringworld_behemoth
                    
}
                    
NOT = {
                        
has_technology= giga_tech_ringworld_behemoth
                    
}
                
}
                
give_technology = { tech = giga_tech_ringworld_behemoth message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_event_exotic_lab_data
                    
}
                    
NOT = {
                        
has_technology= giga_tech_event_exotic_lab_data
                    
}
                
}
                
give_technology = { tech = giga_tech_event_exotic_lab_data message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_quasi_neural_net
                    
}
                    
NOT = {
                        
has_technology= tech_quasi_neural_net
                    
}
                
}
                
give_technology = { tech = tech_quasi_neural_net message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_event_pouchkinn_lifespan
                    
}
                    
NOT = {
                        
has_technology= giga_tech_event_pouchkinn_lifespan
                    
}
                
}
                
give_technology = { tech = giga_tech_event_pouchkinn_lifespan message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_scourge_deployment
                    
}
                    
NOT = {
                        
has_technology= tech_scourge_deployment
                    
}
                
}
                
give_technology = { tech = tech_scourge_deployment message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_katzen_atomic_munitions
                    
}
                    
NOT = {
                        
has_technology= tech_katzen_atomic_munitions
                    
}
                
}
                
give_technology = { tech = tech_katzen_atomic_munitions message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_event_squareworld
                    
}
                    
NOT = {
                        
has_technology= giga_tech_event_squareworld
                    
}
                
}
                
give_technology = { tech = giga_tech_event_squareworld message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_utilities
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_utilities
                    
}
                
}
                
give_technology = { tech = tech_qnm_utilities message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_1
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_1
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_2
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_2
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_3
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_3
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_4
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_4
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_5
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_5
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_6
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_6
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_6 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_sentient_tier_7
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_sentient_tier_7
                    
}
                
}
                
give_technology = { tech = tech_ehof_sentient_tier_7 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_computers
                    
}
                    
NOT = {
                        
has_technology= tech_sm_computers
                    
}
                
}
                
give_technology = { tech = tech_sm_computers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_sensors
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_sensors
                    
}
                
}
                
give_technology = { tech = tech_qnm_sensors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_armor
                    
}
                    
NOT = {
                        
has_technology= tech_sm_armor
                    
}
                
}
                
give_technology = { tech = tech_sm_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_auto_repair
                    
}
                    
NOT = {
                        
has_technology= tech_sm_auto_repair
                    
}
                
}
                
give_technology = { tech = tech_sm_auto_repair message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_shields
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_shields
                    
}
                
}
                
give_technology = { tech = tech_qnm_shields message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_thrusters
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_thrusters
                    
}
                
}
                
give_technology = { tech = tech_qnm_thrusters message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_reactors
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_reactors
                    
}
                
}
                
give_technology = { tech = tech_qnm_reactors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_jumpdrive
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_jumpdrive
                    
}
                
}
                
give_technology = { tech = tech_qnm_jumpdrive message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_flak_batteries
                    
}
                    
NOT = {
                        
has_technology= tech_sm_flak_batteries
                    
}
                
}
                
give_technology = { tech = tech_sm_flak_batteries message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_autocannons
                    
}
                    
NOT = {
                        
has_technology= tech_sm_autocannons
                    
}
                
}
                
give_technology = { tech = tech_sm_autocannons message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_mass_drivers
                    
}
                    
NOT = {
                        
has_technology= tech_sm_mass_drivers
                    
}
                
}
                
give_technology = { tech = tech_sm_mass_drivers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_kinetic_artillery
                    
}
                    
NOT = {
                        
has_technology= tech_sm_kinetic_artillery
                    
}
                
}
                
give_technology = { tech = tech_sm_kinetic_artillery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_mass_accelerator
                    
}
                    
NOT = {
                        
has_technology= tech_sm_mass_accelerator
                    
}
                
}
                
give_technology = { tech = tech_sm_mass_accelerator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_titanic
                    
}
                    
NOT = {
                        
has_technology= tech_sm_titanic
                    
}
                
}
                
give_technology = { tech = tech_sm_titanic message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_pd_tracking
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_pd_tracking
                    
}
                
}
                
give_technology = { tech = tech_qnm_pd_tracking message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_lasers
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_lasers
                    
}
                
}
                
give_technology = { tech = tech_qnm_lasers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_plasma
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_plasma
                    
}
                
}
                
give_technology = { tech = tech_qnm_plasma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_disruptors
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_disruptors
                    
}
                
}
                
give_technology = { tech = tech_qnm_disruptors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= potential
                    
}
                    
NOT = {
                        
has_technology= potential
                    
}
                
}
                
give_technology = { tech = potential message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_energy_torpedoes
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_energy_torpedoes
                    
}
                
}
                
give_technology = { tech = tech_qnm_energy_torpedoes message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_energy_lance
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_energy_lance
                    
}
                
}
                
give_technology = { tech = tech_qnm_energy_lance message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_arc_emitter
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_arc_emitter
                    
}
                
}
                
give_technology = { tech = tech_qnm_arc_emitter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_qnm_titanic
                    
}
                    
NOT = {
                        
has_technology= tech_qnm_titanic
                    
}
                
}
                
give_technology = { tech = tech_qnm_titanic message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_armor
                    
}
                    
NOT = {
                        
has_technology= tech_compound_armor
                    
}
                
}
                
give_technology = { tech = tech_compound_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_computers
                    
}
                    
NOT = {
                        
has_technology= tech_compound_computers
                    
}
                
}
                
give_technology = { tech = tech_compound_computers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_drives
                    
}
                    
NOT = {
                        
has_technology= tech_compound_drives
                    
}
                
}
                
give_technology = { tech = tech_compound_drives message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_reactors
                    
}
                    
NOT = {
                        
has_technology= tech_compound_reactors
                    
}
                
}
                
give_technology = { tech = tech_compound_reactors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_sensors
                    
}
                    
NOT = {
                        
has_technology= tech_compound_sensors
                    
}
                
}
                
give_technology = { tech = tech_compound_sensors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_shields
                    
}
                    
NOT = {
                        
has_technology= tech_compound_shields
                    
}
                
}
                
give_technology = { tech = tech_compound_shields message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_compound_thrusters
                    
}
                    
NOT = {
                        
has_technology= tech_compound_thrusters
                    
}
                
}
                
give_technology = { tech = tech_compound_thrusters message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_abstract_1
                    
}
                    
NOT = {
                        
has_technology= tech_abstract_1
                    
}
                
}
                
give_technology = { tech = tech_abstract_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_phase_01
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_phase_01
                    
}
                
}
                
give_technology = { tech = tech_ehof_phase_01 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_abstract_2
                    
}
                    
NOT = {
                        
has_technology= tech_abstract_2
                    
}
                
}
                
give_technology = { tech = tech_abstract_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_photonic_m
                    
}
                    
NOT = {
                        
has_technology= tech_photonic_m
                    
}
                
}
                
give_technology = { tech = tech_photonic_m message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_negative_pressure
                    
}
                    
NOT = {
                        
has_technology= tech_negative_pressure
                    
}
                
}
                
give_technology = { tech = tech_negative_pressure message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_phase_02
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_phase_02
                    
}
                
}
                
give_technology = { tech = tech_ehof_phase_02 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_abstract_3
                    
}
                    
NOT = {
                        
has_technology= tech_abstract_3
                    
}
                
}
                
give_technology = { tech = tech_abstract_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_u_r_e_t
                    
}
                    
NOT = {
                        
has_technology= tech_u_r_e_t
                    
}
                
}
                
give_technology = { tech = tech_u_r_e_t message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_negative_e_s
                    
}
                    
NOT = {
                        
has_technology= tech_negative_e_s
                    
}
                
}
                
give_technology = { tech = tech_negative_e_s message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ssn_det
                    
}
                    
NOT = {
                        
has_technology= tech_ssn_det
                    
}
                
}
                
give_technology = { tech = tech_ssn_det message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hardlight_c_u
                    
}
                    
NOT = {
                        
has_technology= tech_hardlight_c_u
                    
}
                
}
                
give_technology = { tech = tech_hardlight_c_u message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nm_utilization_1
                    
}
                    
NOT = {
                        
has_technology= tech_nm_utilization_1
                    
}
                
}
                
give_technology = { tech = tech_nm_utilization_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_phase_03
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_phase_03
                    
}
                
}
                
give_technology = { tech = tech_ehof_phase_03 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_abstract_4
                    
}
                    
NOT = {
                        
has_technology= tech_abstract_4
                    
}
                
}
                
give_technology = { tech = tech_abstract_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_non_local_r_i
                    
}
                    
NOT = {
                        
has_technology= tech_non_local_r_i
                    
}
                
}
                
give_technology = { tech = tech_non_local_r_i message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_nm_utilization_2
                    
}
                    
NOT = {
                        
has_technology= tech_nm_utilization_2
                    
}
                
}
                
give_technology = { tech = tech_nm_utilization_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_prob_c
                    
}
                    
NOT = {
                        
has_technology= tech_prob_c
                    
}
                
}
                
give_technology = { tech = tech_prob_c message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_condensed_ews
                    
}
                    
NOT = {
                        
has_technology= tech_condensed_ews
                    
}
                
}
                
give_technology = { tech = tech_condensed_ews message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_ehof_phase_04
                    
}
                    
NOT = {
                        
has_technology= tech_ehof_phase_04
                    
}
                
}
                
give_technology = { tech = tech_ehof_phase_04 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_sm_megastructure
                    
}
                    
NOT = {
                        
has_technology= tech_sm_megastructure
                    
}
                
}
                
give_technology = { tech = tech_sm_megastructure message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_power_plant_1
                    
}
                    
NOT = {
                        
has_technology= tech_giga_power_plant_1
                    
}
                
}
                
give_technology = { tech = tech_giga_power_plant_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_power_plant_2
                    
}
                    
NOT = {
                        
has_technology= tech_giga_power_plant_2
                    
}
                
}
                
give_technology = { tech = tech_giga_power_plant_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_power_plant_3
                    
}
                    
NOT = {
                        
has_technology= tech_giga_power_plant_3
                    
}
                
}
                
give_technology = { tech = tech_giga_power_plant_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_l_conductor
                    
}
                    
NOT = {
                        
has_technology= tech_l_conductor
                    
}
                
}
                
give_technology = { tech = tech_l_conductor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_hyperlane_p_t
                    
}
                    
NOT = {
                        
has_technology= tech_hyperlane_p_t
                    
}
                
}
                
give_technology = { tech = tech_hyperlane_p_t message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_field_e_e_t
                    
}
                    
NOT = {
                        
has_technology= tech_field_e_e_t
                    
}
                
}
                
give_technology = { tech = tech_field_e_e_t message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_planetary_shield_generator_1
                    
}
                    
NOT = {
                        
has_technology= tech_giga_planetary_shield_generator_1
                    
}
                
}
                
give_technology = { tech = tech_giga_planetary_shield_generator_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_giga_planetary_shield_generator_2
                    
}
                    
NOT = {
                        
has_technology= tech_giga_planetary_shield_generator_2
                    
}
                
}
                
give_technology = { tech = tech_giga_planetary_shield_generator_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_field_e_e_t
                    
}
                    
NOT = {
                        
has_technology= tech_field_e_e_t
                    
}
                
}
                
give_technology = { tech = tech_field_e_e_t message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_proton_d_e
                    
}
                    
NOT = {
                        
has_technology= tech_proton_d_e
                    
}
                
}
                
give_technology = { tech = tech_proton_d_e message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_non_local_r_i
                    
}
                    
NOT = {
                        
has_technology= tech_non_local_r_i
                    
}
                
}
                
give_technology = { tech = tech_non_local_r_i message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_kaiser_moon
                    
}
                    
NOT = {
                        
has_technology= giga_tech_kaiser_moon
                    
}
                
}
                
give_technology = { tech = giga_tech_kaiser_moon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_stellarite_kaiser_moon
                    
}
                    
NOT = {
                        
has_technology= giga_tech_stellarite_kaiser_moon
                    
}
                
}
                
give_technology = { tech = giga_tech_stellarite_kaiser_moon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_repeatable_increased_katzen_damage
                    
}
                    
NOT = {
                        
has_technology= giga_tech_repeatable_increased_katzen_damage
                    
}
                
}
                
give_technology = { tech = giga_tech_repeatable_increased_katzen_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_katzen_panzers
                    
}
                    
NOT = {
                        
has_technology= giga_tech_katzen_panzers
                    
}
                
}
                
give_technology = { tech = giga_tech_katzen_panzers message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_aeternite_weaponry
                    
}
                    
NOT = {
                        
has_technology= giga_tech_aeternite_weaponry
                    
}
                
}
                
give_technology = { tech = giga_tech_aeternite_weaponry message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_aeternite_planetcraft
                    
}
                    
NOT = {
                        
has_technology= giga_tech_aeternite_planetcraft
                    
}
                
}
                
give_technology = { tech = giga_tech_aeternite_planetcraft message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_aeternite_armor
                    
}
                    
NOT = {
                        
has_technology= giga_tech_aeternite_armor
                    
}
                
}
                
give_technology = { tech = giga_tech_aeternite_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_artillery
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_artillery
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_artillery message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_artillery_pen_shots
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_artillery_pen_shots
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_artillery_pen_shots message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_artillery_health_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_artillery_health_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_artillery_health_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_artillery_damage_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_artillery_damage_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_artillery_damage_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_asteroid_artillery_planetcraft_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_asteroid_artillery_planetcraft_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_asteroid_artillery_planetcraft_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_repeatable_asteroid_artillery_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_repeatable_asteroid_artillery_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_repeatable_asteroid_artillery_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_sociology_study
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_sociology_study
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_sociology_study message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_society_repeatable
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_society_repeatable
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_society_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_dimension_study
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_dimension_study
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_dimension_study message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_physics_repeatable
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_physics_repeatable
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_physics_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_armor_study
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_armor_study
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_armor_study message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_engineering_repeatable
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_engineering_repeatable
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_engineering_repeatable message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_scrap_uses
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_scrap_uses
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_scrap_uses message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_scrap_research
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_scrap_research
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_scrap_research message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_scrap_damage
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_scrap_damage
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_scrap_damage message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_laser
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_laser
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_laser message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_missile
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_missile
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_missile message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_strikecraft
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_strikecraft
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_strikecraft message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_armor
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_armor
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_armor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_shield
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_shield
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_shield message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_pd
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_pd
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_pd message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_plasma
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_plasma
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_plasma message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_emitter
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_emitter
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_emitter message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_obliterator
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_obliterator
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_obliterator message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_booster
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_booster
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_booster message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_afterburner
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_afterburner
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_afterburner message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_hullrepair
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_hullrepair
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_hullrepair message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_ftl
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_ftl
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_ftl message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_reactor
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_reactor
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_reactor message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_computer
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_computer
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_computer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_sensors
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_sensors
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_sensors message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_mega_stage_0
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_mega_stage_0
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_mega_stage_0 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_mega_stage_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_mega_stage_1
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_mega_stage_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_mega_stage_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_mega_stage_2
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_mega_stage_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_mega_stage_3
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_mega_stage_3
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_mega_stage_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_mega_stage_4
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_mega_stage_4
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_mega_stage_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_snare
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_snare
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_snare message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_reprogram
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_reprogram
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_reprogram message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_history
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_history
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_history message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_timetravel
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_timetravel
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_timetravel message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_fix_systems
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_fix_systems
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_fix_systems message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_translate_blokkatese
                    
}
                    
NOT = {
                        
has_technology= giga_tech_translate_blokkatese
                    
}
                
}
                
give_technology = { tech = giga_tech_translate_blokkatese message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_energy_transfer
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_energy_transfer
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_energy_transfer message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_intergalactic_logistics
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_intergalactic_logistics
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_intergalactic_logistics message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_subplanck_engineering
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_subplanck_engineering
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_subplanck_engineering message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_blokkwork_power_node
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_blokkwork_power_node
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_blokkwork_power_node message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_gigarelay_frame
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_gigarelay_frame
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_gigarelay_frame message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_blokkat_gigarelay_core
                    
}
                    
NOT = {
                        
has_technology= giga_tech_blokkat_gigarelay_core
                    
}
                
}
                
give_technology = { tech = giga_tech_blokkat_gigarelay_core message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_capacity_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_capacity_1
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_capacity_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_production_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_production_1
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_production_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_damage_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_damage_1
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_damage_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_capacity_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_capacity_2
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_capacity_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_damage_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_damage_2
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_damage_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_defense_nexus_production_2
                    
}
                    
NOT = {
                        
has_technology= giga_tech_defense_nexus_production_2
                    
}
                
}
                
give_technology = { tech = giga_tech_defense_nexus_production_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_repeatable_defense_nexus_capacity_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_repeatable_defense_nexus_capacity_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_repeatable_defense_nexus_capacity_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_maginot_world
                    
}
                    
NOT = {
                        
has_technology= giga_tech_maginot_world
                    
}
                
}
                
give_technology = { tech = giga_tech_maginot_world message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_maginot_firepower_1
                    
}
                    
NOT = {
                        
has_technology= giga_tech_maginot_firepower_1
                    
}
                
}
                
give_technology = { tech = giga_tech_maginot_firepower_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_maginot_planetcraft_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_maginot_planetcraft_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_maginot_planetcraft_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_maginot_systemcraft_upgrade
                    
}
                    
NOT = {
                        
has_technology= giga_tech_maginot_systemcraft_upgrade
                    
}
                
}
                
give_technology = { tech = giga_tech_maginot_systemcraft_upgrade message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_harvest_1
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_harvest_1
                    
}
                
}
                
give_technology = { tech = tech_frameworld_harvest_1 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_harvest_2
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_harvest_2
                    
}
                
}
                
give_technology = { tech = tech_frameworld_harvest_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_harvest_3
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_harvest_3
                    
}
                
}
                
give_technology = { tech = tech_frameworld_harvest_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_defensive_station_2
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_defensive_station_2
                    
}
                
}
                
give_technology = { tech = tech_frameworld_defensive_station_2 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_defensive_station_3
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_defensive_station_3
                    
}
                
}
                
give_technology = { tech = tech_frameworld_defensive_station_3 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_defensive_station_4
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_defensive_station_4
                    
}
                
}
                
give_technology = { tech = tech_frameworld_defensive_station_4 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_defensive_station_5
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_defensive_station_5
                    
}
                
}
                
give_technology = { tech = tech_frameworld_defensive_station_5 message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= tech_frameworld_repeatable_outpost_output
                    
}
                    
NOT = {
                        
has_technology= tech_frameworld_repeatable_outpost_output
                    
}
                
}
                
give_technology = { tech = tech_frameworld_repeatable_outpost_output message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_supertensiles
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_supertensiles
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_supertensiles message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_living_metal_infusion
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_living_metal_infusion
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_living_metal_infusion message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_sentient_metal_molecular_foundries
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_sentient_metal_molecular_foundries
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_sentient_metal_molecular_foundries message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_supertensiles_acot_delta
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_supertensiles_acot_delta
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_supertensiles_acot_delta message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_supertensiles_acot_alpha
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_supertensiles_acot_alpha
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_supertensiles_acot_alpha message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_supertensiles_acot_phanon
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_supertensiles_acot_phanon
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_supertensiles_acot_phanon message = no }
            
}
            


            if = {
                
limit = {
                    
FROM = {
                        
has_technology= giga_tech_amb_supertensiles_acot_sigma
                    
}
                    
NOT = {
                        
has_technology= giga_tech_amb_supertensiles_acot_sigma
                    
}
                
}
                
give_technology = { tech = giga_tech_amb_supertensiles_acot_sigma message = no }
            
}

      #above this paste generated code

}

