mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Attempt #1 at creating custom augment
This commit is contained in:
parent
a1e0d40963
commit
1ad0fbe2e1
@ -36,6 +36,19 @@ function initAugmentations() {
|
|||||||
//Reset Augmentations
|
//Reset Augmentations
|
||||||
clearObject(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
|
//Combat stat augmentations
|
||||||
const HemoRecirculator = new Augmentation({
|
const HemoRecirculator = new Augmentation({
|
||||||
name:AugmentationNames.HemoRecirculator, moneyCost: 9e6, repCost:4e3,
|
name:AugmentationNames.HemoRecirculator, moneyCost: 9e6, repCost:4e3,
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { IMap } from "../../types";
|
import { IMap } from "../../types";
|
||||||
|
|
||||||
export const AugmentationNames: IMap<string> = {
|
export const AugmentationNames: IMap<string> = {
|
||||||
|
CircadianRhythm: "Circadian Modulator",
|
||||||
Targeting1: "Augmented Targeting I",
|
Targeting1: "Augmented Targeting I",
|
||||||
Targeting2: "Augmented Targeting II",
|
Targeting2: "Augmented Targeting II",
|
||||||
Targeting3: "Augmented Targeting III",
|
Targeting3: "Augmented Targeting III",
|
||||||
|
Loading…
Reference in New Issue
Block a user