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 boolean
DoesUseItemUp(java.lang.String itemToUse, Recipe recipe)
static boolean
DoesWipeUseDelta(java.lang.String itemToUse, java.lang.String itemToMake)
static java.util.ArrayList
getAllEvolvedRecipes()
static java.util.ArrayList
getAvailableItemsAll(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems)
static java.util.ArrayList
getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem, java.util.ArrayList ignoreItems)
static java.util.ArrayList
getEvolvedRecipe(InventoryItem baseItem, IsoGameCharacter chr, java.util.ArrayList containers, boolean need1ingredient)
static int
getKnownRecipesNumber(IsoGameCharacter chr)
static int
getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter chr, java.util.ArrayList containers, InventoryItem selectedItem)
static java.util.Stack
getUniqueRecipeItems(InventoryItem item, IsoGameCharacter chr, java.util.ArrayList containers)
static boolean
HasAllRequiredItems(Recipe recipe, IsoGameCharacter chr, InventoryItem selectedItem, java.util.ArrayList containers)
static boolean
hasHeat(Recipe recipe, InventoryItem item, java.util.ArrayList containers, IsoGameCharacter chr)
static boolean
IsItemDestroyed(java.lang.String itemToUse, Recipe recipe)
static boolean
IsRecipeValid(Recipe recipe, IsoGameCharacter chr, InventoryItem item, java.util.ArrayList containers)
static void
Loaded()
static InventoryItem
PerformMakeItem(Recipe recipe, InventoryItem selectedItem, IsoGameCharacter chr, java.util.ArrayList containers)
static float
UseAmount(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)
-