mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-07-08 07:50:45 +00:00
support tablet ninja price
This commit is contained in:
@@ -54,6 +54,13 @@ export function getDetailsId(item: ParsedItem) {
|
||||
if (item.rarity === ItemRarity.Unique) {
|
||||
return forUniqueItem(item);
|
||||
}
|
||||
if (item.category === ItemCategory.Tablet) {
|
||||
return {
|
||||
ns: item.info.namespace,
|
||||
name: item.info.refName,
|
||||
variant: variant([item.rarity ? item.rarity.toString() : ""]),
|
||||
};
|
||||
}
|
||||
if (isValuableBasetype(item)) {
|
||||
return forBasetype(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user