XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

chore: supplemental arcane recipes (#4040)

Re #4038 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4040 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>

9516952d
AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
提交于

代码差异

4 个文件 +707 -9
Modified src/constants/gameToBuildVersion.ts +1 -0
@@ -44,6 +44,7 @@ const gameToBuildVersion = {
44 44 "22.13.4": "2018.02.22.14.34",
45 45 "22.8.2": "2018.01.04.13.12",
46 46 "22.7.0": "2017.12.12.12.15",
47 "22.2.4": "2017.11.16.17.34",
47 48 "22.0.0": "2017.10.12.17.04",
48 49 "21.0.0": "2017.06.29.02.13",
49 50 "20.4.0": "2017.05.05.15.41",
Modified src/controllers/custom/getItemListsController.ts +9 -2
@@ -1,5 +1,12 @@
1 1 import type { RequestHandler } from "express";
2 import { getDict, getItemName, getNormalizedString, getString, U5Modules } from "../../services/itemDataService.ts";
2 import {
3 getDict,
4 getItemName,
5 getNormalizedString,
6 getString,
7 supplementalRecipes,
8 U5Modules
9 } from "../../services/itemDataService.ts";
3 10 import type { IU5FingerprintUpgrade } from "../../services/itemDataService.ts";
4 11 import type { TRarity, TRelicQuality } from "warframe-public-export-plus";
5 12 import {
@@ -314,7 +321,7 @@ const getItemListsController: RequestHandler = (req, response) => {
314 321 });
315 322 }
316 323 const recipeNameTemplate = getString("/Lotus/Language/Items/BlueprintAndItem", lang);
317 for (const [uniqueName, item] of Object.entries(ExportRecipes)) {
324 for (const [uniqueName, item] of Object.entries({ ...ExportRecipes, ...supplementalRecipes })) {
318 325 if (!item.hidden && !(uniqueName in pseudoRecipeToOwnedRecipeMap)) {
319 326 const resultName = getItemName(item.resultType);
320 327 if (resultName) {
Modified static/webui/script.js +0 -7
@@ -870,13 +870,6 @@ function fetchItemList() {
870 870 "|MISSION_TYPE|",
871 871 data.MissionTypes.find(i => i.uniqueName === "MT_SURVIVAL").name
872 872 )
873 },
874 {
875 uniqueName: "/Lotus/Types/Keys/VeyHekKeyBlueprint",
876 name: data.blueprintAndItem.replace(
877 "|ITEM|",
878 data.miscitems.find(i => i.uniqueName === "/Lotus/Types/Keys/VeyHekKey").name
879 )
880 873 }
881 874 );
882 875