Attempt #1 at creating custom augment

This commit is contained in:
Tesseract1234567890 2021-06-03 11:03:20 -04:00
parent a1e0d40963
commit 1ad0fbe2e1
2 changed files with 14 additions and 0 deletions

@ -36,6 +36,19 @@ function initAugmentations() {
//Reset Augmentations
clearObject(Augmentations);
//Time-Based Augment Test
const CircadianRhythm = new Augmentation({
name:AugmentationNames.CircadianRhythm, moneyCost: 0, repCost:0,
info:"An injection which improves your perception by a variable amount.<br><br>" +
"This augmentation increases the player's hacking skill by a variable amount.",
hacking_mult: 1.08,
});
CircadianRhythm.addToFactions(["VitaLife"]);
if (augmentationExists(AugmentationNames.CircadianRhythm)) {
delete Augmentations[AugmentationNames.CircadianRhythm];
}
AddToAugmentations(CircadianRhythm);
//Combat stat augmentations
const HemoRecirculator = new Augmentation({
name:AugmentationNames.HemoRecirculator, moneyCost: 9e6, repCost:4e3,

@ -1,6 +1,7 @@
import { IMap } from "../../types";
export const AugmentationNames: IMap<string> = {
CircadianRhythm: "Circadian Modulator",
Targeting1: "Augmented Targeting I",
Targeting2: "Augmented Targeting II",
Targeting3: "Augmented Targeting III",