prettier
All checks were successful
Build / build (18) (push) Successful in 39s
Build / build (20) (push) Successful in 50s
Build / build (22) (push) Successful in 37s
Build / build (22) (pull_request) Successful in 35s
Build / build (20) (pull_request) Successful in 51s
Build / build (18) (pull_request) Successful in 58s
All checks were successful
Build / build (18) (push) Successful in 39s
Build / build (20) (push) Successful in 50s
Build / build (22) (push) Successful in 37s
Build / build (22) (pull_request) Successful in 35s
Build / build (20) (pull_request) Successful in 51s
Build / build (18) (pull_request) Successful in 58s
This commit is contained in:
parent
3df18a9ffc
commit
7c6273d4cc
@ -26,11 +26,11 @@ interface ListedItem {
|
||||
}
|
||||
|
||||
const relicQualitySuffixes: Record<TRelicQuality, string> = {
|
||||
"VPQ_BRONZE": "",
|
||||
"VPQ_SILVER": " [Flawless]",
|
||||
"VPQ_GOLD": " [Radiant]",
|
||||
"VPQ_PLATINUM": " [Exceptional]",
|
||||
}
|
||||
VPQ_BRONZE: "",
|
||||
VPQ_SILVER: " [Flawless]",
|
||||
VPQ_GOLD: " [Radiant]",
|
||||
VPQ_PLATINUM: " [Exceptional]"
|
||||
};
|
||||
|
||||
const getItemListsController: RequestHandler = (req, response) => {
|
||||
const lang = getDict(typeof req.query.lang == "string" ? req.query.lang : "en");
|
||||
@ -127,7 +127,12 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
for (const [uniqueName, item] of Object.entries(ExportRelics)) {
|
||||
res.miscitems.push({
|
||||
uniqueName: "MiscItems:" + uniqueName,
|
||||
name: getString("/Lotus/Language/Relics/VoidProjectionName", lang).split("|ERA|").join(item.era).split("|CATEGORY|").join(item.category) + relicQualitySuffixes[item.quality]
|
||||
name:
|
||||
getString("/Lotus/Language/Relics/VoidProjectionName", lang)
|
||||
.split("|ERA|")
|
||||
.join(item.era)
|
||||
.split("|CATEGORY|")
|
||||
.join(item.category) + relicQualitySuffixes[item.quality]
|
||||
});
|
||||
}
|
||||
for (const [uniqueName, item] of Object.entries(ExportGear)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user