2016-12-22 16:56:15 +01:00
|
|
|
//Augmentations
|
|
|
|
function Augmentation(name) {
|
2017-02-17 23:19:25 +01:00
|
|
|
this.name = name;
|
2017-02-08 23:50:22 +01:00
|
|
|
this.info = "";
|
2017-02-17 23:19:25 +01:00
|
|
|
this.owned = false; //Whether the player has it (you can only have each augmentation once)
|
|
|
|
this.factionInstalledBy = ""; //Which faction the Player got this from
|
|
|
|
|
|
|
|
//Price and reputation base requirements (can change based on faction multipliers)
|
|
|
|
this.baseRepRequirement = 0;
|
|
|
|
this.baseCost = 0;
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
2017-02-27 23:14:11 +01:00
|
|
|
Augmentation.prototype.setInfo = function(inf) {
|
2017-02-17 23:19:25 +01:00
|
|
|
this.info = inf;
|
|
|
|
}
|
|
|
|
|
2017-02-27 23:14:11 +01:00
|
|
|
Augmentation.prototype.setRequirements = function(rep, cost) {
|
2017-02-17 23:19:25 +01:00
|
|
|
this.baseRepRequirement = rep;
|
|
|
|
this.baseCost = cost;
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
2017-02-09 19:35:28 +01:00
|
|
|
|
|
|
|
//Takes in an array of faction names and adds this augmentation to all of those factions
|
2017-02-27 23:14:11 +01:00
|
|
|
Augmentation.prototype.addToFactions = function(factionList) {
|
2017-02-17 23:19:25 +01:00
|
|
|
for (var i = 0; i < factionList.length; ++i) {
|
|
|
|
var faction = Factions[factionList[i]];
|
2017-02-27 23:14:11 +01:00
|
|
|
if (faction == null) {
|
|
|
|
console.log("Error: Could not find faction with this name:" + factionList[i]);
|
2017-04-19 21:19:33 +02:00
|
|
|
continue;
|
2017-02-17 23:19:25 +01:00
|
|
|
}
|
|
|
|
faction.augmentations.push(this.name);
|
|
|
|
}
|
2017-02-09 19:35:28 +01:00
|
|
|
}
|
|
|
|
|
2016-12-22 16:56:15 +01:00
|
|
|
Augmentation.prototype.toJSON = function() {
|
2017-02-17 23:19:25 +01:00
|
|
|
return Generic_toJSON("Augmentation", this);
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
Augmentation.fromJSON = function(value) {
|
2017-02-17 23:19:25 +01:00
|
|
|
return Generic_fromJSON(Augmentation, value.data);
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
Reviver.constructors.Augmentation = Augmentation;
|
|
|
|
|
|
|
|
Augmentations = {}
|
|
|
|
|
|
|
|
AddToAugmentations = function(aug) {
|
2017-02-17 23:19:25 +01:00
|
|
|
var name = aug.name;
|
|
|
|
Augmentations[name] = aug;
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
2016-12-22 17:19:02 +01:00
|
|
|
//TODO Something that decreases RAM usage of scripts
|
2016-12-22 16:56:15 +01:00
|
|
|
initAugmentations = function() {
|
2017-02-17 23:19:25 +01:00
|
|
|
//Combat stat augmentations
|
|
|
|
var Targeting1 = new Augmentation("Augmented Targeting I");
|
|
|
|
Targeting1.setRequirements(36000, 10000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
Targeting1.setInfo("This cranial implant is embedded within the player's inner ear structure and optic nerves. It regulates and enhances the user's" +
|
|
|
|
"balance and hand-eye coordination. It is also capable of augmenting reality by projecting digital information\n" +
|
|
|
|
"directly onto the retina. These enhancements allow the player to better lock-on and keep track of enemies. \n\n" +
|
|
|
|
"This augmentation increases the player's dexterity by 10%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
Targeting1.addToFactions(["The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting1);
|
|
|
|
|
|
|
|
var Targeting2 = new Augmentation("Augmented Targeting II");
|
|
|
|
Targeting2.setRequirements(72000, 20000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
Targeting2.setInfo("This is an upgrade of the Augmented Targeting I cranial implant, which is capable of augmenting reality\n" +
|
|
|
|
"and enhances the user's balance and hand-eye coordination. \n\nThis upgrade increases the player's dexterity" +
|
|
|
|
"by an additional 20%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
Targeting2.addToFactions(["The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting2);
|
|
|
|
|
|
|
|
var Targeting3 = new Augmentation("Augmented Targeting III");
|
|
|
|
Targeting3.setRequirements(144000, 50000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
Targeting3.setInfo("This is an upgrade of the Augmented Targeting II cranial implant, which is capable of augmenting reality\n" +
|
|
|
|
"and enhances the user's balance and hand-eye coordination. \n\nThis upgrade increases the player's dexterity" +
|
|
|
|
"by an additional 50%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
Targeting3.addToFactions(["The Dark Army", "The Syndicate", "OmniTek Incorporated",
|
|
|
|
"KuaiGong International", "Blade Industries", "The Covenant"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting3);
|
|
|
|
|
|
|
|
var SyntheticHeart = new Augmentation("Synthetic Heart");
|
|
|
|
SyntheticHeart.setRequirements(1000000, 500000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
SyntheticHeart.setInfo("This advanced artificial heart, created from plasteel and graphene, is capable of pumping more blood\n" +
|
|
|
|
"at much higher efficiencies than a normal human heart.\n\n This augmentation increases the player's agility" +
|
|
|
|
"and strength by 100%");
|
2017-02-27 23:14:11 +01:00
|
|
|
SyntheticHeart.addToFactions(["KuaiGong International", "Fulcrum Secret Technologies", "Speakers for the Dead",
|
|
|
|
"NWO", "The Covenant", "Daedalus", "Illuminati"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SyntheticHeart);
|
|
|
|
|
|
|
|
var SynfibrilMuscle = new Augmentation("Synfibril Muscle");
|
|
|
|
SynfibrilMuscle.setRequirements(900000, 400000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
SynfibrilMuscle.setInfo("The myofibrils in human muscles are injected with special chemicals that react with the proteins inside\n" +
|
|
|
|
"the myofibrils, altering their underlying structure. The end result is muscles that are stronger and more elastic.\n" +
|
|
|
|
"Scientists have named these artificially enhanced units 'synfibrils'.\n\n This augmentation increases the player's" +
|
|
|
|
"strength and defense by 50%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SynfibrilMuscle.addToFactions(["KuaiGong International", "Fulcrum Secret Technologies", "Speakers for the Dead",
|
|
|
|
"NWO", "The Covenant", "Daedalus", "Illuminati", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SynfibrilMuscle)
|
|
|
|
|
|
|
|
var CombatRib1 = new Augmentation("Combat Rib I");
|
|
|
|
CombatRib1.setRequirements(50000, 15000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
CombatRib1.setInfo("The human body's ribs are replaced with artificial ribs that automatically and continuously release cognitive" +
|
|
|
|
"and performance-enhancing drugs into the bloodstream, improving the user's abilities in combat.\n\n" +
|
|
|
|
"This augmentation increases the player's strength and defense by 10%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
CombatRib1.addToFactions(["The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib1);
|
|
|
|
|
|
|
|
var CombatRib2 = new Augmentation("Combat Rib II");
|
2017-02-27 23:14:11 +01:00
|
|
|
CombatRib2.setRequirements(100000, 40000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
CombatRib2.setInfo("This is an upgrade to the Combat Rib I augmentation, and is capable of releasing even more potent combat-enhancing\n" +
|
|
|
|
"drugs into the bloodstream\n\n. This upgrade increases the player's strength and defense by an additional 20%.")
|
2017-02-27 23:14:11 +01:00
|
|
|
CombatRib2.addToFactions(["The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib2);
|
|
|
|
|
|
|
|
var CombatRib3 = new Augmentation("Combat Rib III");
|
|
|
|
CombatRib3.setRequirements(200000, 100000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
CombatRib3.setInfo("This is an upgrade to the Combat Rib II augmentation, and is capable of releasing even more potent combat-enhancing\n" +
|
|
|
|
"drugs into the bloodstream\n\n. This upgrade increases the player's strength and defense by an additional 30%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
CombatRib3.addToFactions(["The Dark Army", "The Syndicate", "OmniTek Incorporated",
|
|
|
|
"KuaiGong International", "Blade Industries", "The Covenant"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib3);
|
|
|
|
|
|
|
|
var NanofiberWeave = new Augmentation("Nanofiber Weave");
|
|
|
|
NanofiberWeave.setRequirements(400000, 250000000);
|
2017-02-21 23:11:59 +01:00
|
|
|
NanofiberWeave.setInfo("Synthetic nanofibers are woven into the skin's extracellular matrix using electrospinning.\n" +
|
|
|
|
"This improves the skin's ability to regenerate itself and protect the body from external stresses and forces.\n\n" +
|
|
|
|
"This augmentation increases the player's strength and defense by 30%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
NanofiberWeave.addToFactions(["Tian Di Hui", "The Syndicate", "The Dark Army", "Speakers for the Dead",
|
|
|
|
"Blade Industries", "Fulcrum Secret Technologies", "OmniTek Incorporated"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(NanofiberWeave);
|
|
|
|
|
|
|
|
var SubdermalArmor = new Augmentation("NEMEAN Subdermal Weave");
|
|
|
|
SubdermalArmor.setRequirements(1000000, 750000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
SubdermalArmor.setInfo("The NEMEAN Subdermal Weave is a thin, light-weight, graphene plating that houses a dilatant fluid.\n" +
|
2017-02-21 23:23:42 +01:00
|
|
|
"The material is implanted underneath the skin, and is the most advanced form of defensive enhancement\n" +
|
|
|
|
"that has ever been created. The dilatant fluid, despite being thin and light, is extremely effective\n" +
|
|
|
|
"at stopping piercing blows and reducing blunt trauma. The properties of graphene allow the plating to\n" +
|
|
|
|
"mitigate damage from any fire-related or electrical traumas.\n\n" +
|
|
|
|
"This augmentation increases the player's defense by 150%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SubdermalArmor.addToFactions(["The Syndicate", "Fulcrum Secret Technologies", "Illuminati", "Daedalus",
|
|
|
|
"The Covenant"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SubdermalArmor);
|
|
|
|
|
|
|
|
var WiredReflexes = new Augmentation("Wired Reflexes");
|
|
|
|
WiredReflexes.setRequirements(36000, 10000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
WiredReflexes.setInfo("Synthetic nerve-enhancements are injected into all major parts of the somatic nervous system,\n" +
|
|
|
|
"supercharging the body's ability to send signals through neurons. This results in increased reflex speed.\n\n" +
|
|
|
|
"This augmentation increases the player's agility by 5%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
WiredReflexes.addToFactions(["Tian Di Hui", "Sector-12", "Volhaven", "Aevum", "Ishima",
|
|
|
|
"The Syndicate", "The Dark Army", "Speakers for the Dead"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(WiredReflexes);
|
|
|
|
|
|
|
|
var GrapheneBoneLacings = new Augmentation("Graphene Bone Lacings");
|
|
|
|
GrapheneBoneLacings.setRequirements(1500000, 1000000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
GrapheneBoneLacings.setInfo("A graphene-based material is grafted and fused into the user's bones, significantly increasing\n" +
|
|
|
|
"their density and tensile strength.\n\n" +
|
|
|
|
"This augmentation increases the player's strength and defense by 100%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBoneLacings.addToFactions(["Fulcrum Secret Technologies", "The Covenant"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(GrapheneBoneLacings);
|
|
|
|
|
|
|
|
var BionicSpine = new Augmentation("Bionic Spine");
|
|
|
|
BionicSpine.setRequirements(250000, 75000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
BionicSpine.setInfo("An artificial spine created from plasteel and carbon fibers that completely replaces the organic spine.\n" +
|
|
|
|
"Not only is the Bionic Spine physically stronger than a human spine, but it is also capable of digitally\n" +
|
|
|
|
"stimulating and regulating the neural signals that are sent and received by the spinal cord. This results in\n" +
|
|
|
|
"greatly improved senses and reaction speeds.\n\n" +
|
|
|
|
"This augmentation increases all of the player's combat stats by 20%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
BionicSpine.addToFactions(["Speakers for the Dead", "The Syndicate", "KuaiGong International",
|
|
|
|
"OmniTek Incorporated", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(BionicSpine);
|
|
|
|
|
|
|
|
var GrapheneBionicSpine = new Augmentation("Graphene Bionic Spine Upgrade");
|
|
|
|
GrapheneBionicSpine.setRequirements(1200000, 1000000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
GrapheneBionicSpine.setInfo("An upgrade to the Bionic Spine augmentation. It fuses the implant with an advanced graphene\n" +
|
|
|
|
"material to make it much stronger and lighter.\n\n" +
|
|
|
|
"This augmentation increases all of the player's combat stats by 100%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBionicSpine.addToFactions(["Fulcrum Secret Technologies", "ECorp"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(GrapheneBionicSpine);
|
2017-02-08 23:50:22 +01:00
|
|
|
|
|
|
|
var BionicLegs = new Augmentation("Bionic Legs");
|
2017-02-17 23:19:25 +01:00
|
|
|
BionicLegs.setRequirements(200000, 60000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
BionicLegs.setInfo("Cybernetic legs created from plasteel and carbon fibers that completely replace the user's organic legs. \n\n" +
|
|
|
|
"This augmentation increases the player's agility by 50%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
BionicLegs.addToFactions(["Speakers for the Dead", "The Syndicate", "KuaiGong International",
|
|
|
|
"OmniTek Incorporated", "Blade Industries"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(BionicLegs);
|
|
|
|
|
2017-02-09 19:35:28 +01:00
|
|
|
var GrapheneBionicLegs = new Augmentation("Graphene Bionic Legs Upgrade");
|
2017-02-17 23:19:25 +01:00
|
|
|
GrapheneBionicLegs.setRequirements(1000000, 900000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
GrapheneBionicLegs.setInfo("An upgrade to the Bionic Legs augmentation. It fuses the implant with an advanced graphene\n" +
|
|
|
|
"material to make it much stronger and lighter\n\n" +
|
|
|
|
"This augmentation increases the player's agility by an additional 150%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBionicLegs.addToFactions(["MegaCorp", "ECorp", "Fulcrum Secret Technologies"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(GrapheneBionicLegs);
|
2017-02-17 23:19:25 +01:00
|
|
|
|
|
|
|
//Labor stat augmentations
|
|
|
|
var SpeechProcessor = new Augmentation("Speech Processor Implant"); //Cochlear imlant?
|
|
|
|
SpeechProcessor.setRequirements(50000, 15000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
SpeechProcessor.setInfo("A cochlear implant with an embedded computer that analyzes incoming speech.\n" +
|
|
|
|
"The embedded computer processes characteristics of incoming speech, such as tone\n" +
|
|
|
|
"and inflection, to pick up on subtle cues and aid in social interaction.\n\n" +
|
|
|
|
"This augmentation increases the player's charisma by 20%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SpeechProcessor.addToFactions(["Tian Di Hui", "Chongqing", "Sector-12", "New Tokyo", "Aevum",
|
|
|
|
"Ishima", "Volhaven"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SpeechProcessor);
|
|
|
|
|
2017-04-21 21:06:41 +02:00
|
|
|
TITN41Injection = new Augmentation("TITN-41 Gene-Modification Injection");
|
|
|
|
TITN41Injection.setRequirements(150000, 75000000);
|
|
|
|
TITN41Injection.setInfo("TITN is a series of viruses that targets and alters the sequences of human DNA in genes that \n" +
|
|
|
|
"control personality. The TITN-41 strain alters these genes so that the subject becomes more \n " +
|
|
|
|
"outgoing and socialable. \n\n" +
|
|
|
|
"This augmentation increases the player's charisma and charisma experience gain rate by 15%");
|
|
|
|
TITN41Injection.addToFactions(["Silhouette"]);
|
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
var EnhancedSocialInteractionImplant = new Augmentation("Enhanced Social Interaction Implant");
|
|
|
|
EnhancedSocialInteractionImplant.setRequirements(750000, 500000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
EnhancedSocialInteractionImplant.setInfo("A cranial implant that greatly assists in the user's ability to analyze social situations\n" +
|
|
|
|
"and interactions. The system uses a wide variety of factors such as facial expression, body\n" +
|
|
|
|
"language, and the voice's tone/inflection to determine the best course of action during social\n" +
|
|
|
|
"situations. The implant also uses deep learning software to continuously learn new behavior\n" +
|
|
|
|
"patterns and how to best respond.\n\n" +
|
|
|
|
"This augmentation increases the player's charisma and charisma experience gain rate by 50%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
EnhancedSocialInteractionImplant.addToFactions(["Bachman & Associates", "NWO", "Clarke Incorporated",
|
|
|
|
"OmniTek Incorporated", "Four Sigma"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(EnhancedSocialInteractionImplant);
|
|
|
|
|
|
|
|
//Hacking augmentations
|
|
|
|
var ArtificialBioNeuralNetwork = new Augmentation("Artificial Bio-neural Network Implant");
|
|
|
|
ArtificialBioNeuralNetwork.setRequirements(750000, 600000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
ArtificialBioNeuralNetwork.setInfo("A network consisting of millions of nanoprocessors is embedded into the brain. \n" +
|
|
|
|
"The network is meant to mimick the way a biological brain solves a problem, which each\n" +
|
|
|
|
"nanoprocessor acting similar to the way a neuron would in a neural network. However, these\n" +
|
|
|
|
"nanoprocessors are programmed to perform computations much faster than organic neurons,\n" +
|
|
|
|
"allowing its user to solve much more complex problems at a much faster rate.\n\n" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's hacking speed by 2%\n" +
|
|
|
|
"Increases the amount of money the player's gains from hacking by 10%\n" +
|
|
|
|
"Inreases the player's hacking skill by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ArtificialBioNeuralNetwork.addToFactions(["BitRunners", "Fulcrum Secret Technologies"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ArtificialBioNeuralNetwork);
|
|
|
|
|
|
|
|
var ArtificialSynapticPotentiation = new Augmentation("Artificial Synaptic Potentiation");
|
|
|
|
ArtificialSynapticPotentiation.setRequirements(600000, 400000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
ArtificialSynapticPotentiation.setInfo("The body is injected with a chemical that artificially induces synaptic potentiation,\n" +
|
|
|
|
"otherwise known as the strengthening of synapses. This results in a enhanced cognitive abilities.\n\n" +
|
|
|
|
"This augmentation increases the player's hacking speed and hacking chance by 1%.");
|
|
|
|
ArtificialSynapticPotentiation.addToFactions(["The Black Hand", "NiteSec"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ArtificialSynapticPotentiation);
|
2017-02-08 23:50:22 +01:00
|
|
|
|
2017-02-20 23:06:16 +01:00
|
|
|
var EnhancedMyelinSheathing = new Augmentation("Enhanced Myelin Sheathing");
|
2017-02-27 23:14:11 +01:00
|
|
|
EnhancedMyelinSheathing.setRequirements(900000, 850000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
EnhancedMyelinSheathing.setInfo("Electrical signals are used to induce a new, artificial form of myelinogensis in the human body.\n" +
|
|
|
|
"This process results in the proliferation of new, synthetic myelin sheaths in the nervous\n" +
|
|
|
|
"system. These myelin sheaths can propogate neuro-signals much faster than their organic\n" +
|
|
|
|
"counterparts, leading to greater processing speeds and better brain function.\n\n" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's hacking speed by 1%\n" +
|
|
|
|
"Increases the player's hacking skill by 5%\n" +
|
|
|
|
"Increases the player's hacking experience gain rate by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
EnhancedMyelinSheathing.addToFactions(["Fulcrum Secret Technologies", "BitRunners", "The Black Hand"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(EnhancedMyelinSheathing);
|
2017-02-17 23:19:25 +01:00
|
|
|
|
|
|
|
var SynapticEnhancement = new Augmentation("Synaptic Enhancement Implant");
|
2017-04-22 10:41:49 +02:00
|
|
|
SynapticEnhancement.setRequirements(50000, 10000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
SynapticEnhancement.setInfo("A small cranial implant that continuously uses weak electric signals to stimulate the brain and \n" +
|
|
|
|
"induce stronger synaptic activity. This improves the the user's cognitive abilities.\n\n" +
|
|
|
|
"This augmentation increases the player's hacking speed by 1%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SynapticEnhancement.addToFactions(["CyberSec"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SynapticEnhancement);
|
|
|
|
|
|
|
|
var NeuralRetentionEnhancement = new Augmentation("Neural-Retention Enhancement");
|
|
|
|
NeuralRetentionEnhancement.setRequirements(200000, 250000000);
|
2017-02-22 23:07:55 +01:00
|
|
|
NeuralRetentionEnhancement.setInfo("Chemical injections are used to permanently alter and strengthen the brain's neuronal\n" +
|
|
|
|
"circuits, strengthening its ability to retain information.\n\n" +
|
|
|
|
"This augmentation increases the player's hacking experience gain rate by 40%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
NeuralRetentionEnhancement.addToFactions(["CyberSec", "NiteSec"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(NeuralRetentionEnhancement);
|
|
|
|
|
|
|
|
var DataJack = new Augmentation("DataJack");
|
2017-02-20 23:06:16 +01:00
|
|
|
DataJack.setRequirements(750000, 75000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
DataJack.setInfo("A brain implant that provides an interface for direct, wireless communication between a computer's main\n" +
|
|
|
|
"memory and the mind. This implant allows the user to not only access a computer's memory, but also alter\n" +
|
|
|
|
"and delete it.\n\n" +
|
|
|
|
"This augmentation increases the amount of money the player gains from hacking by 20%");
|
|
|
|
DataJack.addToFactions(["BitRunners", "The Black Hand", "NiteSec", "Chongqing", "New Tokyo"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(DataJack);
|
|
|
|
|
|
|
|
var ENM = new Augmentation("Embedded Netburner Module");
|
|
|
|
ENM.setRequirements(500000, 300000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
ENM.setInfo("A thin device embedded inside the arm containing a wireless module capable of connecting\n" +
|
|
|
|
"to nearby networks. Once connected, the Netburner Module is capable of capturing and\n" +
|
|
|
|
"processing all of the traffic on that network. By itself, the Embedded Netburner Module does\n" +
|
|
|
|
"not do much, but a variety of very powerful upgrades can be installed that allow you to fully\n" +
|
|
|
|
"control the traffic on a network.\n\n" +
|
|
|
|
"This augmentation increases the player's hacking skill by 1%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENM.addToFactions(["BitRunners", "The Black Hand", "NiteSec", "ECorp", "MegaCorp",
|
|
|
|
"Fulcrum Secret Technologies", "NWO", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENM);
|
|
|
|
|
|
|
|
var ENMCore = new Augmentation("Embedded Netburner Module Core Implant");
|
|
|
|
ENMCore.setRequirements(750000, 500000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
ENMCore.setInfo("The Core library is an implant that upgrades the firmware of the Embedded Netburner Module.\n" +
|
|
|
|
"This upgrade allows the Embedded Netburner Module to generate its own data on a network.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's hacking speed by 2%\n" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 10%\n" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 2%\n" +
|
|
|
|
"Increases the player's hacking experience gain rate by 10%\n" +
|
|
|
|
"Increases the player's hacking skill by 1%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENMCore.addToFactions(["BitRunners", "The Black Hand", "NiteSec", "ECorp", "MegaCorp",
|
|
|
|
"Fulcrum Secret Technologies", "NWO", "Blade Industries"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCore);
|
|
|
|
|
|
|
|
var ENMCoreV2 = new Augmentation("Embedded Netburner Module Core V2 Upgrade");
|
|
|
|
ENMCoreV2.setRequirements(1000000, 1000000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
ENMCoreV2.setInfo("The Core V2 library is an implant that upgrades the firmware of the Embedded Netburner Module.\n" +
|
|
|
|
"This upgraded firmware allows the Embedded Netburner Module to control the information on\n" +
|
|
|
|
"a network by re-routing traffic, spoofing IP addresses, or altering the data inside network\n" +
|
|
|
|
"packets.\n\n" +
|
|
|
|
"This augmentation: \n" +
|
|
|
|
"Increases the player's hacking speed by 5%\n" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 50%\n" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 5%\n" +
|
|
|
|
"Increases the player's hacking experience gain rate by 50%\n" +
|
|
|
|
"Increases the player's hacking skill by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENMCoreV2.addToFactions(["ECorp", "MegaCorp", "Fulcrum Secret Technologies", "NWO",
|
|
|
|
"Blade Industries", "OmniTek Incorporated", "KuaiGong International"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCoreV2);
|
|
|
|
|
|
|
|
var ENMCoreV3 = new Augmentation("Embedded Netburner Module Core V3 Upgrade");
|
2017-02-23 22:41:20 +01:00
|
|
|
ENMCoreV3.setRequirements(1500000, 1250000000);
|
|
|
|
ENMCoreV3.setInfo("The Core V3 library is an implant that upgrades the firmware of the Embedded Netburner Module.\n" +
|
|
|
|
"This upgraded firmware allows the Embedded Netburner Module to seamlessly inject code into\n" +
|
|
|
|
"any device on a network.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's hacking speed by 5%\n" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 50%\n" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 10%\n" +
|
|
|
|
"Increases the player's hacking experience gain rate by 100%\n" +
|
|
|
|
"Increases the player's hacking skill by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENMCoreV3.addToFactions(["ECorp", "MegaCorp", "Fulcrum Secret Technologies", "NWO",
|
|
|
|
"Daedalus", "The Covenant", "Illuminati"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCoreV3);
|
|
|
|
|
|
|
|
var ENMAnalyzeEngine = new Augmentation("Embedded Netburner Module Analyze Engine");
|
2017-02-23 22:41:20 +01:00
|
|
|
ENMAnalyzeEngine.setRequirements(1250000, 1000000000);
|
|
|
|
ENMAnalyzeEngine.setInfo("Installs the Analyze Engine for the Embedded Netburner Module, which is a CPU cluster\n" +
|
|
|
|
"that vastly outperforms the Netburner Module's native single-core processor.\n\n" +
|
|
|
|
"This augmentation increases the player's hacking speed by 10%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENMAnalyzeEngine.addToFactions(["ECorp", "MegaCorp", "Fulcrum Secret Technologies", "NWO",
|
|
|
|
"Daedalus", "The Covenant", "Illuminati"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMAnalyzeEngine);
|
|
|
|
|
|
|
|
var ENMDMA = new Augmentation("Embedded Netburner Module Direct Memory Access Upgrade");
|
2017-02-23 22:41:20 +01:00
|
|
|
ENMDMA.setRequirements(1350000, 1100000000);
|
|
|
|
ENMDMA.setInfo("This implant installs a Direct Memory Access (DMA) controller into the\n" +
|
|
|
|
"Embedded Netburner Module. This allows the Module to send and receive data\n" +
|
|
|
|
"directly to and from the main memory of devices on a network.\n\n" +
|
|
|
|
"This augmentation: \n" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 50%\n" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 20%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ENMDMA.addToFactions(["ECorp", "MegaCorp", "Fulcrum Secret Technologies", "NWO",
|
|
|
|
"Daedalus", "The Covenant", "Illuminati"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMDMA);
|
|
|
|
|
|
|
|
var Neuralstimulator = new Augmentation("Neuralstimulator");
|
2017-02-23 22:41:20 +01:00
|
|
|
Neuralstimulator.setRequirements(500000, 600000000);
|
|
|
|
Neuralstimulator.setInfo("A cranial implant that intelligently stimulates certain areas of the brain \n" +
|
|
|
|
"in order to improve cognitive functions\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's hacking speed by 1%\n" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 10%\n" +
|
|
|
|
"Increases the player's hacking experience gain rate by 20%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neuralstimulator.addToFactions(["The Black Hand", "Chongqing", "Sector-12", "New Tokyo", "Aevum",
|
2017-02-17 23:19:25 +01:00
|
|
|
"Ishima", "Volhaven", "Bachman & Associates", "Clarke Incorporated",
|
2017-02-27 23:14:11 +01:00
|
|
|
"Four Sigma"]);
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Neuralstimulator);
|
|
|
|
|
2017-02-08 23:50:22 +01:00
|
|
|
//Work Augmentations
|
|
|
|
var NuoptimalInjectorImplant = new Augmentation("Nuoptimal Nootropic Injector Implant");
|
2017-02-23 22:41:20 +01:00
|
|
|
NuoptimalInjectorImplant.setRequirements(100000, 90000000);
|
|
|
|
NuoptimalInjectorImplant.setInfo("This torso implant automatically injects nootropic supplements into\n" +
|
|
|
|
"the bloodstream to improve memory, increase focus, and provide other\n" +
|
|
|
|
"cognitive enhancements.\n\n" +
|
|
|
|
"This augmentation increases the amount of reputation the player gains \n" +
|
|
|
|
"when working for a company by 10%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
NuoptimalInjectorImplant.addToFactions(["Tian Di Hui", "Volhaven", "New Tokyo", "Chongqing", "Ishima",
|
|
|
|
"Clarke Incorporated", "Four Sigma", "Bachman & Associates"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(NuoptimalInjectorImplant);
|
|
|
|
|
|
|
|
var SpeechEnhancement = new Augmentation("Speech Enhancement");
|
2017-02-23 22:41:20 +01:00
|
|
|
SpeechEnhancement.setRequirements(50000, 45000000);
|
|
|
|
SpeechEnhancement.setInfo("An advanced neural implant that improves your speaking abilities, making\n" +
|
|
|
|
"you more convincing and likable in conversations and overall improving your\n" +
|
|
|
|
"social interactions.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the player's charisma by 5%\n" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
SpeechEnhancement.addToFactions(["Tian Di Hui", "Speakers for the Dead", "Four Sigma", "KuaiGong International",
|
|
|
|
"Clarke Incorporated", "Four Sigma", "Bachman & Associates"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(SpeechEnhancement);
|
|
|
|
|
|
|
|
var FocusWire = new Augmentation("FocusWire"); //Stops procrastination
|
2017-02-23 22:41:20 +01:00
|
|
|
FocusWire.setRequirements(400000, 350000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
FocusWire.setInfo("A cranial implant that stops procrastination by blocking specific neural pathways\n" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"in the brain.\n\n" +
|
|
|
|
"This augmentation: \n" +
|
|
|
|
"Increases all experience gains by 10%\n" +
|
|
|
|
"Increases the amount of money the player gains from working by 5%\n" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
FocusWire.addToFactions(["Bachman & Associates", "Clarke Incorporated", "Four Sigma", "KuaiGong International"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(FocusWire)
|
|
|
|
|
|
|
|
var PCDNI = new Augmentation("PC Direct-Neural Interface");
|
2017-02-23 22:41:20 +01:00
|
|
|
PCDNI.setRequirements(750000, 650000000);
|
|
|
|
PCDNI.setInfo("Installs a Direct-Neural Interface jack into your arm that is compatible with most\n" +
|
|
|
|
"computers. Connecting to a computer through this jack allows you to interface with\n" +
|
|
|
|
"it using the brain's electrochemical signals.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 10%\n" +
|
|
|
|
"Increases the player's hacking skill by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNI.addToFactions(["Four Sigma", "OmniTek Incorporated", "ECorp", "Blade Industries"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(PCDNI);
|
|
|
|
|
|
|
|
var PCDNIOptimizer = new Augmentation("PC Direct-Neural Interface Optimization Submodule");
|
2017-02-23 22:41:20 +01:00
|
|
|
PCDNIOptimizer.setRequirements(1000000, 875000000);
|
|
|
|
PCDNIOptimizer.setInfo("This is a submodule upgrade to the PC Direct-Neural Interface augmentation. It\n" +
|
|
|
|
"improves the performance of the interface and gives the user more control options\n" +
|
|
|
|
"to the connected computer.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 20%\n" +
|
|
|
|
"Increases the player's hacking skill by 20%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNIOptimizer.addToFactions(["Fulcrum Secret Technologies", "ECorp", "Blade Industries"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(PCDNIOptimizer);
|
2017-02-17 23:19:25 +01:00
|
|
|
|
|
|
|
var PCDNINeuralNetwork = new Augmentation("PC Direct-Neural Interface NeuroNet Injector");
|
|
|
|
PCDNINeuralNetwork.setRequirements(1200000, 1100000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
PCDNINeuralNetwork.setInfo("This is an additional installation that upgrades the functionality of the \n" +
|
|
|
|
"PC Direct-Neural Interface augmentation. When connected to a computer,\n" +
|
|
|
|
"The NeuroNet Injector upgrade allows the user to use his/her own brain's\n" +
|
|
|
|
"processing power to aid the computer in computational tasks.\n\n" +
|
|
|
|
"This augmentation:\n" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 10%\n" +
|
|
|
|
"Increases the player's hacking skill by 10%\n" +
|
|
|
|
"Increases the player's hacking speed by 2%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNINeuralNetwork.addToFactions(["Fulcrum Secret Technologies"]);
|
2017-02-09 19:35:28 +01:00
|
|
|
AddToAugmentations(PCDNINeuralNetwork);
|
2017-02-08 23:50:22 +01:00
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
//Misc augmentations
|
2017-02-08 23:50:22 +01:00
|
|
|
var Neurotrainer1 = new Augmentation("Neurotrainer I");
|
2017-04-24 03:43:41 +02:00
|
|
|
Neurotrainer1.setRequirements(40000, 10000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
Neurotrainer1.setInfo("A decentralized cranial implant that improves the brain's ability to learn. It is\n" +
|
2017-02-27 23:14:11 +01:00
|
|
|
"installed by releasing millions of nanobots into the human brain, each of which\n" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"attaches to a different neural pathway to enhance the brain's ability to retain\n" +
|
|
|
|
"and retrieve information.\n\n" +
|
|
|
|
"This augmentation increases the player's experience gain rate for all stats by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neurotrainer1.addToFactions(["CyberSec"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer1);
|
|
|
|
|
|
|
|
var Neurotrainer2 = new Augmentation("Neurotrainer II");
|
2017-02-17 23:19:25 +01:00
|
|
|
Neurotrainer2.setRequirements(300000, 150000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
Neurotrainer2.setInfo("A decentralized cranial implant that improves the brain's ability to learn. This\n" +
|
|
|
|
"is a more powerful version of the Neurotrainer I augmentation, but it does not\n" +
|
|
|
|
"require Neurotrainer I to be installed as a prerequisite.\n\n" +
|
|
|
|
"This augmentation increases the player's experience gain rate for all stats by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neurotrainer2.addToFactions(["BitRunners", "NiteSec"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer2);
|
|
|
|
|
|
|
|
var Neurotrainer3 = new Augmentation("Neurotrainer III");
|
2017-02-17 23:19:25 +01:00
|
|
|
Neurotrainer3.setRequirements(900000, 725000000);
|
2017-02-23 22:41:20 +01:00
|
|
|
Neurotrainer3.setInfo("A decentralized cranial implant that improves the brain's ability to learn. This\n" +
|
|
|
|
"is a more powerful version of the Neurotrainer I and Neurotrainer II augmentation,\n" +
|
|
|
|
"but it does not require either of them to be installed as a prerequisite.\n\n" +
|
|
|
|
"This augmentation increases the player's experience gain rate for all stats by 20%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neurotrainer3.addToFactions(["NWO", "Four Sigma"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer3);
|
|
|
|
|
|
|
|
var Hypersight = new Augmentation("HyperSight Corneal Implant");
|
2017-02-27 23:14:11 +01:00
|
|
|
Hypersight.setInfo("A bionic eye implant that grants sight capabilities far beyond those of a natural human.\n" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"Embedded circuitry within the implant provides the ability to detect heat and movement\n" +
|
|
|
|
"through solid objects such as wells, thus providing 'x-ray vision'-like capabilities.\n\n" +
|
|
|
|
"This augmentation: \n" +
|
|
|
|
"Increases the player's dexterity by 50%\n" +
|
|
|
|
"Increases the player's hacking speed by 1%" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 10%");
|
2017-02-17 23:19:25 +01:00
|
|
|
Hypersight.setRequirements(800000, 650000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
Hypersight.addToFactions(["Blade Industries", "KuaiGong International"]);
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Hypersight);
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
applyAugmentation = function(aug, faction) {
|
2017-04-11 22:42:06 +02:00
|
|
|
if (aug.owned) {
|
|
|
|
throw new Error("This Augmentation is already owned/applied...somethings wrong");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
switch(aug.name) {
|
|
|
|
//Combat stat augmentations
|
|
|
|
case "Augmented Targeting I":
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.dexterity_mult *= 1.1;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
case "Augmented Targeting II":
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.dexterity_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
case "Augmented Targeting III":
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.dexterity_mult *= 1.5;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Synthetic Heart": //High level
|
|
|
|
Player.agility_mult *= 2.0;
|
|
|
|
Player.strength_mult *= 2.0;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Synfibril Muscle": //Medium-high level
|
|
|
|
Player.strength_mult *= 1.5;
|
|
|
|
Player.defense_mult *= 1.5;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
case "Combat Rib I":
|
|
|
|
//Str and Defense 5%
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.strength_mult *= 1.1;
|
|
|
|
Player.defense_mult *= 1.1;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
case "Combat Rib II":
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.strength_mult *= 1.2;
|
|
|
|
Player.defense_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
case "Combat Rib III":
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.strength_mult *= 1.3;
|
|
|
|
Player.defense_mult *= 1.3;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Nanofiber Weave": //Med level
|
|
|
|
Player.strength_mult *= 1.3;
|
|
|
|
Player.defense_mult *= 1.3;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "NEMEAN Subdermal Weave": //High level
|
|
|
|
Player.defense_mult *= 2.5;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Wired Reflexes": //Low level
|
|
|
|
Player.agility_mult *= 1.05;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Graphene Bone Lacings": //High level
|
|
|
|
Player.strength_mult *= 2;
|
|
|
|
Player.defense_mult *= 2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Bionic Spine": //Med level
|
|
|
|
Player.strength_mult *= 1.2;
|
|
|
|
Player.defense_mult *= 1.2;
|
|
|
|
Player.agility_mult *= 1.2;
|
|
|
|
Player.dexterity_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Graphene Bionic Spine Upgrade": //High level
|
|
|
|
Player.strength_mult *= 2;
|
|
|
|
Player.defense_mult *= 2;
|
|
|
|
Player.agility_mult *= 2;
|
|
|
|
Player.dexterity_mult *= 2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Bionic Legs": //Med level
|
|
|
|
Player.agility_mult *= 1.5;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Graphene Bionic Legs Upgrade": //High level
|
|
|
|
player.agility_mult *= 3.0;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
//Labor stats augmentations
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Enhanced Social Interaction Implant": //Med-high level
|
|
|
|
Player.charisma_mult *= 1.5;
|
|
|
|
Player.charisma_exp_mult *= 1.5;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Speech Processor Implant": //Med level
|
|
|
|
Player.charisma_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2016-12-22 16:56:15 +01:00
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
//Hacking augmentations
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Artificial Bio-neural Network Implant": //Med level
|
|
|
|
Player.hacking_speed_mult *= .98;
|
|
|
|
Player.hacking_money_mult *= 1.1;
|
|
|
|
Player.hacking_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case "Artificial Synaptic Potentiation": //Med level
|
|
|
|
Player.hacking_speed_mult *= .99;
|
|
|
|
Player.hacking_chance_mult *= 1.01;
|
|
|
|
break;
|
|
|
|
case "Enhanced Myelin Sheathing": //Med level
|
|
|
|
Player.hacking_speed_mult *= .99;
|
|
|
|
Player.hacking_exp_mult *= 1.05;
|
|
|
|
Player.hacking_mult *= 1.05;
|
|
|
|
break;
|
|
|
|
case "Synaptic Enhancement Implant": //Low Level
|
|
|
|
Player.hacking_speed_mult *= .99;
|
|
|
|
break;
|
|
|
|
case "Neural-Retention Enhancement": //Med level
|
|
|
|
Player.hacking_exp_mult *= 1.4;
|
|
|
|
break;
|
|
|
|
case "DataJack": //Med low level
|
|
|
|
Player.hacking_money_mult *= 1.2;
|
|
|
|
break;
|
|
|
|
case "Embedded Netburner Module": //Medium level
|
|
|
|
Player.hacking_mult *= 1.01;
|
|
|
|
break;
|
|
|
|
case "Embedded Netburner Module Core Implant": //Medium level
|
|
|
|
Player.hacking_speed_mult *= .98;
|
|
|
|
Player.hacking_money_mult *= 1.1;
|
|
|
|
Player.hacking_chance_mult *= 1.02;
|
|
|
|
Player.hacking_exp_mult *= 1.1;
|
|
|
|
Player.hacking_mult *= 1.01;
|
|
|
|
break;
|
|
|
|
case "Embedded Netburner Module Core V2 Upgrade": //Medium high level
|
|
|
|
Player.hacking_speed_mult *= .95;
|
|
|
|
Player.hacking_money_mult *= 1.5;
|
|
|
|
Player.hacking_chance_mult *= 1.05;
|
|
|
|
Player.hacking_exp_mult *= 1.5;
|
|
|
|
Player.hacking_mult *= 1.05;
|
|
|
|
break;
|
|
|
|
case "Embedded Netburner Module Core V3 Upgrade": //High level
|
|
|
|
Player.hacking_speed_mult *= .95;
|
|
|
|
Player.hacking_money_mult *= 1.5;
|
|
|
|
Player.hacking_chance_mult *= 1.1;
|
|
|
|
Player.hacking_exp_mult *= 2.0;
|
|
|
|
Player.hacking_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case "Embedded Netburner Module Analyze Engine": //High level
|
2017-02-17 23:19:25 +01:00
|
|
|
//Hacking speed 20% - High level
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_speed_mult *= 0.9;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Embedded Netburner Module Direct Memory Access Upgrade": //High level
|
2017-02-17 23:19:25 +01:00
|
|
|
//Money hacked 20% - High level
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_money_mult *= 1.5;
|
|
|
|
Player.hacking_chance_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Neuralstimulator": //Medium Level
|
|
|
|
Player.hacking_speed_mult *= .99;
|
|
|
|
Player.hacking_chance_mult *= 1.1;
|
|
|
|
Player.hacking_exp_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
|
2017-02-08 23:50:22 +01:00
|
|
|
//Work augmentations
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Nuoptimal Nootropic Injector Implant": //Low medium level
|
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case "Speech Enhancement": //Low level
|
|
|
|
Player.company_rep_mult *= 1.05;
|
|
|
|
Player.charisma_mult *= 1.05;
|
|
|
|
break;
|
|
|
|
case "FocusWire": //Med level
|
|
|
|
Player.hacking_exp_mult *= 1.1;
|
|
|
|
Player.strength_exp_mult *= 1.1;
|
|
|
|
Player.defense_exp_mult *= 1.1;
|
|
|
|
Player.dexterity_exp_mult *= 1.1;
|
|
|
|
Player.agility_exp_mult *= 1.1;
|
|
|
|
Player.charisma_exp_mult *= 1.1;
|
|
|
|
Player.company_rep_mult *= 1.05;
|
|
|
|
Player.work_money_mult *= 1.05;
|
|
|
|
break;
|
|
|
|
case "PC Direct-Neural Interface": //Med level
|
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
Player.hacking_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case "PC Direct-Neural Interface Optimization Submodule": //High level
|
2017-02-08 23:50:22 +01:00
|
|
|
//Allows u to better optimize code/pc when connecting with PC DNI..helps with software/IT jobs
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.company_rep_mult *= 1.2;
|
|
|
|
Player.hacking_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
case "PC Direct-Neural Interface NeuroNet Injector": //High level
|
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
Player.hacking_mult *= 1.1;
|
|
|
|
Player.hacking_speed_mult *= .98;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
//Misc augmentations
|
2017-02-20 23:06:16 +01:00
|
|
|
case "Neurotrainer I": //Low Level
|
|
|
|
Player.hacking_exp_mult *= 1.05;
|
|
|
|
Player.strength_exp_mult *= 1.05;
|
|
|
|
Player.defense_exp_mult *= 1.05;
|
|
|
|
Player.dexterity_exp_mult *= 1.05;
|
|
|
|
Player.agility_exp_mult *= 1.05;
|
|
|
|
this.charisma_exp_mult *= 1.05;
|
|
|
|
break;
|
|
|
|
case "Neurotrainer II": //Medium level
|
|
|
|
Player.hacking_exp_mult *= 1.1;
|
|
|
|
Player.strength_exp_mult *= 1.1;
|
|
|
|
Player.defense_exp_mult *= 1.1;
|
|
|
|
Player.dexterity_exp_mult *= 1.1;
|
|
|
|
Player.agility_exp_mult *= 1.1;
|
|
|
|
Player.charisma_exp_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case "Neurotrainer III": //High Level
|
|
|
|
Player.hacking_exp_mult *= 1.2;
|
|
|
|
Player.strength_exp_mult *= 1.2;
|
|
|
|
Player.defense_exp_mult *= 1.2;
|
|
|
|
Player.dexterity_exp_mult *= 1.2;
|
|
|
|
Player.agility_exp_mult *= 1.2;
|
|
|
|
Player.charisma_exp_mult *= 1.2;
|
|
|
|
break;
|
|
|
|
case "HyperSight Corneal Implant": //Medium high level
|
|
|
|
Player.dexterity_mult *= 1.5;
|
|
|
|
Player.hacking_speed_mult *= .99;
|
|
|
|
Player.hacking_money_mult *= 1.1;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
2017-02-17 23:19:25 +01:00
|
|
|
|
|
|
|
default:
|
|
|
|
console.log("ERROR: No such augmentation!");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
aug.owned = true;
|
|
|
|
aug.factionInstalledBy = faction.name;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.augmentations.push(aug.name);
|
|
|
|
++Player.numAugmentations;
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|