Class Recipe
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.Recipe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static final class
static final class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
protected String
protected String
boolean
boolean
protected String
protected String
protected boolean
final ArrayList
<Recipe.Result> final ArrayList
<Recipe.Source> protected boolean
protected boolean
float
Fields inherited from class zombie.scripting.objects.BaseScriptObject
debugOnly, enabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRequiredSkill
(PerkFactory.Perk perk, int level) void
void
void
findSource
(String sourceFullType) float
getHeat()
getName()
Deprecated.int
getRequiredSkill
(int index) int
float
boolean
void
void
setNearItem
(String nearItem) Deprecated.void
setOriginalname
(String _originalname) Methods inherited from class zombie.scripting.objects.BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getObsolete, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, InitLoadPP, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, LoadVector3, OnLoadedAfterLua, OnPostWorldDictionaryInit, OnScriptsLoaded, PreReload, reset, resetLoadedScriptBodies, setModule, setParent
-
Field Details
-
TimeToMake
public float TimeToMake -
Sound
-
AnimNode
-
Prop1
-
Prop2
-
Source
-
Result
-
Results
-
AllowDestroyedItem
public boolean AllowDestroyedItem -
AllowFrozenItem
public boolean AllowFrozenItem -
AllowRottenItem
public boolean AllowRottenItem -
AllowOnlyOne
public boolean AllowOnlyOne -
InSameInventory
public boolean InSameInventory -
name
-
skillRequired
-
category
-
removeResultItem
protected boolean removeResultItem -
stopOnWalk
protected boolean stopOnWalk -
stopOnRun
protected boolean stopOnRun
-
-
Constructor Details
-
Recipe
public Recipe()
-
-
Method Details
-
isRequiresWorkstation
public boolean isRequiresWorkstation() -
getStationMultiplier
public float getStationMultiplier() -
Load
-
DoSource
-
DoResult
-
getNumberOfNeededItem
public int getNumberOfNeededItem() -
getRequiredSkills
-
getRequiredSkillCount
public int getRequiredSkillCount() -
getRequiredSkill
-
clearRequiredSkills
public void clearRequiredSkills() -
addRequiredSkill
-
findSource
-
getSource
-
getOriginalname
-
setOriginalname
-
getFullType
-
getName
-
getHeat
public float getHeat() -
getResult
-
getNearItem
Deprecated. -
setNearItem
Deprecated. -
getResults
-