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