Added :q, :x, :wq Vim Ex commands. Added ADR-v2 Pheromone new Augmentation. Fixed bugs and added improvements to Hacking missions.

This commit is contained in:
danielyxie
2017-10-01 21:35:22 -05:00
parent 26fe9eb519
commit 662f30cc38
12 changed files with 576 additions and 345 deletions
+2 -2
View File
@@ -1973,7 +1973,7 @@ function NetscriptFunctions(workerScript) {
return false;
}
},
installAugmentations() {
installAugmentations(cbScript) {
if (Player.bitNodeN != 4) {
if (!(hasSingularitySF && singularitySFLvl >= 3)) {
throw makeRuntimeRejectMsg(workerScript, "Cannot run installAugmentations(). It is a Singularity Function and requires SourceFile-4 (level 3) to run.");
@@ -1987,7 +1987,7 @@ function NetscriptFunctions(workerScript) {
}
Player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain);
workerScript.scriptRef.log("Installing Augmentations. This will cause this script to be killed");
installAugmentations();
installAugmentations(cbScript);
return true;
}
}