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 a)
Recipe.Source
findSource(java.lang.String sourceFullType)
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 sourceFullType)
boolean
isKeep(java.lang.String sourceFullType)
boolean
isRemoveResultItem()
void
Load(java.lang.String name, java.lang.String[] strArray)
boolean
needToBeLearn()
void
setCanBeDoneFromFloor(boolean canBeDoneFromFloor)
void
setCategory(java.lang.String category)
void
setNearItem(java.lang.String nearItem)
void
setNeedToBeLearn(boolean needToBeLearn)
void
setOriginalname(java.lang.String originalname)
void
setRemoveResultItem(boolean removeResultItem)
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 canBeDoneFromFloor) -
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 name, java.lang.String[] strArray)- Overrides:
Load
in classBaseScriptObject
-
getResult
-
getSound
public java.lang.String getSound() -
getOriginalname
public java.lang.String getOriginalname() -
setOriginalname
public void setOriginalname(java.lang.String originalname) -
needToBeLearn
public boolean needToBeLearn() -
setNeedToBeLearn
public void setNeedToBeLearn(boolean needToBeLearn) -
getCategory
public java.lang.String getCategory() -
setCategory
public void setCategory(java.lang.String category) -
getRequiredSkills
public java.util.ArrayList getRequiredSkills() -
findSource
-
isDestroy
public boolean isDestroy(java.lang.String sourceFullType) -
isKeep
public boolean isKeep(java.lang.String sourceFullType) -
getHeat
public float getHeat() -
getWaterAmountNeeded
public int getWaterAmountNeeded() -
getNearItem
public java.lang.String getNearItem() -
setNearItem
public void setNearItem(java.lang.String nearItem) -
isRemoveResultItem
public boolean isRemoveResultItem() -
setRemoveResultItem
public void setRemoveResultItem(boolean removeResultItem)
-