Package zombie.inventory
Class RecipeManager
java.lang.Object
zombie.inventory.RecipeManager
public class RecipeManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RecipeManager() -
Method Summary
Modifier and Type Method Description static booleanDoesUseItemUp(java.lang.String itemToUse, Recipe recipe)static booleanDoesWipeUseDelta(java.lang.String itemToUse, java.lang.String itemToMake)static java.util.ArrayListgetAllEvolvedRecipes()static java.util.ArrayListgetAvailableItemsAll(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems)static java.util.ArrayListgetAvailableItemsNeeded(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems)static java.util.ArrayListgetEvolvedRecipe(InventoryItem baseItem, IsoGameCharacter chr, java.util.ArrayList containers, boolean need1ingredient)static intgetKnownRecipesNumber(IsoGameCharacter chr)static intgetNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem)static java.util.StackgetUniqueRecipeItems(InventoryItem item, IsoGameCharacter chr, java.util.ArrayList containers)static booleanHasAllRequiredItems(Recipe recipe, IsoGameCharacter chr, InventoryItem selectedItem, java.util.ArrayList containers)static booleanhasHeat(Recipe recipe, InventoryItem item, java.util.ArrayList containers, IsoGameCharacter chr)static booleanIsItemDestroyed(java.lang.String itemToUse, Recipe recipe)static booleanIsRecipeValid(Recipe recipe, IsoGameCharacter chr, InventoryItem item, java.util.ArrayList containers)static voidLoaded()static InventoryItemPerformMakeItem(Recipe recipe, InventoryItem selectedItem, IsoGameCharacter chr, java.util.ArrayList containers)static floatUseAmount(java.lang.String sourceFullType, Recipe recipe, IsoGameCharacter chr)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RecipeManager
public RecipeManager()
-
-
Method Details
-
Loaded
public static void Loaded() -
DoesWipeUseDelta
public static boolean DoesWipeUseDelta(java.lang.String itemToUse, java.lang.String itemToMake) -
getKnownRecipesNumber
-
DoesUseItemUp
-
IsItemDestroyed
-
UseAmount
public static float UseAmount(java.lang.String sourceFullType, Recipe recipe, IsoGameCharacter chr) -
getUniqueRecipeItems
public static java.util.Stack getUniqueRecipeItems(InventoryItem item, IsoGameCharacter chr, java.util.ArrayList containers) -
IsRecipeValid
public static boolean IsRecipeValid(Recipe recipe, IsoGameCharacter chr, InventoryItem item, java.util.ArrayList containers) -
HasAllRequiredItems
public static boolean HasAllRequiredItems(Recipe recipe, IsoGameCharacter chr, InventoryItem selectedItem, java.util.ArrayList containers) -
hasHeat
public static boolean hasHeat(Recipe recipe, InventoryItem item, java.util.ArrayList containers, IsoGameCharacter chr) -
getAvailableItemsAll
public static java.util.ArrayList getAvailableItemsAll(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems) -
getAvailableItemsNeeded
public static java.util.ArrayList getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems) -
getNumberOfTimesRecipeCanBeDone
public static int getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem) -
PerformMakeItem
public static InventoryItem PerformMakeItem(Recipe recipe, InventoryItem selectedItem, IsoGameCharacter chr, java.util.ArrayList containers) -
getAllEvolvedRecipes
public static java.util.ArrayList getAllEvolvedRecipes() -
getEvolvedRecipe
public static java.util.ArrayList getEvolvedRecipe(InventoryItem baseItem, IsoGameCharacter chr, java.util.ArrayList containers, boolean need1ingredient)
-