mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Inventory add seed rarity level
This commit is contained in:
parent
1f5f09cb0a
commit
9000756ae5
@ -1,4 +1,4 @@
|
||||
.limited-edition-info-container {
|
||||
.stuffdata-extra-container {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 15px;
|
||||
|
@ -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';
|
||||
@ -124,9 +125,13 @@ export const InventoryFurnitureView: FC<InventoryFurnitureViewProps> = props =>
|
||||
<div className="position-relative d-flex flex-column col-5 justify-space-between">
|
||||
<RoomPreviewerView roomPreviewer={ roomPreviewer } height={ 140 } />
|
||||
{ groupItem && groupItem.stuffData.isUnique &&
|
||||
<div className="position-absolute limited-edition-info-container">
|
||||
<div className="stuffdata-extra-container">
|
||||
<LimitedEditionCompactPlateView uniqueNumber={ groupItem.stuffData.uniqueNumber } uniqueSeries={ groupItem.stuffData.uniqueSeries } />
|
||||
</div> }
|
||||
{ (groupItem && groupItem.stuffData.rarityLevel > -1) &&
|
||||
<div className="stuffdata-extra-container">
|
||||
<RarityLevelView level={ groupItem.stuffData.rarityLevel } />
|
||||
</div> }
|
||||
{ groupItem &&
|
||||
<div className="d-flex flex-column flex-grow-1">
|
||||
<p className="flex-grow-1 fs-6 text-black my-2">{ groupItem.name }</p>
|
||||
|
Loading…
Reference in New Issue
Block a user