Merge pull request #3245 from phyzical/augmentation-refactors

slice out refactor of augmenation realted stuff from new faction pr
This commit is contained in:
hydroflame
2022-03-29 23:47:27 -04:00
committed by GitHub
5 changed files with 2129 additions and 2208 deletions
+3 -1
View File
@@ -130,7 +130,9 @@ export function NetscriptSingularity(
augs = augs.filter((a) => a.factions.length > 1 || Factions[facName].augmentations.includes(a.name));
// Remove blacklisted augs.
const blacklist = [AugmentationNames.NeuroFluxGovernor, AugmentationNames.TheRedPill];
const blacklist = [AugmentationNames.NeuroFluxGovernor, AugmentationNames.TheRedPill].map(
(augmentation) => augmentation as string,
);
augs = augs.filter((a) => !blacklist.includes(a.name));
}