require "Insurgent/InsurgentTraitDefinitions"

ElectronicsSpecialistTrait = CreateInsurgentTrait()
ElectronicsSpecialistTrait.name = "ElectronicsSpecialist"
ElectronicsSpecialistTrait.insurgentExclusive = true

function ElectronicsSpecialistTrait.Create()
    local electronicsspecialist = TraitFactory.addTrait("ElectronicsSpecialist", getText("UI_trait_ElectronicsSpecialist"), 4, getText("UI_trait_ElectronicsSpecialistDesc"), false, false);
	electronicsspecialist:addXPBoost(Perks.Electricity, 3);
	electronicsspecialist:addXPBoost(Perks.Mechanics, 2);
	electronicsspecialist:getFreeRecipes():add("Generator");
    electronicsspecialist:getFreeRecipes():add("Make Remote Controller V1");
    electronicsspecialist:getFreeRecipes():add("Make Remote Controller V2");
    electronicsspecialist:getFreeRecipes():add("Make Remote Controller V3");
    electronicsspecialist:getFreeRecipes():add("Make Remote Trigger");
    electronicsspecialist:getFreeRecipes():add("Make Timer");
    electronicsspecialist:getFreeRecipes():add("Make Noise generator");
	electronicsspecialist:getFreeRecipes():add("Craft Makeshift Radio");
    electronicsspecialist:getFreeRecipes():add("Craft Makeshift HAM Radio");
    electronicsspecialist:getFreeRecipes():add("Craft Makeshift Walkie Talkie");
    return electronicsspecialist;
end
