chore: update data for 36.0.0 (Jade Shadows) #324
@ -7,10 +7,10 @@ import { config } from "@/src/services/configService";
 | 
			
		||||
import allMissions from "@/static/fixed_responses/allMissions.json";
 | 
			
		||||
import allQuestKeys from "@/static/fixed_responses/allQuestKeys.json";
 | 
			
		||||
import allShipDecorations from "@/static/fixed_responses/allShipDecorations.json";
 | 
			
		||||
import allFlavourItems from "@/static/fixed_responses/allFlavourItems.json";
 | 
			
		||||
import allSkins from "@/static/fixed_responses/allSkins.json";
 | 
			
		||||
import { ILoadoutDatabase } from "@/src/types/saveLoadoutTypes";
 | 
			
		||||
import { IShipInventory, IFlavourItem } from "@/src/types/inventoryTypes/inventoryTypes";
 | 
			
		||||
import { IShipInventory } from "@/src/types/inventoryTypes/inventoryTypes";
 | 
			
		||||
import { ExportFlavour } from "warframe-public-export-plus";
 | 
			
		||||
 | 
			
		||||
const inventoryController: RequestHandler = async (request: Request, response: Response) => {
 | 
			
		||||
    let accountId;
 | 
			
		||||
@ -77,7 +77,13 @@ const inventoryController: RequestHandler = async (request: Request, response: R
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations;
 | 
			
		||||
    if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[];
 | 
			
		||||
 | 
			
		||||
    if (config.unlockAllFlavourItems) {
 | 
			
		||||
        inventoryResponse.FlavourItems = [];
 | 
			
		||||
        for (const uniqueName in ExportFlavour) {
 | 
			
		||||
            inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (config.unlockAllSkins) {
 | 
			
		||||
        inventoryResponse.WeaponSkins = [];
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user