2017-08-30 19:44:29 +02:00
|
|
|
import {BitNodeMultipliers} from "./BitNode.js";
|
|
|
|
import {CONSTANTS} from "./Constants.js";
|
2017-09-29 17:02:33 +02:00
|
|
|
import {Factions, getNextNeurofluxLevel} from "./Faction.js";
|
|
|
|
import {addWorkerScript} from "./NetscriptWorker.js";
|
2017-08-30 19:44:29 +02:00
|
|
|
import {Player} from "./Player.js";
|
|
|
|
import {prestigeAugmentation} from "./Prestige.js";
|
2017-09-29 17:02:33 +02:00
|
|
|
import {Script, RunningScript} from "./Script.js";
|
|
|
|
import {Server} from "./Server.js";
|
2017-10-02 04:35:22 +02:00
|
|
|
import {dialogBoxCreate} from "../utils/DialogBox.js";
|
2017-08-30 19:44:29 +02:00
|
|
|
import {Reviver, Generic_toJSON,
|
2017-10-02 04:35:22 +02:00
|
|
|
Generic_fromJSON} from "../utils/JSONReviver.js";
|
|
|
|
import {isString} from "../utils/StringHelperFunctions.js";
|
2017-08-30 19:44:29 +02:00
|
|
|
|
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-06-26 01:39:17 +02:00
|
|
|
this.owned = false;
|
2017-02-17 23:19:25 +01:00
|
|
|
|
|
|
|
//Price and reputation base requirements (can change based on faction multipliers)
|
2017-08-13 07:01:33 +02:00
|
|
|
this.baseRepRequirement = 0;
|
2017-02-17 23:19:25 +01:00
|
|
|
this.baseCost = 0;
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 12:04:54 +02:00
|
|
|
//Level - Only applicable for some augmentations
|
|
|
|
// NeuroFlux Governor
|
2017-05-10 19:42:46 +02:00
|
|
|
this.level = 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-08-30 19:44:29 +02:00
|
|
|
this.baseRepRequirement = rep * CONSTANTS.AugmentationRepMultiplier * BitNodeMultipliers.AugmentationRepCost;
|
|
|
|
this.baseCost = cost * CONSTANTS.AugmentationCostMultiplier * BitNodeMultipliers.AugmentationMoneyCost;
|
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) {
|
2017-05-18 06:58:49 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-05-07 12:04:54 +02:00
|
|
|
Augmentation.prototype.addToAllFactions = function() {
|
|
|
|
for (var fac in Factions) {
|
|
|
|
if (Factions.hasOwnProperty(fac)) {
|
|
|
|
var facObj = Factions[fac];
|
|
|
|
if (facObj == null) {
|
|
|
|
console.log("ERROR: Invalid faction object");
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
facObj.augmentations.push(this.name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
let Augmentations = {}
|
2016-12-22 16:56:15 +01:00
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
function AddToAugmentations(aug) {
|
2017-02-17 23:19:25 +01:00
|
|
|
var name = aug.name;
|
|
|
|
Augmentations[name] = aug;
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
let AugmentationNames = {
|
2017-05-07 10:22:50 +02:00
|
|
|
Targeting1: "Augmented Targeting I",
|
|
|
|
Targeting2: "Augmented Targeting II",
|
|
|
|
Targeting3: "Augmented Targeting III",
|
|
|
|
SyntheticHeart: "Synthetic Heart",
|
|
|
|
SynfibrilMuscle: "Synfibril Muscle",
|
|
|
|
CombatRib1: "Combat Rib I",
|
|
|
|
CombatRib2: "Combat Rib II",
|
|
|
|
CombatRib3: "Combat Rib III",
|
|
|
|
NanofiberWeave: "Nanofiber Weave",
|
|
|
|
SubdermalArmor: "NEMEAN Subdermal Weave",
|
|
|
|
WiredReflexes: "Wired Reflexes",
|
|
|
|
GrapheneBoneLacings: "Graphene Bone Lacings",
|
|
|
|
BionicSpine: "Bionic Spine",
|
|
|
|
GrapheneBionicSpine: "Graphene Bionic Spine Upgrade",
|
|
|
|
BionicLegs: "Bionic Legs",
|
|
|
|
GrapheneBionicLegs: "Graphene Bionic Legs Upgrade",
|
|
|
|
SpeechProcessor: "Speech Processor Implant",
|
|
|
|
TITN41Injection: "TITN-41 Gene-Modification Injection",
|
|
|
|
EnhancedSocialInteractionImplant: "Enhanced Social Interaction Implant",
|
|
|
|
BitWire: "BitWire",
|
|
|
|
ArtificialBioNeuralNetwork: "Artificial Bio-neural Network Implant",
|
|
|
|
ArtificialSynapticPotentiation: "Artificial Synaptic Potentiation",
|
|
|
|
EnhancedMyelinSheathing: "Enhanced Myelin Sheathing",
|
|
|
|
SynapticEnhancement: "Synaptic Enhancement Implant",
|
|
|
|
NeuralRetentionEnhancement: "Neural-Retention Enhancement",
|
|
|
|
DataJack: "DataJack",
|
|
|
|
ENM: "Embedded Netburner Module",
|
|
|
|
ENMCore: "Embedded Netburner Module Core Implant",
|
|
|
|
ENMCoreV2: "Embedded Netburner Module Core V2 Upgrade",
|
|
|
|
ENMCoreV3: "Embedded Netburner Module Core V3 Upgrade",
|
|
|
|
ENMAnalyzeEngine: "Embedded Netburner Module Analyze Engine",
|
|
|
|
ENMDMA: "Embedded Netburner Module Direct Memory Access Upgrade",
|
|
|
|
Neuralstimulator: "Neuralstimulator",
|
2017-05-31 17:58:09 +02:00
|
|
|
NeuralAccelerator: "Neural Accelerator",
|
|
|
|
CranialSignalProcessorsG1: "Cranial Signal Processors - Gen I",
|
|
|
|
CranialSignalProcessorsG2: "Cranial Signal Processors - Gen II",
|
|
|
|
CranialSignalProcessorsG3: "Cranial Signal Processors - Gen III",
|
|
|
|
CranialSignalProcessorsG4: "Cranial Signal Processors - Gen IV",
|
|
|
|
CranialSignalProcessorsG5: "Cranial Signal Processors - Gen V",
|
|
|
|
NeuronalDensification: "Neuronal Densification",
|
2017-05-07 10:22:50 +02:00
|
|
|
NuoptimalInjectorImplant: "Nuoptimal Nootropic Injector Implant",
|
|
|
|
SpeechEnhancement: "Speech Enhancement",
|
|
|
|
FocusWire: "FocusWire",
|
|
|
|
PCDNI: "PC Direct-Neural Interface",
|
|
|
|
PCDNIOptimizer: "PC Direct-Neural Interface Optimization Submodule",
|
|
|
|
PCDNINeuralNetwork: "PC Direct-Neural Interface NeuroNet Injector",
|
|
|
|
ADRPheromone1: "ADR-V1 Pheromone Gene",
|
2017-10-02 04:35:22 +02:00
|
|
|
ADRPheromone2: "ADR-V2 Pheromone Gene",
|
2017-05-07 10:22:50 +02:00
|
|
|
HacknetNodeCPUUpload: "Hacknet Node CPU Architecture Neural-Upload",
|
|
|
|
HacknetNodeCacheUpload: "Hacknet Node Cache Architecture Neural-Upload",
|
|
|
|
HacknetNodeNICUpload: "HacknetNode NIC Architecture Neural-Upload",
|
|
|
|
HacknetNodeKernelDNI: "Hacknet Node Kernel Direct-Neural Interface",
|
|
|
|
HacknetNodeCoreDNI: "Hacknet Node Core Direct-Neural Interface",
|
2017-05-07 12:04:54 +02:00
|
|
|
NeuroFluxGovernor: "NeuroFlux Governor",
|
2017-05-07 10:22:50 +02:00
|
|
|
Neurotrainer1: "Neurotrainer I",
|
|
|
|
Neurotrainer2: "Neurotrainer II",
|
|
|
|
Neurotrainer3: "Neurotrainer III",
|
|
|
|
Hypersight: "HyperSight Corneal Implant",
|
2017-05-12 20:12:32 +02:00
|
|
|
LuminCloaking1: "LuminCloaking-V1 Skin Implant",
|
|
|
|
LuminCloaking2: "LuminCloaking-V2 Skin Implant",
|
|
|
|
HemoRecirculator: "HemoRecirculator",
|
2017-05-12 21:21:31 +02:00
|
|
|
SmartSonar: "SmartSonar Implant",
|
2017-05-18 06:58:49 +02:00
|
|
|
PowerRecirculator: "Power Recirculation Core",
|
|
|
|
QLink: "QLink",
|
2017-07-04 21:34:17 +02:00
|
|
|
TheRedPill: "The Red Pill",
|
2017-05-18 06:58:49 +02:00
|
|
|
SPTN97: "SPTN-97 Gene Modification",
|
|
|
|
HiveMind: "ECorp HVMind Implant",
|
|
|
|
CordiARCReactor: "CordiARC Fusion Reactor",
|
|
|
|
SmartJaw: "SmartJaw",
|
|
|
|
Neotra: "Neotra",
|
|
|
|
Xanipher: "Xanipher",
|
|
|
|
nextSENS: "nextSENS Gene Modification",
|
|
|
|
OmniTekInfoLoad: "OmniTek InfoLoad",
|
|
|
|
PhotosyntheticCells: "Photosynthetic Cells",
|
|
|
|
Neurolink: "BitRunners Neurolink",
|
|
|
|
TheBlackHand: "The Black Hand",
|
2017-05-18 20:01:18 +02:00
|
|
|
CRTX42AA: "CRTX42-AA Gene Modification",
|
2017-05-18 06:58:49 +02:00
|
|
|
Neuregen: "Neuregen Gene Modification",
|
2017-05-18 20:01:18 +02:00
|
|
|
CashRoot: "CashRoot Starter Kit",
|
2017-05-18 06:58:49 +02:00
|
|
|
NutriGen: "NutriGen Implant",
|
|
|
|
INFRARet: "INFRARET Enhancement",
|
2017-05-18 20:01:18 +02:00
|
|
|
DermaForce: "DermaForce Particle Barrier",
|
2017-05-18 06:58:49 +02:00
|
|
|
GrapheneBrachiBlades: "Graphene BranchiBlades Upgrade",
|
|
|
|
GrapheneBionicArms: "Graphene Bionic Arms Upgrade",
|
|
|
|
BrachiBlades: "BrachiBlades",
|
|
|
|
BionicArms: "Bionic Arms",
|
|
|
|
SNA: "Social Negotiation Assistant (S.N.A)"
|
2017-05-07 10:22:50 +02:00
|
|
|
}
|
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
function initAugmentations() {
|
2017-06-26 01:39:17 +02:00
|
|
|
for (var name in Factions) {
|
|
|
|
if (Factions.hasOwnProperty(name)) {
|
|
|
|
Factions[name].augmentations = [];
|
|
|
|
}
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
//Combat stat augmentations
|
2017-05-12 20:12:32 +02:00
|
|
|
var HemoRecirculator = new Augmentation(AugmentationNames.HemoRecirculator);
|
2017-08-13 07:01:33 +02:00
|
|
|
HemoRecirculator.setInfo("A heart implant that greatly increases the body's ability to effectively use and pump " +
|
2017-07-13 18:54:29 +02:00
|
|
|
"blood. <br><br> This augmentation increases all of the player's combat stats by 8%.")
|
2017-06-01 01:39:03 +02:00
|
|
|
HemoRecirculator.setRequirements(4000, 9000000);
|
2017-05-12 20:12:32 +02:00
|
|
|
HemoRecirculator.addToFactions(["Tetrads", "The Dark Army", "The Syndicate"]);
|
|
|
|
if (augmentationExists(AugmentationNames.HemoRecirculator)) {
|
|
|
|
delete Augmentations[AugmentationNames.HemoRecirculator];
|
|
|
|
}
|
|
|
|
AddToAugmentations(HemoRecirculator);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Targeting1 = new Augmentation(AugmentationNames.Targeting1);
|
2017-06-01 01:39:03 +02:00
|
|
|
Targeting1.setRequirements(2000, 3000000);
|
2017-08-13 07:01:33 +02: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 " +
|
2017-05-05 17:50:55 +02:00
|
|
|
"directly onto the retina. These enhancements allow the player to better lock-on and keep track of enemies. <br><br>" +
|
2017-07-13 18:54:29 +02:00
|
|
|
"This augmentation increases the player's dexterity by 10%.");
|
2017-05-12 20:12:32 +02:00
|
|
|
Targeting1.addToFactions(["Slum Snakes", "The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
2017-05-07 10:22:50 +02:00
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
|
|
|
if (augmentationExists(AugmentationNames.Targeting1)) {
|
|
|
|
delete Augmentations[AugmentationNames.Targeting1];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting1);
|
2017-05-07 10:22:50 +02:00
|
|
|
|
|
|
|
var Targeting2 = new Augmentation(AugmentationNames.Targeting2);
|
2017-06-01 01:39:03 +02:00
|
|
|
Targeting2.setRequirements(3500, 8500000);
|
2017-08-13 07:01:33 +02:00
|
|
|
Targeting2.setInfo("This is an upgrade of the Augmented Targeting I cranial implant, which is capable of augmenting reality " +
|
|
|
|
"and enhances the user's balance and hand-eye coordination. <br><br>This upgrade increases the player's dexterity " +
|
2017-07-13 18:54:29 +02:00
|
|
|
"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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Targeting2)) {
|
|
|
|
delete Augmentations[AugmentationNames.Targeting2];
|
2017-08-13 07:01:33 +02:00
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Targeting3 = new Augmentation(AugmentationNames.Targeting3);
|
2017-06-01 01:39:03 +02:00
|
|
|
Targeting3.setRequirements(11000, 23000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
Targeting3.setInfo("This is an upgrade of the Augmented Targeting II cranial implant, which is capable of augmenting reality " +
|
2017-05-05 17:50:55 +02:00
|
|
|
"and enhances the user's balance and hand-eye coordination. <br><br>This upgrade increases the player's dexterity " +
|
2017-07-13 18:54:29 +02:00
|
|
|
"by an additional 30%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
Targeting3.addToFactions(["The Dark Army", "The Syndicate", "OmniTek Incorporated",
|
|
|
|
"KuaiGong International", "Blade Industries", "The Covenant"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Targeting3)) {
|
|
|
|
delete Augmentations[AugmentationNames.Targeting3];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Targeting3);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var SyntheticHeart = new Augmentation(AugmentationNames.SyntheticHeart);
|
2017-06-01 01:39:03 +02:00
|
|
|
SyntheticHeart.setRequirements(300000, 575000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
SyntheticHeart.setInfo("This advanced artificial heart, created from plasteel and graphene, is capable of pumping more blood " +
|
2017-05-05 17:50:55 +02:00
|
|
|
"at much higher efficiencies than a normal human heart.<br><br> This augmentation increases the player's agility " +
|
2017-06-19 16:54:11 +02:00
|
|
|
"and strength by 50%");
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SyntheticHeart)) {
|
|
|
|
delete Augmentations[AugmentationNames.SyntheticHeart];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SyntheticHeart);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var SynfibrilMuscle = new Augmentation(AugmentationNames.SynfibrilMuscle);
|
2017-06-01 01:39:03 +02:00
|
|
|
SynfibrilMuscle.setRequirements(175000, 225000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
SynfibrilMuscle.setInfo("The myofibrils in human muscles are injected with special chemicals that react with the proteins inside " +
|
|
|
|
"the myofibrils, altering their underlying structure. The end result is muscles that are stronger and more elastic. " +
|
2017-05-05 17:50:55 +02:00
|
|
|
"Scientists have named these artificially enhanced units 'synfibrils'.<br><br> This augmentation increases the player's " +
|
2017-06-19 16:54:11 +02:00
|
|
|
"strength and defense by 35%.");
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SynfibrilMuscle)) {
|
|
|
|
delete Augmentations[AugmentationNames.SynfibrilMuscle];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SynfibrilMuscle)
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var CombatRib1 = new Augmentation(AugmentationNames.CombatRib1);
|
2017-07-13 18:54:29 +02:00
|
|
|
CombatRib1.setRequirements(3000, 4750000);
|
2017-08-13 07:01:33 +02: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.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's strength and defense by 10%.");
|
2017-05-12 20:12:32 +02:00
|
|
|
CombatRib1.addToFactions(["Slum Snakes", "The Dark Army", "The Syndicate", "Sector-12", "Volhaven", "Ishima",
|
2017-02-27 23:14:11 +01:00
|
|
|
"OmniTek Incorporated", "KuaiGong International", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.CombatRib1)) {
|
|
|
|
delete Augmentations[AugmentationNames.CombatRib1];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib1);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var CombatRib2 = new Augmentation(AugmentationNames.CombatRib2);
|
2017-07-13 18:54:29 +02:00
|
|
|
CombatRib2.setRequirements(7500, 13000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CombatRib2.setInfo("This is an upgrade to the Combat Rib I augmentation, and is capable of releasing even more potent combat-enhancing " +
|
2017-07-03 21:42:11 +02:00
|
|
|
"drugs into the bloodstream.<br><br>This upgrade increases the player's strength and defense by an additional 15%.")
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.CombatRib2)) {
|
|
|
|
delete Augmentations[AugmentationNames.CombatRib2];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var CombatRib3 = new Augmentation(AugmentationNames.CombatRib3);
|
2017-07-13 18:54:29 +02:00
|
|
|
CombatRib3.setRequirements(14000, 24000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CombatRib3.setInfo("This is an upgrade to the Combat Rib II augmentation, and is capable of releasing even more potent combat-enhancing " +
|
2017-06-19 01:23:50 +02:00
|
|
|
"drugs into the bloodstream<br><br>. This upgrade increases the player's strength and defense by an additional 20%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
CombatRib3.addToFactions(["The Dark Army", "The Syndicate", "OmniTek Incorporated",
|
|
|
|
"KuaiGong International", "Blade Industries", "The Covenant"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.CombatRib3)) {
|
|
|
|
delete Augmentations[AugmentationNames.CombatRib3];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(CombatRib3);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var NanofiberWeave = new Augmentation(AugmentationNames.NanofiberWeave);
|
2017-07-13 18:54:29 +02:00
|
|
|
NanofiberWeave.setRequirements(15000, 25000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
NanofiberWeave.setInfo("Synthetic nanofibers are woven into the skin's extracellular matrix using electrospinning. " +
|
|
|
|
"This improves the skin's ability to regenerate itself and protect the body from external stresses and forces.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's strength and defense by 25%.");
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.NanofiberWeave)) {
|
|
|
|
delete Augmentations[AugmentationNames.NanofiberWeave];
|
2017-08-13 07:01:33 +02:00
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(NanofiberWeave);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var SubdermalArmor = new Augmentation(AugmentationNames.SubdermalArmor);
|
2017-06-01 01:39:03 +02:00
|
|
|
SubdermalArmor.setRequirements(350000, 650000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
SubdermalArmor.setInfo("The NEMEAN Subdermal Weave is a thin, light-weight, graphene plating that houses a dilatant fluid. " +
|
|
|
|
"The material is implanted underneath the skin, and is the most advanced form of defensive enhancement " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"that has ever been created. The dilatant fluid, despite being thin and light, is extremely effective " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"at stopping piercing blows and reducing blunt trauma. The properties of graphene allow the plating to " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"mitigate damage from any fire-related or electrical traumas.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's defense by 125%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SubdermalArmor.addToFactions(["The Syndicate", "Fulcrum Secret Technologies", "Illuminati", "Daedalus",
|
|
|
|
"The Covenant"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SubdermalArmor)) {
|
|
|
|
delete Augmentations[AugmentationNames.SubdermalArmor];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SubdermalArmor);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var WiredReflexes = new Augmentation(AugmentationNames.WiredReflexes);
|
2017-06-01 01:39:03 +02:00
|
|
|
WiredReflexes.setRequirements(500, 500000);
|
2017-08-13 07:01:33 +02:00
|
|
|
WiredReflexes.setInfo("Synthetic nerve-enhancements are injected into all major parts of the somatic nervous system, " +
|
|
|
|
"supercharging the body's ability to send signals through neurons. This results in increased reflex speed.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's agility and dexterity by 5%.");
|
2017-08-13 07:01:33 +02:00
|
|
|
WiredReflexes.addToFactions(["Tian Di Hui", "Slum Snakes", "Sector-12", "Volhaven", "Aevum", "Ishima",
|
2017-02-27 23:14:11 +01:00
|
|
|
"The Syndicate", "The Dark Army", "Speakers for the Dead"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.WiredReflexes)) {
|
|
|
|
delete Augmentations[AugmentationNames.WiredReflexes];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(WiredReflexes);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var GrapheneBoneLacings = new Augmentation(AugmentationNames.GrapheneBoneLacings);
|
2017-06-01 01:39:03 +02:00
|
|
|
GrapheneBoneLacings.setRequirements(450000, 850000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
GrapheneBoneLacings.setInfo("A graphene-based material is grafted and fused into the user's bones, significantly increasing " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"their density and tensile strength.<br><br>" +
|
2017-07-13 18:54:29 +02:00
|
|
|
"This augmentation increases the player's strength and defense by 70%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBoneLacings.addToFactions(["Fulcrum Secret Technologies", "The Covenant"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.GrapheneBoneLacings)) {
|
|
|
|
delete Augmentations[AugmentationNames.GrapheneBoneLacings];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(GrapheneBoneLacings);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var BionicSpine = new Augmentation(AugmentationNames.BionicSpine);
|
2017-06-01 01:39:03 +02:00
|
|
|
BionicSpine.setRequirements(18000, 25000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
BionicSpine.setInfo("An artificial spine created from plasteel and carbon fibers that completely replaces the organic spine. " +
|
|
|
|
"Not only is the Bionic Spine physically stronger than a human spine, but it is also capable of digitally " +
|
|
|
|
"stimulating and regulating the neural signals that are sent and received by the spinal cord. This results in " +
|
|
|
|
"greatly improved senses and reaction speeds.<br><br>" +
|
2017-07-13 18:54:29 +02:00
|
|
|
"This augmentation increases all of the player's combat stats by 16%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
BionicSpine.addToFactions(["Speakers for the Dead", "The Syndicate", "KuaiGong International",
|
|
|
|
"OmniTek Incorporated", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.BionicSpine)) {
|
|
|
|
delete Augmentations[AugmentationNames.BionicSpine];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(BionicSpine);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var GrapheneBionicSpine = new Augmentation(AugmentationNames.GrapheneBionicSpine);
|
2017-06-01 01:39:03 +02:00
|
|
|
GrapheneBionicSpine.setRequirements(650000, 1200000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
GrapheneBionicSpine.setInfo("An upgrade to the Bionic Spine augmentation. It fuses the implant with an advanced graphene " +
|
|
|
|
"material to make it much stronger and lighter.<br><br>" +
|
2017-07-13 18:54:29 +02:00
|
|
|
"This augmentation increases all of the player's combat stats by 60%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBionicSpine.addToFactions(["Fulcrum Secret Technologies", "ECorp"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.GrapheneBionicSpine)) {
|
|
|
|
delete Augmentations[AugmentationNames.GrapheneBionicSpine];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(GrapheneBionicSpine);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var BionicLegs = new Augmentation(AugmentationNames.BionicLegs);
|
2017-06-01 01:39:03 +02:00
|
|
|
BionicLegs.setRequirements(60000, 75000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
BionicLegs.setInfo("Cybernetic legs created from plasteel and carbon fibers that completely replace the user's organic legs. <br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's agility by 60%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
BionicLegs.addToFactions(["Speakers for the Dead", "The Syndicate", "KuaiGong International",
|
|
|
|
"OmniTek Incorporated", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.BionicLegs)) {
|
|
|
|
delete Augmentations[AugmentationNames.BionicLegs];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(BionicLegs);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var GrapheneBionicLegs = new Augmentation(AugmentationNames.GrapheneBionicLegs);
|
2017-06-01 01:39:03 +02:00
|
|
|
GrapheneBionicLegs.setRequirements(300000, 900000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
GrapheneBionicLegs.setInfo("An upgrade to the Bionic Legs augmentation. It fuses the implant with an advanced graphene " +
|
|
|
|
"material to make it much stronger and lighter.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's agility by an additional 175%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
GrapheneBionicLegs.addToFactions(["MegaCorp", "ECorp", "Fulcrum Secret Technologies"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.GrapheneBionicLegs)) {
|
|
|
|
delete Augmentations[AugmentationNames.GrapheneBionicLegs];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(GrapheneBionicLegs);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
//Labor stat augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
var SpeechProcessor = new Augmentation(AugmentationNames.SpeechProcessor); //Cochlear imlant?
|
2017-06-01 01:39:03 +02:00
|
|
|
SpeechProcessor.setRequirements(3000, 10000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
SpeechProcessor.setInfo("A cochlear implant with an embedded computer that analyzes incoming speech. " +
|
|
|
|
"The embedded computer processes characteristics of incoming speech, such as tone " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"and inflection, to pick up on subtle cues and aid in social interactions.<br><br>" +
|
2017-02-22 23:07:55 +01:00
|
|
|
"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",
|
2017-05-07 12:04:54 +02:00
|
|
|
"Ishima", "Volhaven", "Silhouette"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SpeechProcessor)) {
|
|
|
|
delete Augmentations[AugmentationNames.SpeechProcessor];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SpeechProcessor);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
let TITN41Injection = new Augmentation(AugmentationNames.TITN41Injection);
|
2017-06-01 01:39:03 +02:00
|
|
|
TITN41Injection.setRequirements(10000, 38000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
TITN41Injection.setInfo("TITN is a series of viruses that targets and alters the sequences of human DNA in genes that " +
|
|
|
|
"control personality. The TITN-41 strain alters these genes so that the subject becomes more " +
|
|
|
|
"outgoing and socialable. <br><br>" +
|
2017-04-21 21:06:41 +02:00
|
|
|
"This augmentation increases the player's charisma and charisma experience gain rate by 15%");
|
2017-08-13 07:01:33 +02:00
|
|
|
TITN41Injection.addToFactions(["Silhouette"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.TITN41Injection)) {
|
|
|
|
delete Augmentations[AugmentationNames.TITN41Injection];
|
|
|
|
}
|
|
|
|
AddToAugmentations(TITN41Injection);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var EnhancedSocialInteractionImplant = new Augmentation(AugmentationNames.EnhancedSocialInteractionImplant);
|
2017-07-13 18:54:29 +02:00
|
|
|
EnhancedSocialInteractionImplant.setRequirements(150000, 275000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
EnhancedSocialInteractionImplant.setInfo("A cranial implant that greatly assists in the user's ability to analyze social situations " +
|
|
|
|
"and interactions. The system uses a wide variety of factors such as facial expression, body " +
|
|
|
|
"language, and the voice's tone/inflection to determine the best course of action during social" +
|
|
|
|
"situations. The implant also uses deep learning software to continuously learn new behavior" +
|
|
|
|
"patterns and how to best respond.<br><br>" +
|
2017-06-02 07:34:57 +02:00
|
|
|
"This augmentation increases the player's charisma and charisma experience gain rate by 60%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
EnhancedSocialInteractionImplant.addToFactions(["Bachman & Associates", "NWO", "Clarke Incorporated",
|
|
|
|
"OmniTek Incorporated", "Four Sigma"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.EnhancedSocialInteractionImplant)) {
|
|
|
|
delete Augmentations[AugmentationNames.EnhancedSocialInteractionImplant];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(EnhancedSocialInteractionImplant);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
//Hacking augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
var BitWire = new Augmentation(AugmentationNames.BitWire);
|
2017-05-22 17:39:51 +02:00
|
|
|
BitWire.setRequirements(1500, 2000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
BitWire.setInfo("A small brain implant embedded in the cerebrum. This regulates and improves the brain's computing " +
|
2017-06-18 06:36:16 +02:00
|
|
|
"capabilities. <br><br> This augmentation increases the player's hacking skill by 5%");
|
2017-05-31 17:58:09 +02:00
|
|
|
BitWire.addToFactions(["CyberSec", "NiteSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.BitWire)) {
|
|
|
|
delete Augmentations[AugmentationNames.BitWire];
|
|
|
|
}
|
2017-05-05 16:21:08 +02:00
|
|
|
AddToAugmentations(BitWire);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ArtificialBioNeuralNetwork = new Augmentation(AugmentationNames.ArtificialBioNeuralNetwork);
|
2017-06-01 01:39:03 +02:00
|
|
|
ArtificialBioNeuralNetwork.setRequirements(110000, 600000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
ArtificialBioNeuralNetwork.setInfo("A network consisting of millions of nanoprocessors is embedded into the brain. " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"The network is meant to mimick the way a biological brain solves a problem, which each " +
|
|
|
|
"nanoprocessor acting similar to the way a neuron would in a neural network. However, these " +
|
|
|
|
"nanoprocessors are programmed to perform computations much faster than organic neurons, " +
|
|
|
|
"allowing its user to solve much more complex problems at a much faster rate.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 3%<br>" +
|
|
|
|
"Increases the amount of money the player's gains from hacking by 15%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Inreases the player's hacking skill by 12%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ArtificialBioNeuralNetwork.addToFactions(["BitRunners", "Fulcrum Secret Technologies"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ArtificialBioNeuralNetwork)) {
|
|
|
|
delete Augmentations[AugmentationNames.ArtificialBioNeuralNetwork];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ArtificialBioNeuralNetwork);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ArtificialSynapticPotentiation = new Augmentation(AugmentationNames.ArtificialSynapticPotentiation);
|
2017-06-01 01:39:03 +02:00
|
|
|
ArtificialSynapticPotentiation.setRequirements(2500, 16000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ArtificialSynapticPotentiation.setInfo("The body is injected with a chemical that artificially induces synaptic potentiation, " +
|
|
|
|
"otherwise known as the strengthening of synapses. This results in a enhanced cognitive abilities.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking speed by 2% <br> " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the player's hacking chance by 5%<br>" +
|
2017-05-17 15:55:59 +02:00
|
|
|
"Increases the player's hacking experience gain rate by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
ArtificialSynapticPotentiation.addToFactions(["The Black Hand", "NiteSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ArtificialSynapticPotentiation)) {
|
|
|
|
delete Augmentations[AugmentationNames.ArtificialSynapticPotentiation];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ArtificialSynapticPotentiation);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var EnhancedMyelinSheathing = new Augmentation(AugmentationNames.EnhancedMyelinSheathing);
|
2017-06-01 01:39:03 +02:00
|
|
|
EnhancedMyelinSheathing.setRequirements(40000, 275000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
EnhancedMyelinSheathing.setInfo("Electrical signals are used to induce a new, artificial form of myelinogensis in the human body. " +
|
|
|
|
"This process results in the proliferation of new, synthetic myelin sheaths in the nervous " +
|
|
|
|
"system. These myelin sheaths can propogate neuro-signals much faster than their organic " +
|
|
|
|
"counterparts, leading to greater processing speeds and better brain function.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 3%<br>" +
|
|
|
|
"Increases the player's hacking skill by 8%<br>" +
|
2017-06-18 11:31:14 +02:00
|
|
|
"Increases the player's hacking experience gain rate by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
EnhancedMyelinSheathing.addToFactions(["Fulcrum Secret Technologies", "BitRunners", "The Black Hand"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.EnhancedMyelinSheathing)) {
|
|
|
|
delete Augmentations[AugmentationNames.EnhancedMyelinSheathing];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(EnhancedMyelinSheathing);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var SynapticEnhancement = new Augmentation(AugmentationNames.SynapticEnhancement);
|
2017-06-01 01:39:03 +02:00
|
|
|
SynapticEnhancement.setRequirements(800, 1500000);
|
2017-05-05 16:21:08 +02:00
|
|
|
SynapticEnhancement.setInfo("A small cranial implant that continuously uses weak electric signals to stimulate the brain and " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"induce stronger synaptic activity. This improves the user's cognitive abilities.<br><br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"This augmentation increases the player's hacking speed by 3%.");
|
2017-02-27 23:14:11 +01:00
|
|
|
SynapticEnhancement.addToFactions(["CyberSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SynapticEnhancement)) {
|
|
|
|
delete Augmentations[AugmentationNames.SynapticEnhancement];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(SynapticEnhancement);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var NeuralRetentionEnhancement = new Augmentation(AugmentationNames.NeuralRetentionEnhancement);
|
2017-06-01 01:39:03 +02:00
|
|
|
NeuralRetentionEnhancement.setRequirements(8000, 50000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
NeuralRetentionEnhancement.setInfo("Chemical injections are used to permanently alter and strengthen the brain's neuronal " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"circuits, strengthening its ability to retain information.<br><br>" +
|
2017-06-18 10:24:08 +02:00
|
|
|
"This augmentation increases the player's hacking experience gain rate by 25%.");
|
2017-06-01 04:19:14 +02:00
|
|
|
NeuralRetentionEnhancement.addToFactions(["NiteSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.NeuralRetentionEnhancement)) {
|
|
|
|
delete Augmentations[AugmentationNames.NeuralRetentionEnhancement];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(NeuralRetentionEnhancement);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var DataJack = new Augmentation(AugmentationNames.DataJack);
|
2017-06-01 01:39:03 +02:00
|
|
|
DataJack.setRequirements(45000, 90000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
DataJack.setInfo("A brain implant that provides an interface for direct, wireless communication between a computer's main " +
|
|
|
|
"memory and the mind. This implant allows the user to not only access a computer's memory, but also alter " +
|
|
|
|
"and delete it.<br><br>" +
|
2017-06-18 11:31:14 +02:00
|
|
|
"This augmentation increases the amount of money the player gains from hacking by 25%");
|
2017-02-27 23:14:11 +01:00
|
|
|
DataJack.addToFactions(["BitRunners", "The Black Hand", "NiteSec", "Chongqing", "New Tokyo"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.DataJack)) {
|
|
|
|
delete Augmentations[AugmentationNames.DataJack];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(DataJack);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENM = new Augmentation(AugmentationNames.ENM);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENM.setRequirements(6000, 50000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENM.setInfo("A thin device embedded inside the arm containing a wireless module capable of connecting " +
|
|
|
|
"to nearby networks. Once connected, the Netburner Module is capable of capturing and " +
|
|
|
|
"processing all of the traffic on that network. By itself, the Embedded Netburner Module does " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"not do much, but a variety of very powerful upgrades can be installed that allow you to fully " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"control the traffic on a network.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's hacking skill by 8%");
|
2017-08-13 07:01:33 +02:00
|
|
|
ENM.addToFactions(["BitRunners", "The Black Hand", "NiteSec", "ECorp", "MegaCorp",
|
2017-02-27 23:14:11 +01:00
|
|
|
"Fulcrum Secret Technologies", "NWO", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENM)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENM];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENM);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENMCore = new Augmentation(AugmentationNames.ENMCore);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENMCore.setRequirements(100000, 500000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMCore.setInfo("The Core library is an implant that upgrades the firmware of the Embedded Netburner Module. " +
|
2017-05-05 17:50:55 +02:00
|
|
|
"This upgrade allows the Embedded Netburner Module to generate its own data on a network.<br><br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 3%<br>" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 10%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 3%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 7%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 7%");
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMCore.addToFactions(["BitRunners", "The Black Hand", "ECorp", "MegaCorp",
|
2017-02-27 23:14:11 +01:00
|
|
|
"Fulcrum Secret Technologies", "NWO", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENMCore)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENMCore];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCore);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENMCoreV2 = new Augmentation(AugmentationNames.ENMCoreV2);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENMCoreV2.setRequirements(400000, 900000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMCoreV2.setInfo("The Core V2 library is an implant that upgrades the firmware of the Embedded Netburner Module. " +
|
|
|
|
"This upgraded firmware allows the Embedded Netburner Module to control the information on " +
|
|
|
|
"a network by re-routing traffic, spoofing IP addresses, or altering the data inside network " +
|
|
|
|
"packets.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking speed by 5%<br>" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 30%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 5%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 15%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 8%");
|
2017-05-17 16:23:47 +02:00
|
|
|
ENMCoreV2.addToFactions(["BitRunners", "ECorp", "MegaCorp", "Fulcrum Secret Technologies", "NWO",
|
2017-02-27 23:14:11 +01:00
|
|
|
"Blade Industries", "OmniTek Incorporated", "KuaiGong International"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENMCoreV2)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENMCoreV2];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCoreV2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENMCoreV3 = new Augmentation(AugmentationNames.ENMCoreV3);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENMCoreV3.setRequirements(700000, 1500000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMCoreV3.setInfo("The Core V3 library is an implant that upgrades the firmware of the Embedded Netburner Module. " +
|
|
|
|
"This upgraded firmware allows the Embedded Netburner Module to seamlessly inject code into " +
|
|
|
|
"any device on a network.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 5%<br>" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 40%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 10%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 25%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENMCoreV3)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENMCoreV3];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMCoreV3);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENMAnalyzeEngine = new Augmentation(AugmentationNames.ENMAnalyzeEngine);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENMAnalyzeEngine.setRequirements(250000, 1200000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMAnalyzeEngine.setInfo("Installs the Analyze Engine for the Embedded Netburner Module, which is a CPU cluster " +
|
|
|
|
"that vastly outperforms the Netburner Module's native single-core processor.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENMAnalyzeEngine)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENMAnalyzeEngine];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMAnalyzeEngine);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ENMDMA = new Augmentation(AugmentationNames.ENMDMA);
|
2017-06-01 01:39:03 +02:00
|
|
|
ENMDMA.setRequirements(400000, 1400000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
ENMDMA.setInfo("This implant installs a Direct Memory Access (DMA) controller into the " +
|
|
|
|
"Embedded Netburner Module. This allows the Module to send and receive data " +
|
|
|
|
"directly to and from the main memory of devices on a network.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the amount of money the player gains from hacking by 40%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.ENMDMA)) {
|
|
|
|
delete Augmentations[AugmentationNames.ENMDMA];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(ENMDMA);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Neuralstimulator = new Augmentation(AugmentationNames.Neuralstimulator);
|
2017-06-01 01:39:03 +02:00
|
|
|
Neuralstimulator.setRequirements(20000, 600000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
Neuralstimulator.setInfo("A cranial implant that intelligently stimulates certain areas of the brain " +
|
|
|
|
"in order to improve cognitive functions<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 2%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 10%<br>" +
|
2017-06-18 11:31:14 +02:00
|
|
|
"Increases the player's hacking experience gain rate by 12%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neuralstimulator.addToFactions(["The Black Hand", "Chongqing", "Sector-12", "New Tokyo", "Aevum",
|
2017-08-13 07:01:33 +02:00
|
|
|
"Ishima", "Volhaven", "Bachman & Associates", "Clarke Incorporated",
|
2017-02-27 23:14:11 +01:00
|
|
|
"Four Sigma"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Neuralstimulator)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neuralstimulator];
|
|
|
|
}
|
2017-02-17 23:19:25 +01:00
|
|
|
AddToAugmentations(Neuralstimulator);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var NeuralAccelerator = new Augmentation(AugmentationNames.NeuralAccelerator);
|
2017-06-01 01:39:03 +02:00
|
|
|
NeuralAccelerator.setRequirements(80000, 350000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
NeuralAccelerator.setInfo("A microprocessor that accelerates the processing " +
|
|
|
|
"speed of biological neural networks. This is a cranial implant that is embedded inside the brain. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking skill by 10%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 15%<br>" +
|
2017-05-31 17:58:09 +02:00
|
|
|
"Increases the amount of money the player gains from hacking by 20%");
|
|
|
|
NeuralAccelerator.addToFactions(["BitRunners"]);
|
|
|
|
if (augmentationExists(AugmentationNames.NeuralAccelerator)) {
|
|
|
|
delete Augmentations[AugmentationNames.NeuralAccelerator];
|
|
|
|
}
|
|
|
|
AddToAugmentations(NeuralAccelerator);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var CranialSignalProcessorsG1 = new Augmentation(AugmentationNames.CranialSignalProcessorsG1);
|
2017-06-02 18:49:14 +02:00
|
|
|
CranialSignalProcessorsG1.setRequirements(4000, 14000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CranialSignalProcessorsG1.setInfo("The first generation of Cranial Signal Processors. Cranial Signal Processors " +
|
|
|
|
"are a set of specialized microprocessors that are attached to " +
|
2017-05-31 17:58:09 +02:00
|
|
|
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"so that the brain doesn't have to. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking speed by 1%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 5%");
|
2017-05-31 17:58:09 +02:00
|
|
|
CranialSignalProcessorsG1.addToFactions(["CyberSec"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CranialSignalProcessorsG1)) {
|
|
|
|
delete Augmentations[AugmentationNames.CranialSignalProcessorsG1];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CranialSignalProcessorsG1);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var CranialSignalProcessorsG2 = new Augmentation(AugmentationNames.CranialSignalProcessorsG2);
|
2017-06-01 01:39:03 +02:00
|
|
|
CranialSignalProcessorsG2.setRequirements(7500, 25000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CranialSignalProcessorsG2.setInfo("The second generation of Cranial Signal Processors. Cranial Signal Processors " +
|
|
|
|
"are a set of specialized microprocessors that are attached to " +
|
2017-05-31 17:58:09 +02:00
|
|
|
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"so that the brain doesn't have to. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking speed by 2%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 5%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 7%");
|
2017-05-31 17:58:09 +02:00
|
|
|
CranialSignalProcessorsG2.addToFactions(["NiteSec"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CranialSignalProcessorsG2)) {
|
|
|
|
delete Augmentations[AugmentationNames.CranialSignalProcessorsG2];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CranialSignalProcessorsG2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var CranialSignalProcessorsG3 = new Augmentation(AugmentationNames.CranialSignalProcessorsG3);
|
2017-06-01 01:39:03 +02:00
|
|
|
CranialSignalProcessorsG3.setRequirements(20000, 110000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CranialSignalProcessorsG3.setInfo("The third generation of Cranial Signal Processors. Cranial Signal Processors " +
|
|
|
|
"are a set of specialized microprocessors that are attached to " +
|
2017-05-31 17:58:09 +02:00
|
|
|
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"so that the brain doesn't have to. <br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking speed by 2%<br>" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 15%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 9%");
|
2017-05-31 17:58:09 +02:00
|
|
|
CranialSignalProcessorsG3.addToFactions(["NiteSec", "The Black Hand"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CranialSignalProcessorsG3)) {
|
|
|
|
delete Augmentations[AugmentationNames.CranialSignalProcessorsG3];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CranialSignalProcessorsG3);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var CranialSignalProcessorsG4 = new Augmentation(AugmentationNames.CranialSignalProcessorsG4);
|
2017-06-01 01:39:03 +02:00
|
|
|
CranialSignalProcessorsG4.setRequirements(50000, 220000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CranialSignalProcessorsG4.setInfo("The fourth generation of Cranial Signal Processors. Cranial Signal Processors " +
|
|
|
|
"are a set of specialized microprocessors that are attached to " +
|
2017-05-31 17:58:09 +02:00
|
|
|
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"so that the brain doesn't have to. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking speed by 2%<br>" +
|
|
|
|
"Increases the amount of money the player gains from hacking by 20%<br>" +
|
2017-05-31 17:58:09 +02:00
|
|
|
"Increases the amount of money the player can inject into servers using grow() by 25%");
|
|
|
|
CranialSignalProcessorsG4.addToFactions(["The Black Hand"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CranialSignalProcessorsG4)) {
|
|
|
|
delete Augmentations[AugmentationNames.CranialSignalProcessorsG4];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CranialSignalProcessorsG4);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var CranialSignalProcessorsG5 = new Augmentation(AugmentationNames.CranialSignalProcessorsG5);
|
2017-06-01 01:39:03 +02:00
|
|
|
CranialSignalProcessorsG5.setRequirements(100000, 450000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
CranialSignalProcessorsG5.setInfo("The fifth generation of Cranial Signal Processors. Cranial Signal Processors " +
|
|
|
|
"are a set of specialized microprocessors that are attached to " +
|
2017-05-31 17:58:09 +02:00
|
|
|
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"so that the brain doesn't have to. <br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
2017-06-02 07:34:57 +02:00
|
|
|
"Increases the player's hacking skill by 30%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the amount of money the player gains from hacking by 25%<br>" +
|
2017-06-02 07:34:57 +02:00
|
|
|
"Increases the amount of money the player can inject into servers using grow() by 75%");
|
2017-05-31 17:58:09 +02:00
|
|
|
CranialSignalProcessorsG5.addToFactions(["BitRunners"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CranialSignalProcessorsG5)) {
|
|
|
|
delete Augmentations[AugmentationNames.CranialSignalProcessorsG5];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CranialSignalProcessorsG5);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-31 17:58:09 +02:00
|
|
|
var NeuronalDensification = new Augmentation(AugmentationNames.NeuronalDensification);
|
2017-06-01 01:39:03 +02:00
|
|
|
NeuronalDensification.setRequirements(75000, 275000000);
|
2017-05-31 17:58:09 +02:00
|
|
|
NeuronalDensification.setInfo("The brain is surgically re-engineered to have increased neuronal density " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"by decreasing the neuron gap junction. Then, the body is genetically modified " +
|
|
|
|
"to enhance the production and capabilities of its neural stem cells. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking skill by 15%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 10%<br>"+
|
2017-05-31 17:58:09 +02:00
|
|
|
"Increases the player's hacking speed by 3%");
|
|
|
|
NeuronalDensification.addToFactions(["Clarke Incorporated"]);
|
|
|
|
if (augmentationExists(AugmentationNames.NeuronalDensification)) {
|
|
|
|
delete Augmentations[AugmentationNames.NeuronalDensification];
|
|
|
|
}
|
|
|
|
AddToAugmentations(NeuronalDensification);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-02-08 23:50:22 +01:00
|
|
|
//Work Augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
var NuoptimalInjectorImplant = new Augmentation(AugmentationNames.NuoptimalInjectorImplant);
|
2017-06-03 03:56:15 +02:00
|
|
|
NuoptimalInjectorImplant.setRequirements(2000, 4000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
NuoptimalInjectorImplant.setInfo("This torso implant automatically injects nootropic supplements into " +
|
|
|
|
"the bloodstream to improve memory, increase focus, and provide other " +
|
|
|
|
"cognitive enhancements.<br><br>" +
|
|
|
|
"This augmentation increases the amount of reputation the player gains " +
|
2017-05-17 05:50:32 +02:00
|
|
|
"when working for a company by 20%.");
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.NuoptimalInjectorImplant)) {
|
|
|
|
delete Augmentations[AugmentationNames.NuoptimalInjectorImplant];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(NuoptimalInjectorImplant);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var SpeechEnhancement = new Augmentation(AugmentationNames.SpeechEnhancement);
|
2017-06-01 01:39:03 +02:00
|
|
|
SpeechEnhancement.setRequirements(1000, 2500000);
|
2017-08-13 07:01:33 +02:00
|
|
|
SpeechEnhancement.setInfo("An advanced neural implant that improves your speaking abilities, making " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"you more convincing and likable in conversations and overall improving your " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"social interactions.<br><br>" +
|
2017-05-05 17:50:55 +02:00
|
|
|
"This augmentation:<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the player's charisma by 10%<br>" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 10%");
|
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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SpeechEnhancement)) {
|
|
|
|
delete Augmentations[AugmentationNames.SpeechEnhancement];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(SpeechEnhancement);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var FocusWire = new Augmentation(AugmentationNames.FocusWire); //Stops procrastination
|
2017-06-01 01:39:03 +02:00
|
|
|
FocusWire.setRequirements(30000, 180000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
FocusWire.setInfo("A cranial implant that stops procrastination by blocking specific neural pathways " +
|
|
|
|
"in the brain.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
2017-07-13 18:54:29 +02:00
|
|
|
"Increases all experience gains by 5%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the amount of money the player gains from working by 20%<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the amount of reputation the player gains when working for a company by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
FocusWire.addToFactions(["Bachman & Associates", "Clarke Incorporated", "Four Sigma", "KuaiGong International"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.FocusWire)) {
|
|
|
|
delete Augmentations[AugmentationNames.FocusWire];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(FocusWire)
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var PCDNI = new Augmentation(AugmentationNames.PCDNI);
|
2017-06-01 01:39:03 +02:00
|
|
|
PCDNI.setRequirements(150000, 750000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
PCDNI.setInfo("Installs a Direct-Neural Interface jack into your arm that is compatible with most " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"computers. Connecting to a computer through this jack allows you to interface with " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"it using the brain's electrochemical signals.<br><br>" +
|
2017-05-05 17:50:55 +02:00
|
|
|
"This augmentation:<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the amount of reputation the player gains when working for a company by 30%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 8%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNI.addToFactions(["Four Sigma", "OmniTek Incorporated", "ECorp", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.PCDNI)) {
|
|
|
|
delete Augmentations[AugmentationNames.PCDNI];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(PCDNI);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var PCDNIOptimizer = new Augmentation(AugmentationNames.PCDNIOptimizer);
|
2017-07-13 18:54:29 +02:00
|
|
|
PCDNIOptimizer.setRequirements(200000, 900000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
PCDNIOptimizer.setInfo("This is a submodule upgrade to the PC Direct-Neural Interface augmentation. It " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"improves the performance of the interface and gives the user more control options " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"to the connected computer.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 75%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNIOptimizer.addToFactions(["Fulcrum Secret Technologies", "ECorp", "Blade Industries"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.PCDNIOptimizer)) {
|
|
|
|
delete Augmentations[AugmentationNames.PCDNIOptimizer];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(PCDNIOptimizer);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var PCDNINeuralNetwork = new Augmentation(AugmentationNames.PCDNINeuralNetwork);
|
2017-07-13 18:54:29 +02:00
|
|
|
PCDNINeuralNetwork.setRequirements(600000, 1500000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
PCDNINeuralNetwork.setInfo("This is an additional installation that upgrades the functionality of the " +
|
|
|
|
"PC Direct-Neural Interface augmentation. When connected to a computer, " +
|
|
|
|
"The NeuroNet Injector upgrade allows the user to use his/her own brain's " +
|
|
|
|
"processing power to aid the computer in computational tasks.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a company by 100%<br>" +
|
|
|
|
"Increases the player's hacking skill by 10%<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the player's hacking speed by 5%");
|
2017-02-27 23:14:11 +01:00
|
|
|
PCDNINeuralNetwork.addToFactions(["Fulcrum Secret Technologies"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.PCDNINeuralNetwork)) {
|
|
|
|
delete Augmentations[AugmentationNames.PCDNINeuralNetwork];
|
|
|
|
}
|
2017-02-09 19:35:28 +01:00
|
|
|
AddToAugmentations(PCDNINeuralNetwork);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var ADRPheromone1 = new Augmentation(AugmentationNames.ADRPheromone1);
|
2017-06-03 03:56:15 +02:00
|
|
|
ADRPheromone1.setRequirements(1500, 3500000);
|
2017-05-07 10:22:50 +02:00
|
|
|
ADRPheromone1.setInfo("The body is genetically re-engineered so that it produces the ADR-V1 pheromone, " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"an artificial pheromone discovered by scientists. The ADR-V1 pheromone, when excreted, " +
|
2017-10-02 04:35:22 +02:00
|
|
|
"triggers feelings of admiration and approval in other people.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the amount of reputation the player gains when working for a company by 10% <br>" +
|
2017-05-07 10:22:50 +02:00
|
|
|
"Increases the amount of reputation the player gains for a faction by 10%");
|
|
|
|
ADRPheromone1.addToFactions(["Tian Di Hui", "The Syndicate", "NWO", "MegaCorp", "Four Sigma"]);
|
|
|
|
if (augmentationExists(AugmentationNames.ADRPheromone1)) {
|
|
|
|
delete Augmentations[AugmentationNames.ADRPheromone1];
|
|
|
|
}
|
|
|
|
AddToAugmentations(ADRPheromone1);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-10-02 04:35:22 +02:00
|
|
|
var ADRPheromone2 = new Augmentation(AugmentationNames.ADRPheromone2);
|
|
|
|
ADRPheromone2.setRequirements(25000, 90000000000);
|
|
|
|
ADRPheromone2.setInfo("The body is genetically re-engineered so that it produces the ADR-V2 pheromone, " +
|
|
|
|
"which is similar to but more potent than ADR-V1. This pheromone, when excreted, " +
|
|
|
|
"triggers feelings of admiration, approval, and respect in others.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the amount of reputation the player gains for a faction and company by 20%.");
|
|
|
|
ADRPheromone2.addToFactions(["Silhouette", "Four Sigma", "Bachman & Associates", "Clarke Incorporated"]);
|
|
|
|
if (augmentationExists(AugmentationNames.ADRPheromone2)) {
|
|
|
|
delete Augmentations[AugmentationNames.ADRPheromone2];
|
|
|
|
}
|
|
|
|
AddToAugmentations(ADRPheromone2);
|
|
|
|
|
2017-05-02 21:24:24 +02:00
|
|
|
//HacknetNode Augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
var HacknetNodeCPUUpload = new Augmentation(AugmentationNames.HacknetNodeCPUUpload);
|
2017-06-01 01:39:03 +02:00
|
|
|
HacknetNodeCPUUpload.setRequirements(1500, 2200000);
|
2017-08-13 07:01:33 +02:00
|
|
|
HacknetNodeCPUUpload.setInfo("Uploads the architecture and design details of a Hacknet Node's CPU into " +
|
2017-05-05 16:21:08 +02:00
|
|
|
"the brain. This allows the user to engineer custom hardware and software " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"for the Hacknet Node that provides better performance.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the amount of money produced by Hacknet Nodes by 15%<br>" +
|
2017-06-26 01:39:17 +02:00
|
|
|
"Decreases the cost of purchasing a Hacknet Node by 15%");
|
2017-05-03 19:58:09 +02:00
|
|
|
HacknetNodeCPUUpload.addToFactions(["Netburners"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.HacknetNodeCPUUpload)) {
|
|
|
|
delete Augmentations[AugmentationNames.HacknetNodeCPUUpload];
|
|
|
|
}
|
2017-05-02 21:24:24 +02:00
|
|
|
AddToAugmentations(HacknetNodeCPUUpload);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var HacknetNodeCacheUpload = new Augmentation(AugmentationNames.HacknetNodeCacheUpload);
|
2017-06-01 01:39:03 +02:00
|
|
|
HacknetNodeCacheUpload.setRequirements(1000, 1100000);
|
2017-08-13 07:01:33 +02:00
|
|
|
HacknetNodeCacheUpload.setInfo("Uploads the architecture and design details of a Hacknet Node's main-memory cache " +
|
|
|
|
"into the brain. This allows the user to engineer custom cache hardware for the " +
|
|
|
|
"Hacknet Node that offers better performance.<br><br>" +
|
|
|
|
"This augmentation:<br> " +
|
|
|
|
"Increases the amount of money produced by Hacknet Nodes by 10%<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Decreases the cost of leveling up a Hacknet Node by 15%");
|
2017-05-03 19:58:09 +02:00
|
|
|
HacknetNodeCacheUpload.addToFactions(["Netburners"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.HacknetNodeCacheUpload)) {
|
|
|
|
delete Augmentations[AugmentationNames.HacknetNodeCacheUpload];
|
|
|
|
}
|
2017-05-02 21:24:24 +02:00
|
|
|
AddToAugmentations(HacknetNodeCacheUpload);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var HacknetNodeNICUpload = new Augmentation(AugmentationNames.HacknetNodeNICUpload);
|
2017-06-01 01:39:03 +02:00
|
|
|
HacknetNodeNICUpload.setRequirements(750, 900000);
|
2017-08-13 07:01:33 +02:00
|
|
|
HacknetNodeNICUpload.setInfo("Uploads the architecture and design details of a Hacknet Node's Network Interface Card (NIC) " +
|
|
|
|
"into the brain. This allows the user to engineer a custom NIC for the Hacknet Node that " +
|
|
|
|
"offers better performance.<br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the amount of money produced by Hacknet Nodes by 10%<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Decreases the cost of purchasing a Hacknet Node by 10%");
|
2017-05-03 19:58:09 +02:00
|
|
|
HacknetNodeNICUpload.addToFactions(["Netburners"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.HacknetNodeNICUpload)) {
|
|
|
|
delete Augmentations[AugmentationNames.HacknetNodeNICUpload];
|
|
|
|
}
|
2017-05-02 21:24:24 +02:00
|
|
|
AddToAugmentations(HacknetNodeNICUpload);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var HacknetNodeKernelDNI = new Augmentation(AugmentationNames.HacknetNodeKernelDNI);
|
2017-06-01 01:39:03 +02:00
|
|
|
HacknetNodeKernelDNI.setRequirements(3000, 8000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
HacknetNodeKernelDNI.setInfo("Installs a Direct-Neural Interface jack into the arm that is capable of connecting to a " +
|
|
|
|
"Hacknet Node. This lets the user access and manipulate the Node's kernel using the mind's " +
|
|
|
|
"electrochemical signals.<br><br>" +
|
2017-05-30 03:25:52 +02:00
|
|
|
"This augmentation increases the amount of money produced by Hacknet Nodes by 25%.");
|
2017-05-03 19:58:09 +02:00
|
|
|
HacknetNodeKernelDNI.addToFactions(["Netburners"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.HacknetNodeKernelDNI)) {
|
|
|
|
delete Augmentations[AugmentationNames.HacknetNodeKernelDNI];
|
|
|
|
}
|
2017-05-02 21:24:24 +02:00
|
|
|
AddToAugmentations(HacknetNodeKernelDNI);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var HacknetNodeCoreDNI = new Augmentation(AugmentationNames.HacknetNodeCoreDNI);
|
2017-06-01 01:39:03 +02:00
|
|
|
HacknetNodeCoreDNI.setRequirements(5000, 12000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
HacknetNodeCoreDNI.setInfo("Installs a Direct-Neural Interface jack into the arm that is capable of connecting " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"to a Hacknet Node. This lets the user access and manipulate the Node's processing logic using " +
|
|
|
|
"the mind's electrochemical signals.<br><br>" +
|
2017-05-30 03:25:52 +02:00
|
|
|
"This augmentation increases the amount of money produced by Hacknet Nodes by 45%.");
|
2017-05-03 19:58:09 +02:00
|
|
|
HacknetNodeCoreDNI.addToFactions(["Netburners"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.HacknetNodeCoreDNI)) {
|
|
|
|
delete Augmentations[AugmentationNames.HacknetNodeCoreDNI];
|
|
|
|
}
|
2017-05-02 21:24:24 +02:00
|
|
|
AddToAugmentations(HacknetNodeCoreDNI);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-12 20:12:32 +02:00
|
|
|
//Misc/Hybrid augmentations
|
2017-05-07 12:04:54 +02:00
|
|
|
var NeuroFluxGovernor = new Augmentation(AugmentationNames.NeuroFluxGovernor);
|
|
|
|
if (augmentationExists(AugmentationNames.NeuroFluxGovernor)) {
|
2017-06-26 01:39:17 +02:00
|
|
|
var nextLevel = getNextNeurofluxLevel();
|
|
|
|
NeuroFluxGovernor.level = nextLevel - 1;
|
2017-05-10 19:42:46 +02:00
|
|
|
mult = Math.pow(CONSTANTS.NeuroFluxGovernorLevelMult, NeuroFluxGovernor.level);
|
2017-06-01 01:39:03 +02:00
|
|
|
NeuroFluxGovernor.setRequirements(500 * mult, 750000 * mult);
|
2017-05-07 12:04:54 +02:00
|
|
|
delete Augmentations[AugmentationNames.NeuroFluxGovernor];
|
2017-05-08 16:33:26 +02:00
|
|
|
} else {
|
2017-06-26 01:39:17 +02:00
|
|
|
var nextLevel = getNextNeurofluxLevel();
|
|
|
|
NeuroFluxGovernor.level = nextLevel - 1;
|
|
|
|
mult = Math.pow(CONSTANTS.NeuroFluxGovernorLevelMult, NeuroFluxGovernor.level);
|
|
|
|
NeuroFluxGovernor.setRequirements(500 * mult, 750000 * mult);
|
2017-05-07 12:04:54 +02:00
|
|
|
}
|
2017-08-13 07:01:33 +02:00
|
|
|
NeuroFluxGovernor.setInfo("A device that is embedded in the back of the neck. The NeuroFlux Governor " +
|
2017-05-07 12:04:54 +02:00
|
|
|
"monitors and regulates nervous impulses coming to and from the spinal column, " +
|
|
|
|
"essentially 'governing' the body. By doing so, it improves the functionality of the " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"body's nervous system. <br><br> " +
|
|
|
|
"This is a special augmentation because it can be leveled up infinitely. Each level of this augmentation " +
|
2017-05-30 00:37:38 +02:00
|
|
|
"increases ALL of the player's multipliers by 1%");
|
2017-05-07 12:04:54 +02:00
|
|
|
NeuroFluxGovernor.addToAllFactions();
|
|
|
|
AddToAugmentations(NeuroFluxGovernor);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Neurotrainer1 = new Augmentation(AugmentationNames.Neurotrainer1);
|
2017-06-01 01:39:03 +02:00
|
|
|
Neurotrainer1.setRequirements(400, 800000);
|
2017-08-13 07:01:33 +02:00
|
|
|
Neurotrainer1.setInfo("A decentralized cranial implant that improves the brain's ability to learn. It is " +
|
|
|
|
"installed by releasing millions of nanobots into the human brain, each of which " +
|
|
|
|
"attaches to a different neural pathway to enhance the brain's ability to retain " +
|
|
|
|
"and retrieve information.<br><br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"This augmentation increases the player's experience gain rate for all stats by 10%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neurotrainer1.addToFactions(["CyberSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Neurotrainer1)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neurotrainer1];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer1);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Neurotrainer2 = new Augmentation(AugmentationNames.Neurotrainer2);
|
2017-07-13 18:54:29 +02:00
|
|
|
Neurotrainer2.setRequirements(4000, 9000000);
|
2017-08-13 07:01:33 +02:00
|
|
|
Neurotrainer2.setInfo("A decentralized cranial implant that improves the brain's ability to learn. This " +
|
|
|
|
"is a more powerful version of the Neurotrainer I augmentation, but it does not " +
|
|
|
|
"require Neurotrainer I to be installed as a prerequisite.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's experience gain rate for all stats by 15%");
|
2017-02-27 23:14:11 +01:00
|
|
|
Neurotrainer2.addToFactions(["BitRunners", "NiteSec"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Neurotrainer2)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neurotrainer2];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Neurotrainer3 = new Augmentation(AugmentationNames.Neurotrainer3);
|
2017-07-13 18:54:29 +02:00
|
|
|
Neurotrainer3.setRequirements(10000, 26000000);
|
2017-05-05 16:21:08 +02:00
|
|
|
Neurotrainer3.setInfo("A decentralized cranial implant that improves the brain's ability to learn. This " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"is a more powerful version of the Neurotrainer I and Neurotrainer II augmentation, " +
|
|
|
|
"but it does not require either of them to be installed as a prerequisite.<br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"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-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Neurotrainer3)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neurotrainer3];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Neurotrainer3);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
var Hypersight = new Augmentation(AugmentationNames.Hypersight);
|
2017-05-05 16:21:08 +02:00
|
|
|
Hypersight.setInfo("A bionic eye implant that grants sight capabilities far beyond those of a natural human. " +
|
|
|
|
"Embedded circuitry within the implant provides the ability to detect heat and movement " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"through solid objects such as wells, thus providing 'x-ray vision'-like capabilities.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's dexterity by 40%<br>" +
|
|
|
|
"Increases the player's hacking speed by 3%<br>" +
|
2017-02-23 22:41:20 +01:00
|
|
|
"Increases the amount of money the player gains from hacking by 10%");
|
2017-06-01 01:39:03 +02:00
|
|
|
Hypersight.setRequirements(60000, 550000000);
|
2017-02-27 23:14:11 +01:00
|
|
|
Hypersight.addToFactions(["Blade Industries", "KuaiGong International"]);
|
2017-05-07 10:22:50 +02:00
|
|
|
if (augmentationExists(AugmentationNames.Hypersight)) {
|
|
|
|
delete Augmentations[AugmentationNames.Hypersight];
|
|
|
|
}
|
2017-02-08 23:50:22 +01:00
|
|
|
AddToAugmentations(Hypersight);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-12 20:12:32 +02:00
|
|
|
var LuminCloaking1 = new Augmentation(AugmentationNames.LuminCloaking1);
|
2017-08-13 07:01:33 +02:00
|
|
|
LuminCloaking1.setInfo("A skin implant that reinforces the skin with highly-advanced synthetic cells. These " +
|
|
|
|
"cells, when powered, have a negative refractive index. As a result, they bend light " +
|
|
|
|
"around the skin, making the user much harder to see from the naked eye. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's agility by 5% <br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 10%");
|
2017-06-01 01:39:03 +02:00
|
|
|
LuminCloaking1.setRequirements(600, 1000000);
|
2017-05-12 20:12:32 +02:00
|
|
|
LuminCloaking1.addToFactions(["Slum Snakes", "Tetrads"]);
|
|
|
|
if (augmentationExists(AugmentationNames.LuminCloaking1)) {
|
|
|
|
delete Augmentations[AugmentationNames.LuminCloaking1];
|
|
|
|
}
|
|
|
|
AddToAugmentations(LuminCloaking1);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-12 20:12:32 +02:00
|
|
|
var LuminCloaking2 = new Augmentation(AugmentationNames.LuminCloaking2);
|
2017-08-13 07:01:33 +02:00
|
|
|
LuminCloaking2.setInfo("This is a more advanced version of the LuminCloaking-V2 augmentation. This skin implant " +
|
|
|
|
"reinforces the skin with highly-advanced synthetic cells. These " +
|
|
|
|
"cells, when powered, are capable of not only bending light but also of bending heat, " +
|
|
|
|
"making the user more resilient as well as stealthy. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's agility by 10% <br>" +
|
|
|
|
"Increases the player's defense by 10% <br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 25%");
|
2017-07-13 18:54:29 +02:00
|
|
|
LuminCloaking2.setRequirements(2000, 6000000);
|
2017-05-12 20:12:32 +02:00
|
|
|
LuminCloaking2.addToFactions(["Slum Snakes", "Tetrads"]);
|
|
|
|
if (augmentationExists(AugmentationNames.LuminCloaking2)) {
|
|
|
|
delete Augmentations[AugmentationNames.LuminCloaking2];
|
|
|
|
}
|
|
|
|
AddToAugmentations(LuminCloaking2);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-12 20:12:32 +02:00
|
|
|
var SmartSonar = new Augmentation(AugmentationNames.SmartSonar);
|
2017-08-13 07:01:33 +02:00
|
|
|
SmartSonar.setInfo("A cochlear implant that helps the player detect and locate enemies " +
|
|
|
|
"using sound propagation. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's dexterity by 10%<br>" +
|
|
|
|
"Increases the player's dexterity experience gain rate by 15%<br>" +
|
2017-05-17 05:50:32 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 25%");
|
2017-07-13 18:54:29 +02:00
|
|
|
SmartSonar.setRequirements(9000, 15000000);
|
2017-05-12 20:12:32 +02:00
|
|
|
SmartSonar.addToFactions(["Slum Snakes"]);
|
|
|
|
if (augmentationExists(AugmentationNames.SmartSonar)) {
|
|
|
|
delete Augmentations[AugmentationNames.SmartSonar];
|
|
|
|
}
|
|
|
|
AddToAugmentations(SmartSonar);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-12 21:21:31 +02:00
|
|
|
var PowerRecirculator = new Augmentation(AugmentationNames.PowerRecirculator);
|
2017-08-13 07:01:33 +02:00
|
|
|
PowerRecirculator.setInfo("The body's nerves are attached with polypyrrole nanocircuits that " +
|
|
|
|
"are capable of capturing wasted energy (in the form of heat) " +
|
|
|
|
"and converting it back into usable power. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases all of the player's stats by 5%<br>" +
|
2017-05-13 02:29:17 +02:00
|
|
|
"Increases the player's experience gain rate for all stats by 10%");
|
2017-07-13 18:54:29 +02:00
|
|
|
PowerRecirculator.setRequirements(10000, 36000000);
|
2017-05-12 21:21:31 +02:00
|
|
|
PowerRecirculator.addToFactions(["Tetrads", "The Dark Army", "The Syndicate", "NWO"]);
|
|
|
|
if (augmentationExists(AugmentationNames.PowerRecirculator)) {
|
|
|
|
delete Augmentations[AugmentationNames.PowerRecirculator];
|
|
|
|
}
|
|
|
|
AddToAugmentations(PowerRecirculator);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-17 16:23:47 +02:00
|
|
|
//Unique AUGS (Each Faction gets one unique augmentation)
|
|
|
|
//Factions that already have unique augs up to this point:
|
|
|
|
// Slum Snakes, CyberSec, Netburners, Fulcrum Secret Technologies,
|
|
|
|
// Silhouette
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Illuminati
|
|
|
|
var QLink = new Augmentation(AugmentationNames.QLink);
|
|
|
|
QLink.setInfo("A brain implant that wirelessly connects you to the Illuminati's " +
|
2017-05-20 09:33:33 +02:00
|
|
|
"quantum supercomputer, allowing you to access and use its incredible " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"computing power. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking speed by 10%<br>" +
|
|
|
|
"Increases the player's chance of successfully performing a hack by 30%<br>" +
|
2017-05-18 06:58:49 +02:00
|
|
|
"Increases the amount of money the player gains from hacking by 100%");
|
2017-07-13 18:54:29 +02:00
|
|
|
QLink.setRequirements(750000, 1300000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
QLink.addToFactions(["Illuminati"]);
|
|
|
|
if (augmentationExists(AugmentationNames.QLink)) {
|
|
|
|
delete Augmentations[AugmentationNames.QLink];
|
|
|
|
}
|
|
|
|
AddToAugmentations(QLink);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Daedalus
|
2017-07-04 21:34:17 +02:00
|
|
|
var RedPill = new Augmentation(AugmentationNames.TheRedPill);
|
|
|
|
RedPill.setInfo("It's time to leave the cave");
|
|
|
|
RedPill.setRequirements(1000000, 0);
|
|
|
|
RedPill.addToFactions(["Daedalus"]);
|
|
|
|
if (augmentationExists(AugmentationNames.TheRedPill)) {
|
|
|
|
delete Augmentations[AugmentationNames.TheRedPill];
|
|
|
|
}
|
|
|
|
AddToAugmentations(RedPill);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Covenant
|
|
|
|
var SPTN97 = new Augmentation(AugmentationNames.SPTN97);
|
2017-08-13 07:01:33 +02:00
|
|
|
SPTN97.setInfo("The SPTN-97 gene is injected into the genome. The SPTN-97 gene is an " +
|
|
|
|
"artificially-synthesized gene that was developed by DARPA to create " +
|
2017-05-18 06:58:49 +02:00
|
|
|
"super-soldiers through genetic modification. The gene was outlawed in " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"2056.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases all of the player's combat stats by 75%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking skill by 15%");
|
2017-07-13 18:54:29 +02:00
|
|
|
SPTN97.setRequirements(500000, 975000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
SPTN97.addToFactions(["The Covenant"]);
|
|
|
|
if (augmentationExists(AugmentationNames.SPTN97)) {
|
|
|
|
delete Augmentations[AugmentationNames.SPTN97];
|
|
|
|
}
|
|
|
|
AddToAugmentations(SPTN97);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//ECorp
|
|
|
|
var HiveMind = new Augmentation(AugmentationNames.HiveMind);
|
2017-08-13 07:01:33 +02:00
|
|
|
HiveMind.setInfo("A brain implant developed by ECorp. They do not reveal what " +
|
|
|
|
"exactly the implant does, but they promise that it will greatly " +
|
2017-05-18 06:58:49 +02:00
|
|
|
"enhance your abilities.");
|
2017-07-13 18:54:29 +02:00
|
|
|
HiveMind.setRequirements(600000, 1100000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
HiveMind.addToFactions(["ECorp"]);
|
|
|
|
if (augmentationExists(AugmentationNames.HiveMind)) {
|
|
|
|
delete Augmentations[AugmentationNames.HiveMind];
|
|
|
|
}
|
|
|
|
AddToAugmentations(HiveMind);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//MegaCorp
|
|
|
|
var CordiARCReactor = new Augmentation(AugmentationNames.CordiARCReactor);
|
|
|
|
CordiARCReactor.setInfo("The thoracic cavity is equipped with a small chamber designed " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"to hold and sustain hydrogen plasma. The plasma is used to generate " +
|
2017-05-18 06:58:49 +02:00
|
|
|
"fusion power through nuclear fusion, providing limitless amount of clean " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"energy for the body. <br><br>" +
|
2017-05-18 06:58:49 +02:00
|
|
|
"This augmentation:<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases all of the player's combat stats by 35%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases all of the player's combat stat experience gain rate by 35%");
|
2017-07-13 18:54:29 +02:00
|
|
|
CordiARCReactor.setRequirements(450000, 1000000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
CordiARCReactor.addToFactions(["MegaCorp"]);
|
2017-05-20 09:33:33 +02:00
|
|
|
if (augmentationExists(AugmentationNames.CordiARCReactor)) {
|
2017-05-18 06:58:49 +02:00
|
|
|
delete Augmentations[AugmentationNames.CordiARCReactor];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CordiARCReactor);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//BachmanAndAssociates
|
|
|
|
var SmartJaw = new Augmentation(AugmentationNames.SmartJaw);
|
2017-08-13 07:01:33 +02:00
|
|
|
SmartJaw.setInfo("A bionic jaw that contains advanced hardware and software " +
|
2017-05-18 06:58:49 +02:00
|
|
|
"capable of psychoanalyzing and profiling the personality of " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"others using optical imaging software. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's charisma by 50%. <br>" +
|
|
|
|
"Increases the player's charisma experience gain rate by 50%<br>" +
|
|
|
|
"Increases the amount of reputation the player gains for a company by 25%<br>" +
|
2017-05-18 06:58:49 +02:00
|
|
|
"Increases the amount of reputation the player gains for a faction by 25%");
|
2017-07-13 18:54:29 +02:00
|
|
|
SmartJaw.setRequirements(150000, 550000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
SmartJaw.addToFactions(["Bachman & Associates"]);
|
2017-05-20 09:33:33 +02:00
|
|
|
if (augmentationExists(AugmentationNames.SmartJaw)) {
|
2017-05-18 06:58:49 +02:00
|
|
|
delete Augmentations[AugmentationNames.SmartJaw];
|
|
|
|
}
|
|
|
|
AddToAugmentations(SmartJaw);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//BladeIndustries
|
|
|
|
var Neotra = new Augmentation(AugmentationNames.Neotra);
|
2017-08-13 07:01:33 +02:00
|
|
|
Neotra.setInfo("A highly-advanced techno-organic drug that is injected into the skeletal " +
|
|
|
|
"and integumentary system. The drug permanently modifies the DNA of the " +
|
2017-05-18 06:58:49 +02:00
|
|
|
"body's skin and bone cells, granting them the ability to repair " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"and restructure themselves. <br><br>" +
|
2017-06-19 16:54:11 +02:00
|
|
|
"This augmentation increases the player's strength and defense by 55%");
|
2017-07-13 18:54:29 +02:00
|
|
|
Neotra.setRequirements(225000, 575000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
Neotra.addToFactions(["Blade Industries"]);
|
|
|
|
if (augmentationExists(AugmentationNames.Neotra)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neotra];
|
|
|
|
}
|
|
|
|
AddToAugmentations(Neotra);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
|
|
|
//NWO
|
2017-05-18 06:58:49 +02:00
|
|
|
var Xanipher = new Augmentation(AugmentationNames.Xanipher);
|
2017-05-20 09:33:33 +02:00
|
|
|
Xanipher.setInfo("A concoction of advanced nanobots that is orally ingested into the " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"body. These nanobots induce physiological change and significantly " +
|
|
|
|
"improve the body's functionining in all aspects. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases all of the player's stats by 20%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's experience gain rate for all stats by 15%");
|
2017-07-13 18:54:29 +02:00
|
|
|
Xanipher.setRequirements(350000, 850000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
Xanipher.addToFactions(["NWO"]);
|
|
|
|
if (augmentationExists(AugmentationNames.Xanipher)) {
|
|
|
|
delete Augmentations[AugmentationNames.Xanipher];
|
|
|
|
}
|
|
|
|
AddToAugmentations(Xanipher);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//ClarkeIncorporated
|
|
|
|
var nextSENS = new Augmentation(AugmentationNames.nextSENS);
|
2017-08-13 07:01:33 +02:00
|
|
|
nextSENS.setInfo("The body is genetically re-engineered to maintain a state " +
|
|
|
|
"of negligible senescence, preventing the body from " +
|
|
|
|
"deteriorating with age. <br><br>" +
|
2017-05-18 06:58:49 +02:00
|
|
|
"This augmentation increases all of the player's stats by 20%");
|
2017-08-13 07:01:33 +02:00
|
|
|
nextSENS.setRequirements(175000, 385000000);
|
2017-05-18 06:58:49 +02:00
|
|
|
nextSENS.addToFactions(["Clarke Incorporated"]);
|
|
|
|
if (augmentationExists(AugmentationNames.nextSENS)) {
|
|
|
|
delete Augmentations[AugmentationNames.nextSENS];
|
|
|
|
}
|
2017-08-13 07:01:33 +02:00
|
|
|
AddToAugmentations(nextSENS);
|
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//OmniTekIncorporated
|
2017-05-18 16:50:34 +02:00
|
|
|
var OmniTekInfoLoad = new Augmentation(AugmentationNames.OmniTekInfoLoad);
|
2017-08-13 07:01:33 +02:00
|
|
|
OmniTekInfoLoad.setInfo("OmniTek's data and information repository is uploaded " +
|
2017-05-18 16:50:34 +02:00
|
|
|
"into your brain, enhancing your programming and " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"hacking abilities. <br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
|
|
|
"Increases the player's hacking skill by 20%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Increases the player's hacking experience gain rate by 25%");
|
2017-07-13 18:54:29 +02:00
|
|
|
OmniTekInfoLoad.setRequirements(250000, 575000000)
|
2017-05-18 16:50:34 +02:00
|
|
|
OmniTekInfoLoad.addToFactions(["OmniTek Incorporated"]);
|
|
|
|
if (augmentationExists(AugmentationNames.OmniTekInfoLoad)) {
|
|
|
|
delete Augmentations[AugmentationNames.OmniTekInfoLoad];
|
|
|
|
}
|
|
|
|
AddToAugmentations(OmniTekInfoLoad);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//FourSigma
|
|
|
|
//TODO Later when Intelligence is added in . Some aug that greatly increases int
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//KuaiGongInternational
|
2017-05-18 16:50:34 +02:00
|
|
|
var PhotosyntheticCells = new Augmentation(AugmentationNames.PhotosyntheticCells);
|
2017-08-13 07:01:33 +02:00
|
|
|
PhotosyntheticCells.setInfo("Chloroplasts are added to epidermal stem cells and are applied " +
|
|
|
|
"to the body using a skin graft. The result is photosynthetic " +
|
|
|
|
"skin cells, allowing users to generate their own energy " +
|
|
|
|
"and nutrition using solar power. <br><br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"This augmentation increases the player's strength, defense, and agility by 40%");
|
2017-07-13 18:54:29 +02:00
|
|
|
PhotosyntheticCells.setRequirements(225000, 550000000);
|
2017-05-18 16:50:34 +02:00
|
|
|
PhotosyntheticCells.addToFactions(["KuaiGong International"]);
|
|
|
|
if (augmentationExists(AugmentationNames.PhotosyntheticCells)) {
|
|
|
|
delete Augmentations[AugmentationNames.PhotosyntheticCells];
|
|
|
|
}
|
|
|
|
AddToAugmentations(PhotosyntheticCells);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//BitRunners
|
2017-05-18 16:50:34 +02:00
|
|
|
var Neurolink = new Augmentation(AugmentationNames.Neurolink);
|
2017-08-13 07:01:33 +02:00
|
|
|
Neurolink.setInfo("A brain implant that provides a high-bandwidth, direct neural link between your " +
|
2017-05-18 16:50:34 +02:00
|
|
|
"mind and BitRunners' data servers, which reportedly contain " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"the largest database of hacking tools and information in the world. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's hacking skill by 15%<br>" +
|
|
|
|
"Increases the player's hacking experience gain rate by 20%<br>" +
|
2017-05-18 16:50:34 +02:00
|
|
|
"Increases the player's chance of successfully performing a hack by 10%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the player's hacking speed by 5%<br>" +
|
2017-05-18 16:50:34 +02:00
|
|
|
"Lets the player start with the FTPCrack.exe and relaySMTP.exe programs after a reset");
|
2017-07-13 18:54:29 +02:00
|
|
|
Neurolink.setRequirements(350000, 875000000);
|
2017-05-18 16:50:34 +02:00
|
|
|
Neurolink.addToFactions(["BitRunners"]);
|
|
|
|
if (augmentationExists(AugmentationNames.Neurolink)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neurolink];
|
|
|
|
}
|
|
|
|
AddToAugmentations(Neurolink);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//BlackHand
|
2017-05-18 20:01:18 +02:00
|
|
|
var TheBlackHand = new Augmentation(AugmentationNames.TheBlackHand);
|
|
|
|
TheBlackHand.setInfo("A highly advanced bionic hand. This prosthetic not only " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"enhances strength and dexterity but it is also embedded " +
|
|
|
|
"with hardware and firmware that lets the user connect to, access and hack " +
|
|
|
|
"devices and machines just by touching them. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's strength and dexterity by 15%<br>" +
|
|
|
|
"Increases the player's hacking skill by 10%<br>" +
|
|
|
|
"Increases the player's hacking speed by 2%<br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"Increases the amount of money the player gains from hacking by 10%");
|
2017-07-13 18:54:29 +02:00
|
|
|
TheBlackHand.setRequirements(40000, 110000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
TheBlackHand.addToFactions(["The Black Hand"]);
|
|
|
|
if (augmentationExists(AugmentationNames.TheBlackHand)) {
|
|
|
|
delete Augmentations[AugmentationNames.TheBlackHand];
|
|
|
|
}
|
|
|
|
AddToAugmentations(TheBlackHand);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//NiteSec
|
2017-05-18 20:01:18 +02:00
|
|
|
var CRTX42AA = new Augmentation(AugmentationNames.CRTX42AA);
|
2017-08-13 07:01:33 +02:00
|
|
|
CRTX42AA.setInfo("The CRTX42-AA gene is injected into the genome. " +
|
2017-05-18 20:01:18 +02:00
|
|
|
"The CRTX42-AA is an artificially-synthesized gene that targets the visual and prefrontal " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"cortex and improves cognitive abilities. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Improves the player's hacking skill by 8%<br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"Improves the player's hacking experience gain rate by 15%");
|
2017-06-01 01:39:03 +02:00
|
|
|
CRTX42AA.setRequirements(18000, 45000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
CRTX42AA.addToFactions(["NiteSec"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CRTX42AA)) {
|
|
|
|
delete Augmentations[AugmentationNames.CRTX42AA];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CRTX42AA);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Chongqing
|
2017-05-18 20:01:18 +02:00
|
|
|
var Neuregen = new Augmentation(AugmentationNames.Neuregen);
|
|
|
|
Neuregen.setInfo("A drug that genetically modifies the neurons in the brain. " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"The result is that these neurons never die and continuously " +
|
|
|
|
"regenerate and strengthen themselves. <br><br>" +
|
2017-06-18 06:36:16 +02:00
|
|
|
"This augmentation increases the player's hacking experience gain rate by 40%");
|
2017-06-01 01:39:03 +02:00
|
|
|
Neuregen.setRequirements(15000, 75000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
Neuregen.addToFactions(["Chongqing"]);
|
|
|
|
if (augmentationExists(AugmentationNames.Neuregen)) {
|
|
|
|
delete Augmentations[AugmentationNames.Neuregen];
|
|
|
|
}
|
|
|
|
AddToAugmentations(Neuregen);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Sector12
|
2017-05-18 20:01:18 +02:00
|
|
|
var CashRoot = new Augmentation(AugmentationNames.CashRoot);
|
2017-08-13 07:01:33 +02:00
|
|
|
CashRoot.setInfo("A collection of digital assets saved on a small chip. The chip is implanted " +
|
2017-05-18 20:01:18 +02:00
|
|
|
"into your wrist. A small jack in the chip allows you to connect it to a computer " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"and upload the assets. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Lets the player start with $1,000,000 after a reset<br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"Lets the player start with the BruteSSH.exe program after a reset");
|
2017-06-02 07:34:57 +02:00
|
|
|
CashRoot.setRequirements(5000, 25000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
CashRoot.addToFactions(["Sector-12"]);
|
|
|
|
if (augmentationExists(AugmentationNames.CashRoot)) {
|
|
|
|
delete Augmentations[AugmentationNames.CashRoot];
|
|
|
|
}
|
|
|
|
AddToAugmentations(CashRoot);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//NewTokyo
|
2017-05-18 20:01:18 +02:00
|
|
|
var NutriGen = new Augmentation(AugmentationNames.NutriGen);
|
2017-08-13 07:01:33 +02:00
|
|
|
NutriGen.setInfo("A thermo-powered artificial nutrition generator. Endogenously " +
|
2017-05-20 09:33:33 +02:00
|
|
|
"synthesizes glucose, amino acids, and vitamins and redistributes them " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"across the body. The device is powered by the body's naturally wasted " +
|
|
|
|
"energy in the form of heat.<br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"Increases the player's experience gain rate for all combat stats by 20%");
|
2017-06-01 01:39:03 +02:00
|
|
|
NutriGen.setRequirements(2500, 500000);
|
2017-05-18 20:01:18 +02:00
|
|
|
NutriGen.addToFactions(["New Tokyo"]);
|
|
|
|
if (augmentationExists(AugmentationNames.NutriGen)) {
|
|
|
|
delete Augmentations[AugmentationNames.NutriGen];
|
|
|
|
}
|
|
|
|
AddToAugmentations(NutriGen);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Aevum
|
|
|
|
//TODO Later Something that lets you learn advanced math...this increases int
|
|
|
|
//and profits as a trader/from trading
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Ishima
|
2017-05-18 20:01:18 +02:00
|
|
|
var INFRARet = new Augmentation(AugmentationNames.INFRARet);
|
2017-08-13 07:01:33 +02:00
|
|
|
INFRARet.setInfo("A retina implant consisting of a tiny chip that sits behind the " +
|
|
|
|
"retina. This implant lets people visually detect infrared radiation. <br><br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the player's crime success rate by 25%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 10%<br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"Increases the player's dexterity by 10%");
|
2017-06-01 01:39:03 +02:00
|
|
|
INFRARet.setRequirements(3000, 6000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
INFRARet.addToFactions(["Ishima"]);
|
|
|
|
if (augmentationExists(AugmentationNames.INFRARet)) {
|
|
|
|
delete Augmentations[AugmentationNames.INFRARet];
|
|
|
|
}
|
|
|
|
AddToAugmentations(INFRARet);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Volhaven
|
2017-05-18 20:01:18 +02:00
|
|
|
var DermaForce = new Augmentation(AugmentationNames.DermaForce);
|
|
|
|
DermaForce.setInfo("A synthetic skin is grafted onto the body. The skin consists of " +
|
|
|
|
"millions of nanobots capable of projecting high-density muon beams, " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"creating an energy barrier around the user. <br><br>" +
|
2017-05-18 20:01:18 +02:00
|
|
|
"This augmentation increases the player's defense by 50%");
|
2017-06-01 01:39:03 +02:00
|
|
|
DermaForce.setRequirements(6000, 10000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
DermaForce.addToFactions(["Volhaven"]);
|
|
|
|
if (augmentationExists(AugmentationNames.DermaForce)) {
|
|
|
|
delete Augmentations[AugmentationNames.DermaForce];
|
|
|
|
}
|
|
|
|
AddToAugmentations(DermaForce);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//SpeakersForTheDead
|
2017-05-18 20:01:18 +02:00
|
|
|
var GrapheneBrachiBlades = new Augmentation(AugmentationNames.GrapheneBrachiBlades);
|
2017-08-13 07:01:33 +02:00
|
|
|
GrapheneBrachiBlades.setInfo("An upgrade to the BrachiBlades augmentation. It infuses " +
|
|
|
|
"the retractable blades with an advanced graphene material " +
|
|
|
|
"to make them much stronger and lighter. <br><br>" +
|
|
|
|
"This augmentation:<br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"Increases the player's strength and defense by 40%<br>" +
|
2017-08-13 07:01:33 +02:00
|
|
|
"Increases the player's crime success rate by 10%<br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 30%");
|
2017-06-01 01:39:03 +02:00
|
|
|
GrapheneBrachiBlades.setRequirements(90000, 500000000);
|
2017-05-19 06:31:36 +02:00
|
|
|
GrapheneBrachiBlades.addToFactions(["Speakers for the Dead"]);
|
|
|
|
if (augmentationExists(AugmentationNames.GrapheneBrachiBlades)) {
|
|
|
|
delete Augmentations[AugmentationNames.GrapheneBrachiBlades];
|
|
|
|
}
|
|
|
|
AddToAugmentations(GrapheneBrachiBlades);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//DarkArmy
|
2017-05-18 20:01:18 +02:00
|
|
|
var GrapheneBionicArms = new Augmentation(AugmentationNames.GrapheneBionicArms);
|
2017-08-13 07:01:33 +02:00
|
|
|
GrapheneBionicArms.setInfo("An upgrade to the Bionic Arms augmentation. It infuses the " +
|
|
|
|
"prosthetic arms with an advanced graphene material " +
|
|
|
|
"to make them much stronger and lighter. <br><br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"This augmentation increases the player's strength and dexterity by 85%");
|
2017-06-01 01:39:03 +02:00
|
|
|
GrapheneBionicArms.setRequirements(200000, 750000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
GrapheneBionicArms.addToFactions(["The Dark Army"]);
|
|
|
|
if (augmentationExists(AugmentationNames.GrapheneBionicArms)) {
|
|
|
|
delete Augmentations[AugmentationNames.GrapheneBionicArms];
|
|
|
|
}
|
|
|
|
AddToAugmentations(GrapheneBionicArms);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//TheSyndicate
|
2017-05-18 20:01:18 +02:00
|
|
|
var BrachiBlades = new Augmentation(AugmentationNames.BrachiBlades);
|
|
|
|
BrachiBlades.setInfo("A set of retractable plasteel blades are implanted in the arm, underneath the skin. " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"<br><br>This augmentation: <br>" +
|
|
|
|
"Increases the player's strength and defense by 15%<br>" +
|
|
|
|
"Increases the player's crime success rate by 10%<br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"Increases the amount of money the player gains from crimes by 15%");
|
2017-06-01 01:39:03 +02:00
|
|
|
BrachiBlades.setRequirements(5000, 18000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
BrachiBlades.addToFactions(["The Syndicate"]);
|
|
|
|
if (augmentationExists(AugmentationNames.BrachiBlades)) {
|
|
|
|
delete Augmentations[AugmentationNames.BrachiBlades];
|
|
|
|
}
|
|
|
|
AddToAugmentations(BrachiBlades);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//Tetrads
|
2017-05-18 20:01:18 +02:00
|
|
|
var BionicArms = new Augmentation(AugmentationNames.BionicArms);
|
2017-08-13 07:01:33 +02:00
|
|
|
BionicArms.setInfo("Cybernetic arms created from plasteel and carbon fibers that completely replace " +
|
|
|
|
"the user's organic arms. <br><br>" +
|
2017-06-19 01:23:50 +02:00
|
|
|
"This augmentation increases the user's strength and dexterity by 30%");
|
2017-06-01 01:39:03 +02:00
|
|
|
BionicArms.setRequirements(25000, 55000000);
|
2017-05-20 11:27:42 +02:00
|
|
|
BionicArms.addToFactions(["Tetrads"]);
|
|
|
|
if (augmentationExists(AugmentationNames.BionicArms)) {
|
2017-05-18 20:01:18 +02:00
|
|
|
delete Augmentations[AugmentationNames.BionicArms];
|
|
|
|
}
|
|
|
|
AddToAugmentations(BionicArms);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-18 06:58:49 +02:00
|
|
|
//TianDiHui
|
2017-05-18 20:01:18 +02:00
|
|
|
var SNA = new Augmentation(AugmentationNames.SNA);
|
|
|
|
SNA.setInfo("A cranial implant that affects the user's personality, making them better " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"at negotiation in social situations. <br><br>" +
|
|
|
|
"This augmentation: <br>" +
|
|
|
|
"Increases the amount of money the player earns at a company by 10%<br>" +
|
|
|
|
"Increases the amount of reputation the player gains when working for a " +
|
2017-06-02 07:34:57 +02:00
|
|
|
"company or faction by 15%");
|
2017-06-01 01:39:03 +02:00
|
|
|
SNA.setRequirements(2500, 6000000);
|
2017-05-18 20:01:18 +02:00
|
|
|
SNA.addToFactions(["Tian Di Hui"]);
|
|
|
|
if (augmentationExists(AugmentationNames.SNA)) {
|
2017-05-19 06:31:36 +02:00
|
|
|
delete Augmentations[AugmentationNames.SNA];
|
2017-05-18 20:01:18 +02:00
|
|
|
}
|
|
|
|
AddToAugmentations(SNA);
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-06-26 01:39:17 +02:00
|
|
|
//Update costs based on how many have been purchased
|
2017-06-28 06:11:27 +02:00
|
|
|
var mult = Math.pow(CONSTANTS.MultipleAugMultiplier, Player.queuedAugmentations.length);
|
2017-06-26 01:39:17 +02:00
|
|
|
for (var name in Augmentations) {
|
|
|
|
if (Augmentations.hasOwnProperty(name)) {
|
|
|
|
Augmentations[name].baseCost *= mult;
|
|
|
|
}
|
|
|
|
}
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-06-28 22:53:12 +02:00
|
|
|
Player.reapplyAllAugmentations();
|
2017-08-13 07:01:33 +02:00
|
|
|
|
|
|
|
//In BitNode-2, these crime/evil factions have all AugmentationsAvailable
|
|
|
|
if (Player.bitNodeN == 2) {
|
|
|
|
console.log("Adding all augmentations to crime factions for Bit node 2");
|
|
|
|
Factions["Slum Snakes"].addAllAugmentations();
|
|
|
|
Factions["Tetrads"].addAllAugmentations();
|
|
|
|
Factions["The Syndicate"].addAllAugmentations();
|
|
|
|
Factions["The Dark Army"].addAllAugmentations();
|
|
|
|
Factions["Speakers for the Dead"].addAllAugmentations();
|
|
|
|
Factions["NiteSec"].addAllAugmentations();
|
|
|
|
Factions["The Black Hand"].addAllAugmentations();
|
|
|
|
}
|
2016-12-22 16:56:15 +01:00
|
|
|
}
|
|
|
|
|
2017-08-30 19:44:29 +02:00
|
|
|
function applyAugmentation(aug, reapply=false) {
|
2017-06-26 01:39:17 +02:00
|
|
|
Augmentations[aug.name].owned = true;
|
2017-02-17 23:19:25 +01:00
|
|
|
switch(aug.name) {
|
|
|
|
//Combat stat augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Targeting1:
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.dexterity_mult *= 1.10;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Targeting2:
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.dexterity_mult *= 1.20;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Targeting3:
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.dexterity_mult *= 1.30;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.SyntheticHeart: //High level
|
2017-06-19 16:54:11 +02:00
|
|
|
Player.agility_mult *= 1.5;
|
|
|
|
Player.strength_mult *= 1.5;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.SynfibrilMuscle: //Medium-high level
|
2017-06-19 16:54:11 +02:00
|
|
|
Player.strength_mult *= 1.35;
|
|
|
|
Player.defense_mult *= 1.35;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.CombatRib1:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.strength_mult *= 1.1;
|
|
|
|
Player.defense_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.CombatRib2:
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.strength_mult *= 1.15;
|
|
|
|
Player.defense_mult *= 1.15;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-06-18 06:36:16 +02:00
|
|
|
case AugmentationNames.CombatRib3:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.20;
|
|
|
|
Player.defense_mult *= 1.20;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.NanofiberWeave: //Med level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.strength_mult *= 1.25;
|
|
|
|
Player.defense_mult *= 1.25;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-12 20:12:32 +02:00
|
|
|
case AugmentationNames.SubdermalArmor: //High level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.defense_mult *= 2.25;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.WiredReflexes: //Low level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.agility_mult *= 1.05;
|
|
|
|
Player.dexterity_mult *= 1.05;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.GrapheneBoneLacings: //High level
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.strength_mult *= 1.7;
|
|
|
|
Player.defense_mult *= 1.7;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.BionicSpine: //Med level
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.strength_mult *= 1.16;
|
|
|
|
Player.defense_mult *= 1.16;
|
|
|
|
Player.agility_mult *= 1.16;
|
|
|
|
Player.dexterity_mult *= 1.16;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.GrapheneBionicSpine: //High level
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.strength_mult *= 1.6;
|
|
|
|
Player.defense_mult *= 1.6;
|
|
|
|
Player.agility_mult *= 1.6;
|
|
|
|
Player.dexterity_mult *= 1.6;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.BionicLegs: //Med level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.agility_mult *= 1.6;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.GrapheneBionicLegs: //High level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.agility_mult *= 2.75;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-02-17 23:19:25 +01:00
|
|
|
//Labor stats augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.EnhancedSocialInteractionImplant: //Med-high level
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.charisma_mult *= 1.6;
|
|
|
|
Player.charisma_exp_mult *= 1.6;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.TITN41Injection:
|
|
|
|
Player.charisma_mult *= 1.15;
|
|
|
|
Player.charisma_exp_mult *= 1.15;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.SpeechProcessor: //Med level
|
2017-02-20 23:06:16 +01:00
|
|
|
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-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.BitWire:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.05;
|
2017-05-05 16:21:08 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ArtificialBioNeuralNetwork: //Med level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.hacking_money_mult *= 1.15;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.12;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ArtificialSynapticPotentiation: //Med level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
2017-05-17 15:55:59 +02:00
|
|
|
Player.hacking_chance_mult *= 1.05;
|
|
|
|
Player.hacking_exp_mult *= 1.05;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.EnhancedMyelinSheathing: //Med level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_exp_mult *= 1.1;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.08;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.SynapticEnhancement: //Low Level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.NeuralRetentionEnhancement: //Med level
|
2017-06-18 10:24:08 +02:00
|
|
|
Player.hacking_exp_mult *= 1.25;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.DataJack: //Med low level
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_money_mult *= 1.25;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENM: //Medium level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.08;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENMCore: //Medium level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_money_mult *= 1.1;
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.hacking_chance_mult *= 1.03;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_exp_mult *= 1.07;
|
|
|
|
Player.hacking_mult *= 1.07;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENMCoreV2: //Medium high level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.05;
|
|
|
|
Player.hacking_money_mult *= 1.3;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_chance_mult *= 1.05;
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_exp_mult *= 1.15;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.08;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENMCoreV3: //High level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.05;
|
|
|
|
Player.hacking_money_mult *= 1.4;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_chance_mult *= 1.1;
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_exp_mult *= 1.25;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.1;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENMAnalyzeEngine: //High level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.1;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ENMDMA: //High level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_money_mult *= 1.4;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_chance_mult *= 1.2;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Neuralstimulator: //Medium Level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
|
|
|
Player.hacking_chance_mult *= 1.1;
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_exp_mult *= 1.12;
|
2017-02-17 23:19:25 +01:00
|
|
|
break;
|
2017-05-31 17:58:09 +02:00
|
|
|
case AugmentationNames.NeuralAccelerator:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.1;
|
|
|
|
Player.hacking_exp_mult *= 1.15;
|
2017-05-31 17:58:09 +02:00
|
|
|
Player.hacking_money_mult *= 1.2;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.CranialSignalProcessorsG1:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.01;
|
|
|
|
Player.hacking_mult *= 1.05;
|
2017-05-31 17:58:09 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.CranialSignalProcessorsG2:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
2017-05-31 17:58:09 +02:00
|
|
|
Player.hacking_chance_mult *= 1.05;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.07;
|
2017-05-31 17:58:09 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.CranialSignalProcessorsG3:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
|
|
|
Player.hacking_money_mult *= 1.15;
|
|
|
|
Player.hacking_mult *= 1.09;
|
2017-05-31 17:58:09 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.CranialSignalProcessorsG4:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
|
|
|
Player.hacking_money_mult *= 1.2;
|
2017-05-31 17:58:09 +02:00
|
|
|
Player.hacking_grow_mult *= 1.25;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.CranialSignalProcessorsG5:
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.hacking_mult *= 1.3;
|
|
|
|
Player.hacking_money_mult *= 1.25;
|
|
|
|
Player.hacking_grow_mult *= 1.75;
|
2017-05-31 17:58:09 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.NeuronalDensification:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.15;
|
2017-06-18 11:31:14 +02:00
|
|
|
Player.hacking_exp_mult *= 1.1;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-05-31 17:58:09 +02:00
|
|
|
break;
|
2017-02-20 23:06:16 +01:00
|
|
|
|
2017-02-08 23:50:22 +01:00
|
|
|
//Work augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.NuoptimalInjectorImplant: //Low medium level
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.company_rep_mult *= 1.2;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.SpeechEnhancement: //Low level
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
Player.charisma_mult *= 1.1;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.FocusWire: //Med level
|
2017-07-13 18:54:29 +02:00
|
|
|
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;
|
|
|
|
Player.charisma_exp_mult *= 1.05;
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
Player.work_money_mult *= 1.2;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.PCDNI: //Med level
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.company_rep_mult *= 1.3;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.08;
|
2017-02-20 23:06:16 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.PCDNIOptimizer: //High level
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.company_rep_mult *= 1.75;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.1;
|
2017-08-13 07:01:33 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.PCDNINeuralNetwork: //High level
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.company_rep_mult *= 2;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_mult *= 1.1;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.05;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.ADRPheromone1:
|
|
|
|
Player.company_rep_mult *= 1.1;
|
|
|
|
Player.faction_rep_mult *= 1.1;
|
|
|
|
break;
|
2017-10-02 04:35:22 +02:00
|
|
|
case AugmentationNames.ADRPheromone2:
|
|
|
|
Player.company_rep_mult *= 1.2;
|
|
|
|
Player.faction_rep_mult *= 1.2;
|
|
|
|
break;
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-02 21:24:24 +02:00
|
|
|
//Hacknet Node Augmentations
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.HacknetNodeCPUUpload:
|
2017-05-31 17:58:09 +02:00
|
|
|
Player.hacknet_node_money_mult *= 1.15;
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.hacknet_node_purchase_cost_mult *= 0.85;
|
2017-05-02 21:24:24 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.HacknetNodeCacheUpload:
|
2017-05-31 17:58:09 +02:00
|
|
|
Player.hacknet_node_money_mult *= 1.10;
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.hacknet_node_level_cost_mult *= 0.85;
|
2017-05-02 21:24:24 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.HacknetNodeNICUpload:
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.hacknet_node_money_mult *= 1.1;
|
|
|
|
Player.hacknet_node_purchase_cost_mult *= 0.9;
|
2017-05-02 21:24:24 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.HacknetNodeKernelDNI:
|
2017-05-30 03:25:52 +02:00
|
|
|
Player.hacknet_node_money_mult *= 1.25;
|
2017-05-02 21:24:24 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.HacknetNodeCoreDNI:
|
2017-05-30 03:25:52 +02:00
|
|
|
Player.hacknet_node_money_mult *= 1.45;
|
2017-05-02 21:24:24 +02:00
|
|
|
break;
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-02-08 23:50:22 +01:00
|
|
|
//Misc augmentations
|
2017-05-07 12:04:54 +02:00
|
|
|
case AugmentationNames.NeuroFluxGovernor:
|
2017-05-30 00:37:38 +02:00
|
|
|
Player.hacking_chance_mult *= 1.01;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.01;
|
2017-05-30 00:37:38 +02:00
|
|
|
Player.hacking_money_mult *= 1.01;
|
2017-05-31 19:37:32 +02:00
|
|
|
Player.hacking_grow_mult *= 1.01;
|
2017-05-30 00:37:38 +02:00
|
|
|
Player.hacking_mult *= 1.01;
|
|
|
|
|
|
|
|
Player.strength_mult *= 1.01;
|
|
|
|
Player.defense_mult *= 1.01;
|
|
|
|
Player.dexterity_mult *= 1.01;
|
|
|
|
Player.agility_mult *= 1.01;
|
|
|
|
Player.charisma_mult *= 1.01;
|
|
|
|
|
|
|
|
Player.hacking_exp_mult *= 1.01;
|
|
|
|
Player.strength_exp_mult *= 1.01;
|
|
|
|
Player.defense_exp_mult *= 1.01;
|
|
|
|
Player.dexterity_exp_mult *= 1.01;
|
|
|
|
Player.agility_exp_mult *= 1.01;
|
|
|
|
Player.charisma_exp_mult *= 1.01;
|
|
|
|
|
|
|
|
Player.company_rep_mult *= 1.01;
|
|
|
|
Player.faction_rep_mult *= 1.01;
|
|
|
|
|
|
|
|
Player.crime_money_mult *= 1.01;
|
|
|
|
Player.crime_success_mult *= 1.01;
|
|
|
|
|
|
|
|
Player.hacknet_node_money_mult *= 1.01;
|
2017-05-30 04:29:57 +02:00
|
|
|
Player.hacknet_node_purchase_cost_mult *= 0.99;
|
|
|
|
Player.hacknet_node_ram_cost_mult *= 0.99;
|
|
|
|
Player.hacknet_node_core_cost_mult *= 0.99;
|
|
|
|
Player.hacknet_node_level_cost_mult *= 0.99;
|
2017-05-30 00:37:38 +02:00
|
|
|
|
|
|
|
Player.work_money_mult *= 1.01;
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-30 00:37:38 +02:00
|
|
|
if (!reapply) {
|
2017-06-26 01:39:17 +02:00
|
|
|
Augmentations[aug.name].level = aug.level;
|
|
|
|
for (var i = 0; i < Player.augmentations.length; ++i) {
|
|
|
|
if (Player.augmentations[i].name == AugmentationNames.NeuroFluxGovernor) {
|
|
|
|
Player.augmentations[i].level = aug.level;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2017-05-30 00:37:38 +02:00
|
|
|
}
|
2017-08-13 07:01:33 +02:00
|
|
|
break;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Neurotrainer1: //Low Level
|
2017-02-20 23:06:16 +01:00
|
|
|
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;
|
2017-05-17 05:50:32 +02:00
|
|
|
case AugmentationNames.Neurotrainer2: //Medium level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_exp_mult *= 1.15;
|
|
|
|
Player.strength_exp_mult *= 1.15;
|
|
|
|
Player.defense_exp_mult *= 1.15;
|
|
|
|
Player.dexterity_exp_mult *= 1.15;
|
|
|
|
Player.agility_exp_mult *= 1.15;
|
|
|
|
Player.charisma_exp_mult *= 1.15;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.Neurotrainer3: //High Level
|
2017-02-20 23:06:16 +01:00
|
|
|
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;
|
2017-05-07 10:22:50 +02:00
|
|
|
case AugmentationNames.Hypersight: //Medium high level
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.dexterity_mult *= 1.4;
|
|
|
|
Player.hacking_speed_mult *= 1.03;
|
2017-02-20 23:06:16 +01:00
|
|
|
Player.hacking_money_mult *= 1.1;
|
2017-02-08 23:50:22 +01:00
|
|
|
break;
|
2017-05-12 20:12:32 +02:00
|
|
|
case AugmentationNames.LuminCloaking1:
|
|
|
|
Player.agility_mult *= 1.05;
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.crime_money_mult *= 1.1;
|
2017-05-12 20:12:32 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.LuminCloaking2:
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.agility_mult *= 1.1;
|
|
|
|
Player.defense_mult *= 1.1;
|
|
|
|
Player.crime_money_mult *= 1.25;
|
2017-05-12 20:12:32 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.HemoRecirculator:
|
2017-07-13 18:54:29 +02:00
|
|
|
Player.strength_mult *= 1.08;
|
|
|
|
Player.defense_mult *= 1.08;
|
|
|
|
Player.agility_mult *= 1.08;
|
|
|
|
Player.dexterity_mult *= 1.08;
|
2017-05-12 20:12:32 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.SmartSonar:
|
|
|
|
Player.dexterity_mult *= 1.1;
|
2017-05-17 05:50:32 +02:00
|
|
|
Player.dexterity_exp_mult *= 1.15;
|
|
|
|
Player.crime_money_mult *= 1.25;
|
2017-05-12 20:12:32 +02:00
|
|
|
break;
|
2017-05-13 02:29:17 +02:00
|
|
|
case AugmentationNames.PowerRecirculator:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.05;
|
|
|
|
Player.strength_mult *= 1.05;
|
|
|
|
Player.defense_mult *= 1.05;
|
|
|
|
Player.dexterity_mult *= 1.05;
|
|
|
|
Player.agility_mult *= 1.05;
|
|
|
|
Player.charisma_mult *= 1.05;
|
2017-05-13 02:29:17 +02:00
|
|
|
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;
|
2017-05-18 22:00:37 +02:00
|
|
|
//Unique augmentations (for factions)
|
|
|
|
case AugmentationNames.QLink:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.1;
|
2017-05-18 22:00:37 +02:00
|
|
|
Player.hacking_chance_mult *= 1.3;
|
|
|
|
Player.hacking_money_mult *= 2;
|
|
|
|
break;
|
2017-07-07 04:24:59 +02:00
|
|
|
case AugmentationNames.TheRedPill:
|
|
|
|
break;
|
2017-05-18 22:00:37 +02:00
|
|
|
case AugmentationNames.SPTN97:
|
|
|
|
Player.strength_mult *= 1.75;
|
|
|
|
Player.defense_mult *= 1.75;
|
|
|
|
Player.dexterity_mult *= 1.75;
|
|
|
|
Player.agility_mult *= 1.75;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.HiveMind:
|
|
|
|
Player.hacking_grow_mult *= 3;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.CordiARCReactor:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.strength_mult *= 1.35;
|
|
|
|
Player.defense_mult *= 1.35;
|
|
|
|
Player.dexterity_mult *= 1.35;
|
|
|
|
Player.agility_mult *= 1.35;
|
|
|
|
Player.strength_exp_mult *= 1.35;
|
|
|
|
Player.defense_exp_mult *= 1.35;
|
|
|
|
Player.dexterity_exp_mult *= 1.35;
|
|
|
|
Player.agility_exp_mult *= 1.35;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.SmartJaw:
|
|
|
|
Player.charisma_mult *= 1.5;
|
|
|
|
Player.charisma_exp_mult *= 1.5;
|
|
|
|
Player.company_rep_mult *= 1.25;
|
|
|
|
Player.faction_rep_mult *= 1.25;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.Neotra:
|
2017-06-19 16:54:11 +02:00
|
|
|
Player.strength_mult *= 1.55;
|
|
|
|
Player.defense_mult *= 1.55;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.Xanipher:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.2;
|
|
|
|
Player.strength_mult *= 1.2;
|
|
|
|
Player.defense_mult *= 1.2;
|
|
|
|
Player.dexterity_mult *= 1.2;
|
|
|
|
Player.agility_mult *= 1.2;
|
|
|
|
Player.charisma_mult *= 1.2;
|
|
|
|
Player.hacking_exp_mult *= 1.15;
|
|
|
|
Player.strength_exp_mult *= 1.15;
|
|
|
|
Player.defense_exp_mult *= 1.15;
|
|
|
|
Player.dexterity_exp_mult *= 1.15;
|
|
|
|
Player.agility_exp_mult *= 1.15;
|
|
|
|
Player.charisma_exp_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.nextSENS:
|
|
|
|
Player.hacking_mult *= 1.2;
|
|
|
|
Player.strength_mult *= 1.2;
|
|
|
|
Player.defense_mult *= 1.2;
|
|
|
|
Player.dexterity_mult *= 1.2;
|
|
|
|
Player.agility_mult *= 1.2;
|
|
|
|
Player.charisma_mult *= 1.2;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.OmniTekInfoLoad:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.2;
|
|
|
|
Player.hacking_exp_mult *= 1.25;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.PhotosyntheticCells:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.4;
|
|
|
|
Player.defense_mult *= 1.4;
|
|
|
|
Player.agility_mult *= 1.4;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.Neurolink:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.15;
|
|
|
|
Player.hacking_exp_mult *= 1.2;
|
2017-05-18 22:00:37 +02:00
|
|
|
Player.hacking_chance_mult *= 1.1;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.05;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.TheBlackHand:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.15;
|
|
|
|
Player.dexterity_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
Player.hacking_mult *= 1.1;
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_speed_mult *= 1.02;
|
2017-05-18 22:00:37 +02:00
|
|
|
Player.hacking_money_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.CRTX42AA:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_mult *= 1.08;
|
|
|
|
Player.hacking_exp_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.Neuregen:
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.hacking_exp_mult *= 1.4;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
2017-05-23 16:31:55 +02:00
|
|
|
case AugmentationNames.CashRoot:
|
|
|
|
break;
|
2017-05-18 22:00:37 +02:00
|
|
|
case AugmentationNames.NutriGen:
|
|
|
|
Player.strength_exp_mult *= 1.2;
|
|
|
|
Player.defense_exp_mult *= 1.2;
|
|
|
|
Player.dexterity_exp_mult *= 1.2;
|
|
|
|
Player.agility_exp_mult *= 1.2;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.INFRARet:
|
|
|
|
Player.crime_success_mult *= 1.25;
|
|
|
|
Player.crime_money_mult *= 1.1;
|
|
|
|
Player.dexterity_mult *= 1.1;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.DermaForce:
|
|
|
|
Player.defense_mult *= 1.5;
|
|
|
|
break;
|
|
|
|
case AugmentationNames.GrapheneBrachiBlades:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.4;
|
|
|
|
Player.defense_mult *= 1.4;
|
2017-05-19 06:31:36 +02:00
|
|
|
Player.crime_success_mult *= 1.1;
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.crime_money_mult *= 1.3;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.GrapheneBionicArms:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.85;
|
|
|
|
Player.dexterity_mult *= 1.85;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.BrachiBlades:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.15;
|
|
|
|
Player.defense_mult *= 1.15;
|
2017-05-19 06:31:36 +02:00
|
|
|
Player.crime_success_mult *= 1.1;
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.crime_money_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.BionicArms:
|
2017-06-19 01:23:50 +02:00
|
|
|
Player.strength_mult *= 1.3;
|
|
|
|
Player.dexterity_mult *= 1.3;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
|
|
|
case AugmentationNames.SNA:
|
|
|
|
Player.work_money_mult *= 1.1;
|
2017-06-02 07:34:57 +02:00
|
|
|
Player.company_rep_mult *= 1.15;
|
|
|
|
Player.faction_rep_mult *= 1.15;
|
2017-05-18 22:00:37 +02:00
|
|
|
break;
|
2017-02-17 23:19:25 +01:00
|
|
|
default:
|
2017-05-07 10:22:50 +02:00
|
|
|
throw new Error("ERROR: No such augmentation!");
|
2017-02-17 23:19:25 +01:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2017-06-24 23:33:44 +02:00
|
|
|
if (aug.name == AugmentationNames.NeuroFluxGovernor) {
|
2017-06-26 01:39:17 +02:00
|
|
|
for (var i = 0; i < Player.augmentations.length; ++i) {
|
2017-06-24 23:33:44 +02:00
|
|
|
if (Player.augmentations[i].name == AugmentationNames.NeuroFluxGovernor) {
|
|
|
|
//Already have this aug, just upgrade the level
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
2017-05-23 18:15:17 +02:00
|
|
|
}
|
2017-08-13 07:01:33 +02:00
|
|
|
|
2017-05-30 00:37:38 +02:00
|
|
|
if (!reapply) {
|
2017-06-24 23:33:44 +02:00
|
|
|
var ownedAug = new PlayerOwnedAugmentation(aug.name);
|
|
|
|
Player.augmentations.push(ownedAug);
|
2017-05-30 00:37:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-24 23:33:44 +02:00
|
|
|
function PlayerOwnedAugmentation(name) {
|
|
|
|
this.name = name;
|
|
|
|
this.level = 1;
|
|
|
|
}
|
|
|
|
|
2017-09-29 17:02:33 +02:00
|
|
|
function installAugmentations(cbScript=null) {
|
2017-06-26 01:39:17 +02:00
|
|
|
if (Player.queuedAugmentations.length == 0) {
|
|
|
|
dialogBoxCreate("You have not purchased any Augmentations to install!");
|
2017-08-30 19:44:29 +02:00
|
|
|
return false;
|
2017-06-26 01:39:17 +02:00
|
|
|
}
|
|
|
|
var augmentationList = "";
|
|
|
|
for (var i = 0; i < Player.queuedAugmentations.length; ++i) {
|
|
|
|
var aug = Augmentations[Player.queuedAugmentations[i].name];
|
|
|
|
if (aug == null) {
|
|
|
|
console.log("ERROR. Invalid augmentation");
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
applyAugmentation(Player.queuedAugmentations[i]);
|
|
|
|
augmentationList += (aug.name + "<br>");
|
|
|
|
}
|
|
|
|
Player.queuedAugmentations = [];
|
|
|
|
dialogBoxCreate("You slowly drift to sleep as scientists put you under in order " +
|
2017-08-13 07:01:33 +02:00
|
|
|
"to install the following Augmentations:<br>" + augmentationList +
|
2017-06-26 01:39:17 +02:00
|
|
|
"<br>You wake up in your home...you feel different...");
|
|
|
|
prestigeAugmentation();
|
2017-09-29 17:02:33 +02:00
|
|
|
|
|
|
|
//Run a script after prestiging
|
2017-10-02 04:35:22 +02:00
|
|
|
if (cbScript && isString(cbScript)) {
|
2017-09-29 17:02:33 +02:00
|
|
|
var home = Player.getHomeComputer();
|
|
|
|
for (var i = 0; i < home.scripts.length; ++i) {
|
|
|
|
if (home.scripts[i].filename === cbScript) {
|
|
|
|
var script = home.scripts[i];
|
|
|
|
var ramUsage = script.ramUsage;
|
|
|
|
var ramAvailable = home.maxRam - home.ramUsed;
|
|
|
|
if (ramUsage > ramAvailable) {
|
|
|
|
return; //Not enough RAM
|
|
|
|
}
|
|
|
|
var runningScriptObj = new RunningScript(script, []); //No args
|
|
|
|
runningScriptObj.threads = 1; //Only 1 thread
|
|
|
|
home.runningScripts.push(runningScriptObj);
|
|
|
|
addWorkerScript(runningScriptObj, home);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-06-26 01:39:17 +02:00
|
|
|
}
|
|
|
|
|
2017-05-07 10:22:50 +02:00
|
|
|
function augmentationExists(name) {
|
|
|
|
return Augmentations.hasOwnProperty(name);
|
2017-06-18 06:36:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//Used for testing balance
|
|
|
|
function giveAllAugmentations() {
|
2017-06-18 10:24:08 +02:00
|
|
|
for (var name in Augmentations) {
|
|
|
|
var aug = Augmentations[name];
|
|
|
|
if (aug == null) {continue;}
|
2017-06-24 23:33:44 +02:00
|
|
|
var ownedAug = new PlayerOwnedAugmentation(name);
|
|
|
|
Player.augmentations.push(ownedAug);
|
2017-06-18 10:24:08 +02:00
|
|
|
}
|
2017-06-18 06:36:16 +02:00
|
|
|
Player.reapplyAllAugmentations();
|
2017-08-13 07:01:33 +02:00
|
|
|
}
|
2017-08-30 19:44:29 +02:00
|
|
|
|
|
|
|
export {AugmentationNames, Augmentations, PlayerOwnedAugmentation, installAugmentations,
|
|
|
|
initAugmentations, applyAugmentation, augmentationExists, Augmentation};
|