Show on tooltip that bladeburner augs can be grafted (#427)

This commit is contained in:
Zelow79 2023-03-17 07:57:38 -04:00 committed by GitHub
parent 4723984bf8
commit 5ffefcca80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,7 @@ import { Augmentation } from "../Augmentation";
import { AugmentationNames } from "../data/AugmentationNames";
import { StaticAugmentations } from "../StaticAugmentations";
import { PurchaseAugmentationModal } from "./PurchaseAugmentationModal";
import { FactionNames } from "../../Faction/data/FactionNames";
interface IPreReqsProps {
aug: Augmentation;
@ -89,7 +90,7 @@ const Exclusive = (props: IExclusiveProps): React.ReactElement => {
</li>
)}
{Player.canAccessGrafting() &&
!props.aug.isSpecial &&
(!props.aug.isSpecial || props.aug.factions.includes(FactionNames.Bladeburners)) &&
props.aug.name !== AugmentationNames.TheRedPill && (
<li>
<b>Grafting</b>