fix: not being able to purchase or craft some recipes #314
@ -1,6 +1,6 @@
 | 
				
			|||||||
import { getIndexAfter } from "@/src/helpers/stringHelpers";
 | 
					import { getIndexAfter } from "@/src/helpers/stringHelpers";
 | 
				
			||||||
import { logger } from "@/src/utils/logger";
 | 
					import { logger } from "@/src/utils/logger";
 | 
				
			||||||
import Items, { Buildable, Category, MinimalItem, Warframe, Weapon } from "warframe-items";
 | 
					import Items, { Category, MinimalItem, Warframe, Weapon } from "warframe-items";
 | 
				
			||||||
import badItems from "@/static/json/exclude-mods.json";
 | 
					import badItems from "@/static/json/exclude-mods.json";
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
    dict_en,
 | 
					    dict_en,
 | 
				
			||||||
@ -107,8 +107,6 @@ export const blueprintNames = Object.fromEntries(
 | 
				
			|||||||
        .map(name => [name, craftNames[name]])
 | 
					        .map(name => [name, craftNames[name]])
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const buildables = items.filter(item => !!(item as Buildable).components);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// Gets a recipe by its uniqueName
 | 
					// Gets a recipe by its uniqueName
 | 
				
			||||||
export const getItemByBlueprint = (uniqueName: string): IRecipe | undefined => {
 | 
					export const getItemByBlueprint = (uniqueName: string): IRecipe | undefined => {
 | 
				
			||||||
    return ExportRecipes[uniqueName];
 | 
					    return ExportRecipes[uniqueName];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user