mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
Show on tooltip that bladeburner augs can be grafted (#427)
This commit is contained in:
parent
4723984bf8
commit
5ffefcca80
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user