mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 02:22:23 +01:00
Add coloring to NFG display
This commit is contained in:
@ -36,8 +36,10 @@ const NeuroFluxDisplay = ({ player }: NFGDisplayProps): React.ReactElement => {
|
|||||||
|
|
||||||
return level > 0 ? (
|
return level > 0 ? (
|
||||||
<Paper sx={{ p: 1 }}>
|
<Paper sx={{ p: 1 }}>
|
||||||
<Typography variant="h5">NeuroFlux Governor - Level {level}</Typography>
|
<Typography variant="h5" color={Settings.theme.info}>
|
||||||
<Typography>{Augmentations[AugmentationNames.NeuroFluxGovernor].stats}</Typography>
|
NeuroFlux Governor - Level {level}
|
||||||
|
</Typography>
|
||||||
|
<Typography color={Settings.theme.info}>{Augmentations[AugmentationNames.NeuroFluxGovernor].stats}</Typography>
|
||||||
</Paper>
|
</Paper>
|
||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
@ -196,6 +198,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement {
|
|||||||
+!!((player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0) > 0) +
|
+!!((player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0) > 0) +
|
||||||
+!!(player.entropy > 0)
|
+!!(player.entropy > 0)
|
||||||
}, 1fr)`,
|
}, 1fr)`,
|
||||||
|
gap: 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NeuroFluxDisplay player={player} />
|
<NeuroFluxDisplay player={player} />
|
||||||
|
Reference in New Issue
Block a user