From 81f971b52ef6990c10c225ff3e021e15cd000466 Mon Sep 17 00:00:00 2001 From: nickofolas <60761231+nickofolas@users.noreply.github.com> Date: Fri, 8 Apr 2022 09:43:21 -0500 Subject: [PATCH] Add coloring to NFG display --- src/Augmentation/ui/AugmentationsRoot.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Augmentation/ui/AugmentationsRoot.tsx b/src/Augmentation/ui/AugmentationsRoot.tsx index 2bcd1ad9a..35bf1d221 100644 --- a/src/Augmentation/ui/AugmentationsRoot.tsx +++ b/src/Augmentation/ui/AugmentationsRoot.tsx @@ -36,8 +36,10 @@ const NeuroFluxDisplay = ({ player }: NFGDisplayProps): React.ReactElement => { return level > 0 ? ( - NeuroFlux Governor - Level {level} - {Augmentations[AugmentationNames.NeuroFluxGovernor].stats} + + NeuroFlux Governor - Level {level} + + {Augmentations[AugmentationNames.NeuroFluxGovernor].stats} ) : ( <> @@ -196,6 +198,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement { +!!((player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0) > 0) + +!!(player.entropy > 0) }, 1fr)`, + gap: 1, }} >