Package zombie.scripting.objects
Class EvolvedRecipe
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.EvolvedRecipe
public class EvolvedRecipe extends BaseScriptObject
-
Field Summary
Fields Modifier and Type Field Description boolean
addIngredientIfCooked
java.lang.String
baseItem
boolean
canAddSpicesEmpty
boolean
cookable
java.lang.String
DisplayName
java.util.Map
itemsList
int
maxItems
java.lang.String
name
java.lang.String
resultItem
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description EvolvedRecipe(java.lang.String name)
-
Method Summary
Modifier and Type Method Description InventoryItem
addItem(InventoryItem baseItem, InventoryItem usedItem, IsoGameCharacter chr)
java.lang.String
getBaseItem()
java.lang.String
getFullResultItem()
ItemRecipe
getItemRecipe(InventoryItem usedItem)
java.util.ArrayList
getItemsCanBeUse(IsoGameCharacter chr, InventoryItem baseItem, java.util.ArrayList containers)
java.util.Map
getItemsList()
int
getMaxItems()
java.lang.String
getName()
java.util.ArrayList
getPossibleItems()
java.lang.String
getResultItem()
java.lang.String
getUntranslatedName()
boolean
isCookable()
boolean
isResultItem(InventoryItem item)
boolean
isSpiceAdded(InventoryItem baseItem, InventoryItem spiceItem)
void
Load(java.lang.String name, java.lang.String[] strArray)
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
public java.lang.String name -
DisplayName
public java.lang.String DisplayName -
maxItems
public int maxItems -
itemsList
public java.util.Map itemsList -
resultItem
public java.lang.String resultItem -
baseItem
public java.lang.String baseItem -
cookable
public boolean cookable -
addIngredientIfCooked
public boolean addIngredientIfCooked -
canAddSpicesEmpty
public boolean canAddSpicesEmpty
-
-
Constructor Details
-
EvolvedRecipe
public EvolvedRecipe(java.lang.String name)
-
-
Method Details
-
Load
public void Load(java.lang.String name, java.lang.String[] strArray)- Overrides:
Load
in classBaseScriptObject
-
getItemsCanBeUse
public java.util.ArrayList getItemsCanBeUse(IsoGameCharacter chr, InventoryItem baseItem, java.util.ArrayList containers) -
addItem
-
getItemRecipe
-
getName
public java.lang.String getName() -
getUntranslatedName
public java.lang.String getUntranslatedName() -
getBaseItem
public java.lang.String getBaseItem() -
getItemsList
public java.util.Map getItemsList() -
getPossibleItems
public java.util.ArrayList getPossibleItems() -
getResultItem
public java.lang.String getResultItem() -
getFullResultItem
public java.lang.String getFullResultItem() -
isCookable
public boolean isCookable() -
getMaxItems
public int getMaxItems() -
isResultItem
-
isSpiceAdded
-