Package zombie.scripting.objects
Class Recipe
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.Recipe
public class Recipe extends BaseScriptObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Recipe.Result
class
Recipe.Source
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
LuaCreate
java.lang.String
LuaGiveXP
java.lang.String
LuaGrab
java.lang.String
LuaTest
java.lang.String
name
Recipe.Result
Result
java.util.Map
skillRequired
java.lang.String
Sound
java.util.ArrayList
Source
float
TimeToMake
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description Recipe()
-
Method Summary
Modifier and Type Method Description int
FindIndexOf(InventoryItem inventoryItem)
Recipe.Source
findSource(java.lang.String string)
java.lang.String
getCategory()
float
getHeat()
java.lang.String
getName()
java.lang.String
getNearItem()
int
getNumberOfNeededItem()
java.lang.String
getOriginalname()
java.util.ArrayList
getRequiredSkills()
Recipe.Result
getResult()
java.lang.String
getSound()
java.util.ArrayList
getSource()
float
getTimeToMake()
int
getWaterAmountNeeded()
boolean
isCanBeDoneFromFloor()
boolean
isDestroy(java.lang.String string)
boolean
isKeep(java.lang.String string)
boolean
isRemoveResultItem()
void
Load(java.lang.String string, java.lang.String[] stringArray)
boolean
needToBeLearn()
boolean
noBrokenItems()
void
setCanBeDoneFromFloor(boolean boolean1)
void
setCategory(java.lang.String string)
void
setNearItem(java.lang.String string)
void
setNeedToBeLearn(boolean boolean1)
void
setOriginalname(java.lang.String string)
void
setRemoveResultItem(boolean boolean1)
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
-
TimeToMake
public float TimeToMake -
Sound
public java.lang.String Sound -
Source
public java.util.ArrayList Source -
Result
-
LuaTest
public java.lang.String LuaTest -
LuaCreate
public java.lang.String LuaCreate -
LuaGrab
public java.lang.String LuaGrab -
name
public java.lang.String name -
skillRequired
public java.util.Map skillRequired -
LuaGiveXP
public java.lang.String LuaGiveXP
-
-
Constructor Details
-
Recipe
public Recipe()
-
-
Method Details
-
isCanBeDoneFromFloor
public boolean isCanBeDoneFromFloor() -
setCanBeDoneFromFloor
public void setCanBeDoneFromFloor(boolean boolean1) -
FindIndexOf
-
getSource
public java.util.ArrayList getSource() -
getNumberOfNeededItem
public int getNumberOfNeededItem() -
getTimeToMake
public float getTimeToMake() -
getName
public java.lang.String getName() -
Load
public void Load(java.lang.String string, java.lang.String[] stringArray)- Overrides:
Load
in classBaseScriptObject
-
getResult
-
getSound
public java.lang.String getSound() -
getOriginalname
public java.lang.String getOriginalname() -
setOriginalname
public void setOriginalname(java.lang.String string) -
needToBeLearn
public boolean needToBeLearn() -
setNeedToBeLearn
public void setNeedToBeLearn(boolean boolean1) -
getCategory
public java.lang.String getCategory() -
setCategory
public void setCategory(java.lang.String string) -
getRequiredSkills
public java.util.ArrayList getRequiredSkills() -
findSource
-
isDestroy
public boolean isDestroy(java.lang.String string) -
isKeep
public boolean isKeep(java.lang.String string) -
getHeat
public float getHeat() -
noBrokenItems
public boolean noBrokenItems() -
getWaterAmountNeeded
public int getWaterAmountNeeded() -
getNearItem
public java.lang.String getNearItem() -
setNearItem
public void setNearItem(java.lang.String string) -
isRemoveResultItem
public boolean isRemoveResultItem() -
setRemoveResultItem
public void setRemoveResultItem(boolean boolean1)
-