Class FluidDefinitionScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.FluidDefinitionScript
-
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatgetColor()floatbooleanfloatfloatfloatfloatfloatgetModID()floatfloatfloatfloatfloatfloatfloatbooleanvoidInitLoadPP(String arg0) booleanvoidvoidvoidvoidvoidvoidreset()Methods inherited from class zombie.scripting.objects.BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getObsolete, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, resetLoadedScriptBodies, setModule, setParent
-
Method Details
-
getExistsAsVanilla
public boolean getExistsAsVanilla() -
isVanilla
public boolean isVanilla() -
getModID
-
getFluidType
-
getFluidTypeString
-
getDisplayName
-
getColor
-
getCategories
-
getBlendWhitelist
-
getBlendBlackList
-
getPoisonMaxEffect
-
getPoisonMinAmount
public float getPoisonMinAmount() -
getPoisonDiluteRatio
public float getPoisonDiluteRatio() -
getFatigueChange
public float getFatigueChange() -
getHungerChange
public float getHungerChange() -
getStressChange
public float getStressChange() -
getThirstChange
public float getThirstChange() -
getUnhappyChange
public float getUnhappyChange() -
getCalories
public float getCalories() -
getCarbohydrates
public float getCarbohydrates() -
getLipids
public float getLipids() -
getProteins
public float getProteins() -
getAlcohol
public float getAlcohol() -
getFluReduction
public float getFluReduction() -
getPainReduction
public float getPainReduction() -
getEnduranceChange
public float getEnduranceChange() -
getFoodSicknessReduction
public float getFoodSicknessReduction() -
hasPropertiesSet
public boolean hasPropertiesSet() -
InitLoadPP
- Overrides:
InitLoadPPin classBaseScriptObject
-
Load
-
PreReload
public void PreReload()- Overrides:
PreReloadin classBaseScriptObject
-
reset
public void reset()- Overrides:
resetin classBaseScriptObject
-
OnScriptsLoaded
- Overrides:
OnScriptsLoadedin classBaseScriptObject- Throws:
Exception
-
OnLoadedAfterLua
- Overrides:
OnLoadedAfterLuain classBaseScriptObject- Throws:
Exception
-
OnPostWorldDictionaryInit
- Overrides:
OnPostWorldDictionaryInitin classBaseScriptObject- Throws:
Exception
-