From ea2f412ef17d4a1cf1a29c417aaebc57762c3054 Mon Sep 17 00:00:00 2001 From: nickofolas Date: Sat, 21 May 2022 19:40:27 -0500 Subject: [PATCH] Initial densification of Augments list --- .../ui/PurchasableAugmentations.tsx | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/Augmentation/ui/PurchasableAugmentations.tsx b/src/Augmentation/ui/PurchasableAugmentations.tsx index 648e7247a..fd2204042 100644 --- a/src/Augmentation/ui/PurchasableAugmentations.tsx +++ b/src/Augmentation/ui/PurchasableAugmentations.tsx @@ -42,11 +42,13 @@ const PreReqs = (props: IPreReqsProps): React.ReactElement => { } > {hasPreReqs ? ( @@ -100,7 +102,10 @@ const Exclusive = (props: IExclusiveProps): React.ReactElement => { } > - + ); }; @@ -176,11 +181,12 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac return ( <> @@ -192,13 +198,13 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac }) } disabled={!props.parent.canPurchase(props.parent.player, aug) || props.owned} - sx={{ width: "48px", height: "48px", float: "left", clear: "none", mr: 1 }} + sx={{ width: "48px", height: "36px", float: "left", clear: "none", mr: 1 }} > {props.owned ? "Owned" : "Buy"} - + @@ -212,8 +218,8 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac } > + {aug.factions.length === 1 && !props.parent.sleeveAugs && ( )} + {aug.prereqs.length > 0 && !props.parent.sleeveAugs && } - - {aug.prereqs.length > 0 && !props.parent.sleeveAugs && } {props.owned || ( - + cost} value={numeralWrapper.formatMoney(cost)}