Package zombie.inventory
Class RecipeManager
java.lang.Object
zombie.inventory.RecipeManager
public final 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 string, Recipe recipe)
static boolean
DoesWipeUseDelta(java.lang.String string, java.lang.String string2)
static java.util.ArrayList
getAllEvolvedRecipes()
static java.util.ArrayList
getAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static java.util.ArrayList
getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static Recipe
getDismantleRecipeFor(java.lang.String string)
static java.util.ArrayList
getEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, boolean boolean1)
static int
getKnownRecipesNumber(IsoGameCharacter gameCharacter)
static InventoryItem
GetMovableRecipeTool(boolean boolean1, Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList)
static int
getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem)
static java.util.ArrayList
getSourceItemsAll(Recipe recipe, int int1, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static java.util.ArrayList
getSourceItemsNeeded(Recipe recipe, int int1, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static java.util.ArrayList
getUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList)
static boolean
HasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList)
static boolean
hasHeat(Recipe recipe, InventoryItem inventoryItem, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter)
static boolean
IsItemDestroyed(java.lang.String string, Recipe recipe)
static boolean
IsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList)
static void
Loaded()
static void
LoadedAfterLua()
static InventoryItem
PerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList)
static float
UseAmount(java.lang.String string, Recipe recipe, IsoGameCharacter gameCharacter)
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() -
LoadedAfterLua
public static void LoadedAfterLua() -
DoesWipeUseDelta
public static boolean DoesWipeUseDelta(java.lang.String string, java.lang.String string2) -
getKnownRecipesNumber
-
DoesUseItemUp
-
IsItemDestroyed
-
UseAmount
public static float UseAmount(java.lang.String string, Recipe recipe, IsoGameCharacter gameCharacter) -
getUniqueRecipeItems
public static java.util.ArrayList getUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList) -
IsRecipeValid
public static boolean IsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList) -
HasAllRequiredItems
public static boolean HasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList) -
hasHeat
public static boolean hasHeat(Recipe recipe, InventoryItem inventoryItem, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter) -
getAvailableItemsAll
public static java.util.ArrayList getAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getAvailableItemsNeeded
public static java.util.ArrayList getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getSourceItemsAll
public static java.util.ArrayList getSourceItemsAll(Recipe recipe, int int1, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getSourceItemsNeeded
public static java.util.ArrayList getSourceItemsNeeded(Recipe recipe, int int1, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getNumberOfTimesRecipeCanBeDone
public static int getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem) -
GetMovableRecipeTool
public static InventoryItem GetMovableRecipeTool(boolean boolean1, Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList) -
PerformMakeItem
public static InventoryItem PerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList) -
getAllEvolvedRecipes
public static java.util.ArrayList getAllEvolvedRecipes() -
getEvolvedRecipe
public static java.util.ArrayList getEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, boolean boolean1) -
getDismantleRecipeFor
-