From 9000756ae5f28f7bd2176b7508d23b9e011d4ce6 Mon Sep 17 00:00:00 2001 From: Bill Date: Sat, 17 Jul 2021 13:11:25 -0400 Subject: [PATCH] Inventory add seed rarity level --- .../views/furniture/InventoryFurnitureView.scss | 2 +- .../inventory/views/furniture/InventoryFurnitureView.tsx | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/inventory/views/furniture/InventoryFurnitureView.scss b/src/views/inventory/views/furniture/InventoryFurnitureView.scss index f56fa741..089af5ef 100644 --- a/src/views/inventory/views/furniture/InventoryFurnitureView.scss +++ b/src/views/inventory/views/furniture/InventoryFurnitureView.scss @@ -1,4 +1,4 @@ -.limited-edition-info-container { +.stuffdata-extra-container { position: absolute; top: 5px; right: 15px; diff --git a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx b/src/views/inventory/views/furniture/InventoryFurnitureView.tsx index 01450fe4..b298cbec 100644 --- a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx +++ b/src/views/inventory/views/furniture/InventoryFurnitureView.tsx @@ -4,6 +4,7 @@ import { GetRoomEngine, GetSessionDataManager } from '../../../../api'; import { SendMessageHook } from '../../../../hooks/messages'; import { LocalizeText } from '../../../../utils/LocalizeText'; import { LimitedEditionCompactPlateView } from '../../../shared/limited-edition/compact-plate/LimitedEditionCompactPlateView'; +import { RarityLevelView } from '../../../shared/rarity-level/RarityLevelView'; import { RoomPreviewerView } from '../../../shared/room-previewer/RoomPreviewerView'; import { FurniCategory } from '../../common/FurniCategory'; import { attemptItemPlacement } from '../../common/FurnitureUtilities'; @@ -123,10 +124,14 @@ export const InventoryFurnitureView: FC = props =>
- { groupItem &&groupItem.stuffData.isUnique && -
+ { groupItem && groupItem.stuffData.isUnique && +
} + { (groupItem && groupItem.stuffData.rarityLevel > -1) && +
+ +
} { groupItem &&

{ groupItem.name }