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 string)
-
Method Summary
Modifier and Type Method Description InventoryItem
addItem(InventoryItem inventoryItem, InventoryItem inventoryItem2, IsoGameCharacter gameCharacter)
java.lang.String
getBaseItem()
java.lang.String
getFullResultItem()
ItemRecipe
getItemRecipe(InventoryItem inventoryItem)
java.util.ArrayList
getItemsCanBeUse(IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList)
java.util.Map
getItemsList()
int
getMaxItems()
java.lang.String
getName()
java.lang.String
getOriginalname()
java.util.ArrayList
getPossibleItems()
java.lang.String
getResultItem()
java.lang.String
getUntranslatedName()
boolean
isCookable()
boolean
isResultItem(InventoryItem inventoryItem)
boolean
isSpiceAdded(InventoryItem inventoryItem, InventoryItem inventoryItem2)
void
Load(java.lang.String string, java.lang.String[] stringArray)
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 string)
-
-
Method Details
-
Load
public void Load(java.lang.String string, java.lang.String[] stringArray)- Overrides:
Load
in classBaseScriptObject
-
getItemsCanBeUse
public java.util.ArrayList getItemsCanBeUse(IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList) -
addItem
public InventoryItem addItem(InventoryItem inventoryItem, InventoryItem inventoryItem2, IsoGameCharacter gameCharacter) -
getItemRecipe
-
getName
public java.lang.String getName() -
getOriginalname
public java.lang.String getOriginalname() -
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
-