added nora night's shop
This commit is contained in:
parent
7a343a38ae
commit
ff21f45649
@ -2,6 +2,8 @@ import { RequestHandler } from "express";
|
||||
import { getVendorManifestByTypeName } from "@/src/services/serversideVendorsService";
|
||||
|
||||
export const getVendorInfoController: RequestHandler = (req, res) => {
|
||||
console.log(req.query);
|
||||
|
||||
if (typeof req.query.vendor == "string") {
|
||||
const manifest = getVendorManifestByTypeName(req.query.vendor);
|
||||
if (!manifest) {
|
||||
|
@ -27,6 +27,7 @@ import SolarisFishmongerVendorManifest from "@/static/fixed_responses/getVendorI
|
||||
import SolarisProspectorVendorManifest from "@/static/fixed_responses/getVendorInfo/SolarisProspectorVendorManifest.json";
|
||||
import TeshinHardModeVendorManifest from "@/static/fixed_responses/getVendorInfo/TeshinHardModeVendorManifest.json";
|
||||
import ZarimanCommisionsManifestArchimedean from "@/static/fixed_responses/getVendorInfo/ZarimanCommisionsManifestArchimedean.json";
|
||||
import RadioLegionIntermission10VendorManifest from "@/static/fixed_responses/getVendorInfo/RadioLegionIntermission10VendorManifest.json";
|
||||
|
||||
interface IVendorManifest {
|
||||
VendorInfo: {
|
||||
@ -67,7 +68,8 @@ const vendorManifests: IVendorManifest[] = [
|
||||
SolarisFishmongerVendorManifest,
|
||||
SolarisProspectorVendorManifest,
|
||||
TeshinHardModeVendorManifest,
|
||||
ZarimanCommisionsManifestArchimedean
|
||||
ZarimanCommisionsManifestArchimedean,
|
||||
RadioLegionIntermission10VendorManifest
|
||||
];
|
||||
|
||||
export const getVendorManifestByTypeName = (typeName: string): IVendorManifest | undefined => {
|
||||
|
@ -0,0 +1,82 @@
|
||||
{
|
||||
"VendorInfo": {
|
||||
"_id": { "$oid": "664190400000000000000000" },
|
||||
"TypeName": "/Lotus/Types/Game/VendorManifests/Events/RadioLegionIntermission10VendorManifest",
|
||||
"ItemManifest": [
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Recipes/WarframeRecipes/TrapperChassisBlueprint",
|
||||
"ItemPrices": [{ "ItemCount": 25, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000048" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Recipes/WarframeRecipes/TrapperSystemsBlueprint",
|
||||
"ItemPrices": [{ "ItemCount": 25, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000049" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Recipes/WarframeRecipes/TrapperHelmetBlueprint",
|
||||
"ItemPrices": [{ "ItemCount": 25, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000050" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Items/MiscItems/OrokinCatalyst",
|
||||
"ItemPrices": [{ "ItemCount": 75, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000051" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Items/MiscItems/OrokinReactor",
|
||||
"ItemPrices": [{ "ItemCount": 75, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000052" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Items/MiscItems/Alertium",
|
||||
"ItemPrices": [{ "ItemCount": 15, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 5,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000053" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Items/MiscItems/Kuva",
|
||||
"ItemPrices": [{ "ItemCount": 50, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_3",
|
||||
"QuantityMultiplier": 10000,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"AllowMultipurchase": true,
|
||||
"Id": { "$oid": "001300130000000000000054" }
|
||||
},
|
||||
{
|
||||
"StoreItem": "/Lotus/StoreItems/Types/Items/ShipDecos/Nightwave/GlassmakerShipDeco",
|
||||
"ItemPrices": [{ "ItemCount": 60, "ItemType": "/Lotus/Types/Items/MiscItems/NoraIntermissionTenCreds", "ProductCategory": "MiscItems" }],
|
||||
"Bin": "BIN_0",
|
||||
"QuantityMultiplier": 1,
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } },
|
||||
"PurchaseQuantityLimit": 1,
|
||||
"AllowMultipurchase": false,
|
||||
"Id": { "$oid": "001300130000000000000055" }
|
||||
}
|
||||
],
|
||||
"Expiry": { "$date": { "$numberLong": "2051240400000" } }
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user