mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 06:02:26 +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 { AugmentationNames } from "../data/AugmentationNames";
|
||||||
import { StaticAugmentations } from "../StaticAugmentations";
|
import { StaticAugmentations } from "../StaticAugmentations";
|
||||||
import { PurchaseAugmentationModal } from "./PurchaseAugmentationModal";
|
import { PurchaseAugmentationModal } from "./PurchaseAugmentationModal";
|
||||||
|
import { FactionNames } from "../../Faction/data/FactionNames";
|
||||||
|
|
||||||
interface IPreReqsProps {
|
interface IPreReqsProps {
|
||||||
aug: Augmentation;
|
aug: Augmentation;
|
||||||
@ -89,7 +90,7 @@ const Exclusive = (props: IExclusiveProps): React.ReactElement => {
|
|||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
{Player.canAccessGrafting() &&
|
{Player.canAccessGrafting() &&
|
||||||
!props.aug.isSpecial &&
|
(!props.aug.isSpecial || props.aug.factions.includes(FactionNames.Bladeburners)) &&
|
||||||
props.aug.name !== AugmentationNames.TheRedPill && (
|
props.aug.name !== AugmentationNames.TheRedPill && (
|
||||||
<li>
|
<li>
|
||||||
<b>Grafting</b>
|
<b>Grafting</b>
|
||||||
|
Loading…
Reference in New Issue
Block a user