Package zombie.inventory
Class RecipeManager
java.lang.Object
zombie.inventory.RecipeManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDoesUseItemUp(String string, Recipe recipe) static booleanDoesWipeUseDelta(String string, String string2) static ArrayListstatic ArrayListgetAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) static ArrayListgetAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) static RecipegetDismantleRecipeFor(String string) static ArrayListgetEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList, boolean boolean1) static intgetKnownRecipesNumber(IsoGameCharacter gameCharacter) static InventoryItemGetMovableRecipeTool(boolean boolean1, Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) static intgetNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem) static ArrayListgetSourceItemsAll(Recipe recipe, int int1, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) static ArrayListgetSourceItemsNeeded(Recipe recipe, int int1, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) static ArrayListgetUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) static booleanHasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) static booleanhasHeat(Recipe recipe, InventoryItem inventoryItem, ArrayList arrayList, IsoGameCharacter gameCharacter) static booleanisAllItemsUsableRotten(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) static booleanIsItemDestroyed(String string, Recipe recipe) static booleanIsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) static voidLoaded()static voidstatic InventoryItemPerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) static floatUseAmount(String string, Recipe recipe, IsoGameCharacter gameCharacter)
-
Constructor Details
-
RecipeManager
public RecipeManager()
-
-
Method Details
-
Loaded
public static void Loaded() -
LoadedAfterLua
public static void LoadedAfterLua() -
DoesWipeUseDelta
-
getKnownRecipesNumber
-
DoesUseItemUp
-
IsItemDestroyed
-
UseAmount
-
getUniqueRecipeItems
public static ArrayList getUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) -
IsRecipeValid
public static boolean IsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) -
HasAllRequiredItems
public static boolean HasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) -
isAllItemsUsableRotten
public static boolean isAllItemsUsableRotten(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, ArrayList arrayList) -
hasHeat
public static boolean hasHeat(Recipe recipe, InventoryItem inventoryItem, ArrayList arrayList, IsoGameCharacter gameCharacter) -
getAvailableItemsAll
public static ArrayList getAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) -
getAvailableItemsNeeded
public static ArrayList getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) -
getSourceItemsAll
public static ArrayList getSourceItemsAll(Recipe recipe, int int1, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) -
getSourceItemsNeeded
public static ArrayList getSourceItemsNeeded(Recipe recipe, int int1, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem, ArrayList arrayList2) -
getNumberOfTimesRecipeCanBeDone
public static int getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, ArrayList arrayList, InventoryItem inventoryItem) -
GetMovableRecipeTool
public static InventoryItem GetMovableRecipeTool(boolean boolean1, Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) -
PerformMakeItem
public static InventoryItem PerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList) -
getAllEvolvedRecipes
-
getEvolvedRecipe
public static ArrayList getEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, ArrayList arrayList, boolean boolean1) -
getDismantleRecipeFor
-