Class Item
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.entity.GameEntityScript
zombie.scripting.objects.Item
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfloatfloatintfloatfloatfloatbooleanbooleanbooleanbooleanfloatfloatbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintintintintfloatintintintfloatbooleanintintbooleanfloatintintfloatfloatbooleanfloatfloatbooleanfloatfloatbooleanfloatintfloatbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfloatintfloatfloatintintintfloatintfloatintfloatfloatbooleanbooleanintfloatintfloatfloatfloatfloatintintbooleanfloatbooleanfloatintintbooleanfloatbooleanbooleanbooleanfloatbooleanbooleanintbooleanbooleanfloatfloatbooleanfloatfloatintintbooleanintfloatfloatfloatbooleanfloatfloatfloatintfloatbooleanfloatintbooleanbooleanfloatfloatbooleanbooleanbooleanbooleanbooleanbooleanintfloatbooleanfinal ArrayList<WeaponCategory> floatfloatfloatintfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddForageFocusCategory(String string) voidaddResearchableRecipe(String string) voidaddResearchableRecipe(CraftRecipe craftRecipe) voidaddResearchableRecipes(ArrayList<String> arrayList) booleanbooleanvoidbooleancontainsWeaponCategory(String string) voidvoidfloatfloatgetB()floatintfloatfloatfloatintintfloatintgetCount()Deprecated.intintfloatintintfloatfloatfloatfloatgetG()floatfloatfloatgetIcon()floatfloatintgetMapID()floatintfloatintfloatfloatfloatfloatintintgetName()intfloatintintintbooleanfloatintfloatfloatfloatgetR()getReplaceType(String key) getResearchableRecipes(IsoGameCharacter character) getResearchableRecipes(IsoGameCharacter character, boolean boolean0) floatgetSoundByID(String ID) getSoundParameter(String parameterName) intintintfloatfloatfloatfloatgetTags()floatfloatfloatfloatgetType()floatfloatgetUsedInFavouriteRecipes(IsoPlayer player) getUsedInRecipes(IsoGameCharacter character) getUsedInRecipes(IsoGameCharacter character, ArrayList<String> arrayList) floatfloatfloatfloatfloatfloatbooleanhasReplaceType(String key) booleanbooleanbooleanbooleanvoidInitLoadPP(String string) InstanceItem(String param) InstanceItem(String string2, boolean boolean0) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisFavouriteRecipeInput(IsoPlayer player) booleanisHidden()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisRanged()booleanbooleanbooleanisSpice()booleanbooleanbooleanbooleanisUnwanted(IsoPlayer player) booleanbooleanisUsedInBuildRecipes(IsoGameCharacter character) booleanbooleanisUsedInRecipes(IsoGameCharacter character) booleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidOnScriptsLoaded(ScriptLoadMode scriptLoadMode) voidvoidresearchRecipes(IsoGameCharacter character) voidreset()voidvoidvoidsetActualWeight(float _ActualWeight) voidsetAlcoholic(boolean _Alcoholic) voidsetAlwaysKnockdown(boolean _AlwaysKnockdown) voidsetAlwaysWelcomeGift(boolean _AlwaysWelcomeGift) voidsetAmmoType(String _AmmoType) voidsetAngleFalloff(boolean _AngleFalloff) voidsetBodyLocation(String bodyLocation) voidsetBoredomChange(float _BoredomChange) voidsetCanBandage(boolean _CanBandage) voidsetCanBarricade(boolean _CanBarricade) voidsetCanBeForaged(boolean boolean0) voidsetCanSpawnAsLoot(boolean boolean0) voidsetCantAttackWithLowestEndurance(boolean _CantAttackWithLowestEndurance) voidsetClothingItemAsset(ClothingItem asset) voidsetConditionLowerChance(int _ConditionLowerChance) voidsetConditionMax(int _ConditionMax) voidsetCount(int _Count) voidsetDangerousUncooked(boolean _DangerousUncooked) voidsetDaysFresh(int _DaysFresh) voidsetDaysTotallyRotten(int _DaysTotallyRotten) voidsetDisappearOnUse(boolean _DisappearOnUse) voidsetDisplayName(String _DisplayName) voidsetDoorDamage(int _DoorDamage) voidsetDoorHitSound(String _DoorHitSound) voidsetEnduranceChange(float _EnduranceChange) voidsetEnduranceMod(float _EnduranceMod) voidsetHungerChange(float _HungerChange) voidvoidsetImpactSound(String _ImpactSound) voidsetInsulation(float f) voidsetIsCookable(boolean _IsCookable) voidvoidsetIsCraftRecipeProduct(boolean boolean0) voidsetItemConfig(ItemConfig itemConfigx) voidsetKeepOnDeplete(boolean boolean0) voidsetKnockBackOnNoDeath(boolean _KnockBackOnNoDeath) voidsetKnockdownMod(float _KnockdownMod) voidsetLuaCreate(String functionName) voidsetMaxDamage(float _MaxDamage) voidsetMaxHitCount(int _MaxHitCount) voidsetMaxRange(float _MaxRange) voidsetMinAngle(float _MinAngle) voidsetMinDamage(float _MinDamage) voidsetMinimumSwingTime(float _MinimumSwingTime) voidsetMinutesToBurn(int _MinutesToBurn) voidsetMinutesToCook(int _MinutesToCook) voidsetMultipleHitConditionAffected(boolean _MultipleHitConditionAffected) voidvoidsetNPCSoundBoost(float _NPCSoundBoost) voidsetOpeningRecipe(String string) voidsetOtherCharacterVolumeBoost(float _OtherCharacterVolumeBoost) voidsetOtherHandRequire(String _OtherHandRequire) voidsetOtherHandUse(boolean _OtherHandUse) voidsetPaletteChoices(Stack<String> _PaletteChoices) voidsetPalettesStart(String _PalettesStart) voidsetPhysicsObject(String _PhysicsObject) voidsetPushBackMod(float _PushBackMod) voidsetRanged(boolean _Ranged) voidsetRangeFalloff(boolean _RangeFalloff) voidsetReplaceOnDeplete(String _ReplaceOnDeplete) voidsetReplaceOnUse(String _ReplaceOnUse) voidsetShareEndurance(boolean _ShareEndurance) voidsetSoundRadius(int _SoundRadius) voidsetSoundVolume(int _SoundVolume) voidsetSplatBloodOnNoDeath(boolean _SplatBloodOnNoDeath) voidsetSplatNumber(int _SplatNumber) voidsetSpriteName(String _SpriteName) voidsetStressChange(float _StressChange) voidsetSwingAmountBeforeImpact(float _SwingAmountBeforeImpact) voidsetSwingAnim(String _SwingAnim) voidsetSwingSound(String _SwingSound) voidsetSwingTime(float _SwingTime) voidsetTemperature(float temperature) voidsetThirstChange(float _ThirstChange) voidsetTicksPerEquipUse(int _TicksPerEquipUse) voidsetToHitModifier(float _ToHitModifier) voidvoidsetUnhappyChange(float _UnhappyChange) voidsetUnwanted(IsoPlayer player) voidsetUnwanted(IsoPlayer player, boolean boolean0) voidsetUseDelta(float _UseDelta) voidsetUseEndurance(boolean _UseEndurance) voidsetUseSelf(boolean _UseSelf) voidsetUseWhileEquipped(boolean _UseWhileEquipped) voidsetUseWhileUnequipped(boolean _UseWhileUnequipped) voidvoidsetWaterresist(float w) voidsetWeaponCategories(ArrayList<WeaponCategory> arrayList) voidsetWeaponSprite(String _WeaponSprite) voidsetWeaponWeight(float _WeaponWeight) voidsetWeightEmpty(float weight) voidsetWeightWet(float weight) voidsetWindresist(float w) toString()Methods inherited from class zombie.scripting.entity.GameEntityScript
containsComponent, copyFrom, getComponentScriptFor, getComponentScripts, getDisplayNameDebug, getExistsAsVanilla, getFileAbsPath, getModID, getRegistry_id, hasComponents, LoadAttribute, LoadComponentBlock, setModID, setRegistry_idMethods inherited from class zombie.scripting.objects.BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, resetLoadedScriptBodies, setModule, setParent
-
Field Details
-
DisplayName
-
Hidden
public boolean Hidden -
CantEat
public boolean CantEat -
Icon
-
Medical
public boolean Medical -
CannedFood
public boolean CannedFood -
SurvivalGear
public boolean SurvivalGear -
MechanicsItem
public boolean MechanicsItem -
UseWorldItem
public boolean UseWorldItem -
ScaleWorldIcon
public float ScaleWorldIcon -
CloseKillMove
-
WeaponLength
public float WeaponLength -
ActualWeight
public float ActualWeight -
WeightWet
public float WeightWet -
WeightEmpty
public float WeightEmpty -
HungerChange
public float HungerChange -
CriticalChance
public float CriticalChance -
Count
public int Count -
DaysFresh
public int DaysFresh -
DaysTotallyRotten
public int DaysTotallyRotten -
MinutesToCook
public int MinutesToCook -
MinutesToBurn
public int MinutesToBurn -
IsCookable
public boolean IsCookable -
StressChange
public float StressChange -
BoredomChange
public float BoredomChange -
UnhappyChange
public float UnhappyChange -
AlwaysWelcomeGift
public boolean AlwaysWelcomeGift -
ReplaceOnDeplete
-
Ranged
public boolean Ranged -
CanStoreWater
public boolean CanStoreWater -
MaxRange
public float MaxRange -
MinRange
public float MinRange -
ThirstChange
public float ThirstChange -
FatigueChange
public float FatigueChange -
MinAngle
public float MinAngle -
RequiresEquippedBothHands
public boolean RequiresEquippedBothHands -
MaxDamage
public float MaxDamage -
MinDamage
public float MinDamage -
MinimumSwingTime
public float MinimumSwingTime -
SwingSound
-
WeaponSprite
-
AngleFalloff
public boolean AngleFalloff -
SoundVolume
public int SoundVolume -
ToHitModifier
public float ToHitModifier -
SoundRadius
public int SoundRadius -
OtherCharacterVolumeBoost
public float OtherCharacterVolumeBoost -
weaponCategories
-
Tags
-
ImpactSound
-
SwingTime
public float SwingTime -
KnockBackOnNoDeath
public boolean KnockBackOnNoDeath -
SplatBloodOnNoDeath
public boolean SplatBloodOnNoDeath -
SwingAmountBeforeImpact
public float SwingAmountBeforeImpact -
AmmoType
-
maxAmmo
public int maxAmmo -
GunType
-
DoorDamage
public int DoorDamage -
ConditionLowerChance
public int ConditionLowerChance -
HeadConditionLowerChanceMultiplier
public float HeadConditionLowerChanceMultiplier -
ConditionMax
public int ConditionMax -
CanBandage
public boolean CanBandage -
name
-
moduleDotType
-
MaxHitCount
public int MaxHitCount -
UseSelf
public boolean UseSelf -
OtherHandUse
public boolean OtherHandUse -
OtherHandRequire
-
PhysicsObject
-
SwingAnim
-
WeaponWeight
public float WeaponWeight -
EnduranceChange
public float EnduranceChange -
IdleAnim
-
RunAnim
-
attachmentType
-
makeUpType
-
consolidateOption
-
RequireInHandOrInventory
-
DoorHitSound
-
ReplaceOnUse
-
DangerousUncooked
public boolean DangerousUncooked -
Alcoholic
public boolean Alcoholic -
PushBackMod
public float PushBackMod -
SplatNumber
public int SplatNumber -
NPCSoundBoost
public float NPCSoundBoost -
RangeFalloff
public boolean RangeFalloff -
UseEndurance
public boolean UseEndurance -
MultipleHitConditionAffected
public boolean MultipleHitConditionAffected -
CanBarricade
public boolean CanBarricade -
UseWhileEquipped
public boolean UseWhileEquipped -
UseWhileUnequipped
public boolean UseWhileUnequipped -
TicksPerEquipUse
public int TicksPerEquipUse -
DisappearOnUse
public boolean DisappearOnUse -
UseDelta
public float UseDelta -
AlwaysKnockdown
public boolean AlwaysKnockdown -
EnduranceMod
public float EnduranceMod -
KnockdownMod
public float KnockdownMod -
CantAttackWithLowestEndurance
public boolean CantAttackWithLowestEndurance -
ReplaceOnUseOn
-
attachmentsProvided
-
FoodType
-
DefaultModData
-
IsAimedFirearm
public boolean IsAimedFirearm -
IsAimedHandWeapon
public boolean IsAimedHandWeapon -
CanStack
public boolean CanStack -
AimingMod
public float AimingMod -
HitAngleMod
public float HitAngleMod -
NumberOfPages
public int NumberOfPages -
LvlSkillTrained
public int LvlSkillTrained -
NumLevelsTrained
public int NumLevelsTrained -
SkillTrained
-
Capacity
public int Capacity -
maxItemSize
public float maxItemSize -
WeightReduction
public int WeightReduction -
SubCategory
-
ActivatedItem
public boolean ActivatedItem -
LightStrength
public float LightStrength -
TorchCone
public boolean TorchCone -
LightDistance
public int LightDistance -
CanBeEquipped
-
TwoHandWeapon
public boolean TwoHandWeapon -
CustomContextMenu
-
Tooltip
-
ReplaceOnCooked
-
DisplayCategory
-
Trap
-
OBSOLETE
public boolean OBSOLETE -
FishingLure
public boolean FishingLure -
canBeWrite
public boolean canBeWrite -
AimingPerkCritModifier
public int AimingPerkCritModifier -
AimingPerkRangeModifier
public float AimingPerkRangeModifier -
AimingPerkHitChanceModifier
public float AimingPerkHitChanceModifier -
HitChance
public int HitChance -
AimingPerkMinAngleModifier
public float AimingPerkMinAngleModifier -
RecoilDelay
public int RecoilDelay -
PiercingBullets
public boolean PiercingBullets -
SoundGain
public float SoundGain -
ProtectFromRainWhenEquipped
public boolean ProtectFromRainWhenEquipped -
minSightRange
public float minSightRange -
maxSightRange
public float maxSightRange -
lowLightBonus
public float lowLightBonus -
torchDot
public float torchDot -
colorRed
public int colorRed -
colorGreen
public int colorGreen -
colorBlue
public int colorBlue -
twoWay
public boolean twoWay -
transmitRange
public int transmitRange -
micRange
public int micRange -
baseVolumeRange
public float baseVolumeRange -
isPortable
public boolean isPortable -
isTelevision
public boolean isTelevision -
minChannel
public int minChannel -
maxChannel
public int maxChannel -
usesBattery
public boolean usesBattery -
isHighTier
public boolean isHighTier -
evolvedRecipeName
-
map
-
vehicleType
public int vehicleType -
ClothingItem
-
-
secondaryAnimMask
-
primaryAnimMaskAttachment
-
secondaryAnimMaskAttachment
-
replaceInSecondHand
-
replaceInPrimaryHand
-
replaceWhenUnequip
-
replacePrimaryHand
-
replaceSecondHand
-
worldObjectSprite
-
ItemName
-
NormalTexture
-
SpecialTextures
-
SpecialWorldTextureNames
-
WorldTextureName
-
WorldTexture
-
eatType
-
pourType
-
readType
-
digType
-
runSpeedModifier
public float runSpeedModifier -
combatSpeedModifier
public float combatSpeedModifier -
clothingItemExtra
-
clothingItemExtraOption
-
canHaveHoles
-
needToBeClosedOnceReload
public boolean needToBeClosedOnceReload -
neckProtectionModifier
public float neckProtectionModifier -
fabricType
-
equippedNoSprint
public boolean equippedNoSprint -
worldStaticModel
-
isDung
public boolean isDung -
RemoveUnhappinessWhenCooked
public boolean RemoveUnhappinessWhenCooked -
stopPower
public float stopPower -
MilkReplaceItem
-
MaxMilk
public int MaxMilk -
AnimalFeedType
-
evolvedRecipe
-
withDrainable
-
withoutDrainable
-
spawnWith
-
visionModifier
public float visionModifier -
hearingModifier
public float hearingModifier -
strainModifier
public float strainModifier -
damagedSound
-
bulletHitArmourSound
-
weaponHitArmourSound
-
shoutMultiplier
public float shoutMultiplier -
eatTime
public int eatTime -
visualAid
public boolean visualAid -
discomfortModifier
public float discomfortModifier -
fireFuelRatio
public float fireFuelRatio -
itemAfterCleaning
-
isCraftRecipeProduct
public boolean isCraftRecipeProduct -
isCraftRecipeProductCheckedExtra
public boolean isCraftRecipeProductCheckedExtra -
canBeForaged
public boolean canBeForaged -
canBeForagedCheckedExtra
public boolean canBeForagedCheckedExtra -
forageFocusCategories
-
canSpawnAsLoot
public boolean canSpawnAsLoot -
canSpawnAsLootCheckedExtra
public boolean canSpawnAsLootCheckedExtra -
researchableRecipes
-
isResearchableRecipesCheckedExtra
public boolean isResearchableRecipesCheckedExtra -
usedInRecipes
-
isUsedInBuildRecipes
public boolean isUsedInBuildRecipes -
HitSound
-
hitFloorSound
-
BodyLocation
-
PaletteChoices
-
SpriteName
-
PalettesStart
-
NetIDToItem
-
NetItemToID
-
type
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getDisplayName
- Returns:
- the DisplayName
-
setDisplayName
- Parameters:
_DisplayName- the DisplayName to set
-
isHidden
public boolean isHidden() -
getDisplayCategory
-
getIcon
- Returns:
- the Icon
-
setIcon
- Parameters:
_Icon- the Icon to set
-
getNoiseDuration
public int getNoiseDuration() -
getNormalTexture
-
getNumberOfPages
public int getNumberOfPages() -
getActualWeight
public float getActualWeight()- Returns:
- the ActualWeight
-
setActualWeight
public void setActualWeight(float _ActualWeight) - Parameters:
_ActualWeight- the ActualWeight to set
-
getWeightWet
public float getWeightWet() -
setWeightWet
public void setWeightWet(float weight) -
getWeightEmpty
public float getWeightEmpty()- Returns:
- the EmptyWeight
-
setWeightEmpty
public void setWeightEmpty(float weight) - Parameters:
weight- the EmptyWeight to set
-
getHungerChange
public float getHungerChange()- Returns:
- the HungerChange
-
setHungerChange
public void setHungerChange(float _HungerChange) - Parameters:
_HungerChange- the HungerChange to set
-
getThirstChange
public float getThirstChange() -
setThirstChange
public void setThirstChange(float _ThirstChange) -
getCount
-
setCount
public void setCount(int _Count) - Parameters:
_Count- the Count to set
-
getDaysFresh
public int getDaysFresh()- Returns:
- the DaysFresh
-
setDaysFresh
public void setDaysFresh(int _DaysFresh) - Parameters:
_DaysFresh- the DaysFresh to set
-
getDaysTotallyRotten
public int getDaysTotallyRotten()- Returns:
- the DaysTotallyRotten
-
setDaysTotallyRotten
public void setDaysTotallyRotten(int _DaysTotallyRotten) - Parameters:
_DaysTotallyRotten- the DaysTotallyRotten to set
-
getMinutesToCook
public int getMinutesToCook()- Returns:
- the MinutesToCook
-
setMinutesToCook
public void setMinutesToCook(int _MinutesToCook) - Parameters:
_MinutesToCook- the MinutesToCook to set
-
getMinutesToBurn
public int getMinutesToBurn()- Returns:
- the MinutesToBurn
-
setMinutesToBurn
public void setMinutesToBurn(int _MinutesToBurn) - Parameters:
_MinutesToBurn- the MinutesToBurn to set
-
isIsCookable
public boolean isIsCookable()- Returns:
- the IsCookable
-
setIsCookable
public void setIsCookable(boolean _IsCookable) - Parameters:
_IsCookable- the IsCookable to set
-
getCookingSound
-
getStressChange
public float getStressChange()- Returns:
- the StressChange
-
setStressChange
public void setStressChange(float _StressChange) - Parameters:
_StressChange- the StressChange to set
-
getBoredomChange
public float getBoredomChange()- Returns:
- the BoredomChange
-
setBoredomChange
public void setBoredomChange(float _BoredomChange) - Parameters:
_BoredomChange- the BoredomChange to set
-
getUnhappyChange
public float getUnhappyChange()- Returns:
- the UnhappyChange
-
setUnhappyChange
public void setUnhappyChange(float _UnhappyChange) - Parameters:
_UnhappyChange- the UnhappyChange to set
-
isAlwaysWelcomeGift
public boolean isAlwaysWelcomeGift()- Returns:
- the AlwaysWelcomeGift
-
setAlwaysWelcomeGift
public void setAlwaysWelcomeGift(boolean _AlwaysWelcomeGift) - Parameters:
_AlwaysWelcomeGift- the AlwaysWelcomeGift to set
-
isRanged
public boolean isRanged()- Returns:
- the Ranged
-
setRanged
public void setRanged(boolean _Ranged) - Parameters:
_Ranged- the Ranged to set
-
getMaxRange
public float getMaxRange()- Returns:
- the MaxRange
-
setMaxRange
public void setMaxRange(float _MaxRange) - Parameters:
_MaxRange- the MaxRange to set
-
getMinAngle
public float getMinAngle()- Returns:
- the MinAngle
-
setMinAngle
public void setMinAngle(float _MinAngle) - Parameters:
_MinAngle- the MinAngle to set
-
getMaxDamage
public float getMaxDamage()- Returns:
- the MaxDamage
-
setMaxDamage
public void setMaxDamage(float _MaxDamage) - Parameters:
_MaxDamage- the MaxDamage to set
-
getMinDamage
public float getMinDamage()- Returns:
- the MinDamage
-
setMinDamage
public void setMinDamage(float _MinDamage) - Parameters:
_MinDamage- the MinDamage to set
-
getMinimumSwingTime
public float getMinimumSwingTime()- Returns:
- the MinimumSwingTime
-
setMinimumSwingTime
public void setMinimumSwingTime(float _MinimumSwingTime) - Parameters:
_MinimumSwingTime- the MinimumSwingTime to set
-
getSwingSound
- Returns:
- the SwingSound
-
setSwingSound
- Parameters:
_SwingSound- the SwingSound to set
-
getWeaponSprite
- Returns:
- the WeaponSprite
-
setWeaponSprite
- Parameters:
_WeaponSprite- the WeaponSprite to set
-
isAngleFalloff
public boolean isAngleFalloff()- Returns:
- the AngleFalloff
-
setAngleFalloff
public void setAngleFalloff(boolean _AngleFalloff) - Parameters:
_AngleFalloff- the AngleFalloff to set
-
getSoundVolume
public int getSoundVolume()- Returns:
- the SoundVolume
-
setSoundVolume
public void setSoundVolume(int _SoundVolume) - Parameters:
_SoundVolume- the SoundVolume to set
-
getToHitModifier
public float getToHitModifier()- Returns:
- the ToHitModifier
-
setToHitModifier
public void setToHitModifier(float _ToHitModifier) - Parameters:
_ToHitModifier- the ToHitModifier to set
-
getSoundRadius
public int getSoundRadius()- Returns:
- the SoundRadius
-
setSoundRadius
public void setSoundRadius(int _SoundRadius) - Parameters:
_SoundRadius- the SoundRadius to set
-
getOtherCharacterVolumeBoost
public float getOtherCharacterVolumeBoost()- Returns:
- the OtherCharacterVolumeBoost
-
setOtherCharacterVolumeBoost
public void setOtherCharacterVolumeBoost(float _OtherCharacterVolumeBoost) - Parameters:
_OtherCharacterVolumeBoost- the OtherCharacterVolumeBoost to set
-
containsWeaponCategory
-
getWeaponCategories
-
setWeaponCategories
-
getTags
-
getImpactSound
- Returns:
- the ImpactSound
-
setImpactSound
- Parameters:
_ImpactSound- the ImpactSound to set
-
getSwingTime
public float getSwingTime()- Returns:
- the SwingTime
-
setSwingTime
public void setSwingTime(float _SwingTime) - Parameters:
_SwingTime- the SwingTime to set
-
isKnockBackOnNoDeath
public boolean isKnockBackOnNoDeath()- Returns:
- the KnockBackOnNoDeath
-
setKnockBackOnNoDeath
public void setKnockBackOnNoDeath(boolean _KnockBackOnNoDeath) - Parameters:
_KnockBackOnNoDeath- the KnockBackOnNoDeath to set
-
isSplatBloodOnNoDeath
public boolean isSplatBloodOnNoDeath()- Returns:
- the SplatBloodOnNoDeath
-
setSplatBloodOnNoDeath
public void setSplatBloodOnNoDeath(boolean _SplatBloodOnNoDeath) - Parameters:
_SplatBloodOnNoDeath- the SplatBloodOnNoDeath to set
-
getSwingAmountBeforeImpact
public float getSwingAmountBeforeImpact()- Returns:
- the SwingAmountBeforeImpact
-
setSwingAmountBeforeImpact
public void setSwingAmountBeforeImpact(float _SwingAmountBeforeImpact) - Parameters:
_SwingAmountBeforeImpact- the SwingAmountBeforeImpact to set
-
getAmmoType
- Returns:
- the AmmoType
-
setAmmoType
- Parameters:
_AmmoType- the AmmoType to set
-
getDoorDamage
public int getDoorDamage()- Returns:
- the DoorDamage
-
setDoorDamage
public void setDoorDamage(int _DoorDamage) - Parameters:
_DoorDamage- the DoorDamage to set
-
getConditionLowerChance
public int getConditionLowerChance()- Returns:
- the ConditionLowerChance
-
setConditionLowerChance
public void setConditionLowerChance(int _ConditionLowerChance) - Parameters:
_ConditionLowerChance- the ConditionLowerChance to set
-
getConditionMax
public int getConditionMax()- Returns:
- the ConditionMax
-
setConditionMax
public void setConditionMax(int _ConditionMax) - Parameters:
_ConditionMax- the ConditionMax to set
-
isCanBandage
public boolean isCanBandage()- Returns:
- the CanBandage
-
setCanBandage
public void setCanBandage(boolean _CanBandage) - Parameters:
_CanBandage- the CanBandage to set
-
isCosmetic
public boolean isCosmetic() -
getName
- Overrides:
getNamein classGameEntityScript- Returns:
- the name
-
getModuleName
- Overrides:
getModuleNamein classGameEntityScript
-
getFullName
- Overrides:
getFullNamein classGameEntityScript
-
setName
- Parameters:
_name- the name to set
-
getMaxHitCount
public int getMaxHitCount()- Returns:
- the MaxHitCount
-
setMaxHitCount
public void setMaxHitCount(int _MaxHitCount) - Parameters:
_MaxHitCount- the MaxHitCount to set
-
isUseSelf
public boolean isUseSelf()- Returns:
- the UseSelf
-
setUseSelf
public void setUseSelf(boolean _UseSelf) - Parameters:
_UseSelf- the UseSelf to set
-
isOtherHandUse
public boolean isOtherHandUse()- Returns:
- the OtherHandUse
-
setOtherHandUse
public void setOtherHandUse(boolean _OtherHandUse) - Parameters:
_OtherHandUse- the OtherHandUse to set
-
getOtherHandRequire
- Returns:
- the OtherHandRequire
-
setOtherHandRequire
- Parameters:
_OtherHandRequire- the OtherHandRequire to set
-
getPhysicsObject
- Returns:
- the PhysicsObject
-
setPhysicsObject
- Parameters:
_PhysicsObject- the PhysicsObject to set
-
getSwingAnim
- Returns:
- the SwingAnim
-
setSwingAnim
- Parameters:
_SwingAnim- the SwingAnim to set
-
getWeaponWeight
public float getWeaponWeight()- Returns:
- the WeaponWeight
-
setWeaponWeight
public void setWeaponWeight(float _WeaponWeight) - Parameters:
_WeaponWeight- the WeaponWeight to set
-
getEnduranceChange
public float getEnduranceChange()- Returns:
- the EnduranceChange
-
setEnduranceChange
public void setEnduranceChange(float _EnduranceChange) - Parameters:
_EnduranceChange- the EnduranceChange to set
-
getBreakSound
-
getBulletOutSound
-
getCloseSound
-
getClothingItem
-
setClothingItemAsset
-
getClothingItemAsset
-
getClothingItemExtra
-
getClothingItemExtraOption
-
getFabricType
-
getIconsForTexture
-
getCustomEatSound
-
getFillFromDispenserSound
-
getFillFromLakeSound
-
getFillFromTapSound
-
getFillFromToiletSound
-
getEatType
-
getPourType
-
getReadType
-
getDigType
-
getCountDownSound
-
getBringToBearSound
-
getAimReleaseSound
-
getEjectAmmoStartSound
-
getEjectAmmoSound
-
getEjectAmmoStopSound
-
getInsertAmmoStartSound
-
getInsertAmmoSound
-
getInsertAmmoStopSound
-
getEquipSound
-
getUnequipSound
-
getExplosionSound
-
getStaticModel
-
getWorldStaticModel
-
getStaticModelException
-
getOpenSound
-
getPutInSound
-
getPlaceOneSound
-
getPlaceMultipleSound
-
getShellFallSound
-
getDropSound
-
getSoundByID
-
getSkillTrained
-
getDoorHitSound
- Returns:
- the DoorHitSound
-
setDoorHitSound
- Parameters:
_DoorHitSound- the DoorHitSound to set
-
isManuallyRemoveSpentRounds
public boolean isManuallyRemoveSpentRounds() -
getReplaceOnUse
- Returns:
- the ReplaceOnUse
-
setReplaceOnUse
- Parameters:
_ReplaceOnUse- the ReplaceOnUse to set
-
getReplaceOnDeplete
-
setReplaceOnDeplete
-
getReplaceTypes
-
getReplaceTypesMap
-
getReplaceType
-
hasReplaceType
-
isDangerousUncooked
public boolean isDangerousUncooked()- Returns:
- the DangerousUncooked
-
setDangerousUncooked
public void setDangerousUncooked(boolean _DangerousUncooked) - Parameters:
_DangerousUncooked- the DangerousUncooked to set
-
isAlcoholic
public boolean isAlcoholic()- Returns:
- the Alcoholic
-
setAlcoholic
public void setAlcoholic(boolean _Alcoholic) - Parameters:
_Alcoholic- the Alcoholic to set
-
getPushBackMod
public float getPushBackMod()- Returns:
- the PushBackMod
-
setPushBackMod
public void setPushBackMod(float _PushBackMod) - Parameters:
_PushBackMod- the PushBackMod to set
-
getSplatNumber
public int getSplatNumber()- Returns:
- the SplatNumber
-
setSplatNumber
public void setSplatNumber(int _SplatNumber) - Parameters:
_SplatNumber- the SplatNumber to set
-
getNPCSoundBoost
public float getNPCSoundBoost()- Returns:
- the NPCSoundBoost
-
setNPCSoundBoost
public void setNPCSoundBoost(float _NPCSoundBoost) - Parameters:
_NPCSoundBoost- the NPCSoundBoost to set
-
isRangeFalloff
public boolean isRangeFalloff()- Returns:
- the RangeFalloff
-
setRangeFalloff
public void setRangeFalloff(boolean _RangeFalloff) - Parameters:
_RangeFalloff- the RangeFalloff to set
-
isUseEndurance
public boolean isUseEndurance()- Returns:
- the UseEndurance
-
setUseEndurance
public void setUseEndurance(boolean _UseEndurance) - Parameters:
_UseEndurance- the UseEndurance to set
-
isMultipleHitConditionAffected
public boolean isMultipleHitConditionAffected()- Returns:
- the MultipleHitConditionAffected
-
setMultipleHitConditionAffected
public void setMultipleHitConditionAffected(boolean _MultipleHitConditionAffected) - Parameters:
_MultipleHitConditionAffected- the MultipleHitConditionAffected to set
-
isCanBarricade
public boolean isCanBarricade()- Returns:
- the CanBarricade
-
setCanBarricade
public void setCanBarricade(boolean _CanBarricade) - Parameters:
_CanBarricade- the CanBarricade to set
-
isUseWhileEquipped
public boolean isUseWhileEquipped()- Returns:
- the UseWhileEquipped
-
setUseWhileEquipped
public void setUseWhileEquipped(boolean _UseWhileEquipped) - Parameters:
_UseWhileEquipped- the UseWhileEquipped to set
-
isUseWhileUnequipped
public boolean isUseWhileUnequipped()- Returns:
- the UseWhileUnequipped
-
setUseWhileUnequipped
public void setUseWhileUnequipped(boolean _UseWhileUnequipped) - Parameters:
_UseWhileUnequipped- the UseWhileUnequipped to set
-
setTicksPerEquipUse
public void setTicksPerEquipUse(int _TicksPerEquipUse) - Parameters:
_TicksPerEquipUse- the TicksPerEquipUse to set
-
getTicksPerEquipUse
public float getTicksPerEquipUse() -
isDisappearOnUse
public boolean isDisappearOnUse()- Returns:
- the DisappearOnUse
-
isKeepOnDeplete
public boolean isKeepOnDeplete() -
setDisappearOnUse
public void setDisappearOnUse(boolean _DisappearOnUse) - Parameters:
_DisappearOnUse- the DisappearOnUse to set
-
setKeepOnDeplete
public void setKeepOnDeplete(boolean boolean0) -
getUseDelta
public float getUseDelta()- Returns:
- the UseDelta
-
setUseDelta
public void setUseDelta(float _UseDelta) - Parameters:
_UseDelta- the UseDelta to set
-
isAlwaysKnockdown
public boolean isAlwaysKnockdown()- Returns:
- the AlwaysKnockdown
-
setAlwaysKnockdown
public void setAlwaysKnockdown(boolean _AlwaysKnockdown) - Parameters:
_AlwaysKnockdown- the AlwaysKnockdown to set
-
getEnduranceMod
public float getEnduranceMod()- Returns:
- the EnduranceMod
-
setEnduranceMod
public void setEnduranceMod(float _EnduranceMod) - Parameters:
_EnduranceMod- the EnduranceMod to set
-
getKnockdownMod
public float getKnockdownMod()- Returns:
- the KnockdownMod
-
setKnockdownMod
public void setKnockdownMod(float _KnockdownMod) - Parameters:
_KnockdownMod- the KnockdownMod to set
-
isCantAttackWithLowestEndurance
public boolean isCantAttackWithLowestEndurance()- Returns:
- the CantAttackWithLowestEndurance
-
setCantAttackWithLowestEndurance
public void setCantAttackWithLowestEndurance(boolean _CantAttackWithLowestEndurance) - Parameters:
_CantAttackWithLowestEndurance- the CantAttackWithLowestEndurance to set
-
getBodyLocation
- Returns:
- the bodyLocation
-
setBodyLocation
- Parameters:
bodyLocation- the bodyLocation to set
-
getPaletteChoices
-
setPaletteChoices
-
getSpriteName
- Returns:
- the SpriteName
-
setSpriteName
- Parameters:
_SpriteName- the SpriteName to set
-
getPalettesStart
- Returns:
- the PalettesStart
-
setPalettesStart
- Parameters:
_PalettesStart- the PalettesStart to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
_type- the type to set
-
getTypeString
-
getMapID
-
getEvolvedRecipe
-
InitLoadPP
- Overrides:
InitLoadPPin classGameEntityScript
-
Load
-
InstanceItem
-
InstanceItem
-
DoParam
-
DoParam
-
reset
public void reset()- Overrides:
resetin classBaseScriptObject
-
PreReload
public void PreReload()- Overrides:
PreReloadin classGameEntityScript
-
OnScriptsLoaded
- Overrides:
OnScriptsLoadedin classGameEntityScript- Throws:
Exception
-
OnLoadedAfterLua
- Overrides:
OnLoadedAfterLuain classGameEntityScript- Throws:
Exception
-
OnPostWorldDictionaryInit
- Overrides:
OnPostWorldDictionaryInitin classGameEntityScript- Throws:
Exception
-
getLevelSkillTrained
public int getLevelSkillTrained() -
getNumLevelsTrained
public int getNumLevelsTrained() -
getMaxLevelTrained
public int getMaxLevelTrained() -
getTeachedRecipes
-
getTemperature
public float getTemperature() -
setTemperature
public void setTemperature(float temperature) -
isConditionAffectsCapacity
public boolean isConditionAffectsCapacity() -
getChanceToFall
public int getChanceToFall() -
getInsulation
public float getInsulation() -
setInsulation
public void setInsulation(float f) -
getWindresist
public float getWindresist() -
setWindresist
public void setWindresist(float w) -
getWaterresist
public float getWaterresist() -
setWaterresist
public void setWaterresist(float w) -
getObsolete
public boolean getObsolete()- Overrides:
getObsoletein classGameEntityScript
-
getAcceptItemFunction
-
getBloodClothingType
-
toString
-
getReplaceWhenUnequip
-
resolveItemTypes
public void resolveItemTypes() -
resolveModelScripts
public void resolveModelScripts() -
getRecordedMediaCat
-
isWorldRender
-
isCantEat
-
getLuaCreate
-
setLuaCreate
-
getOpeningRecipe
-
setOpeningRecipe
-
getSoundParameter
-
getVehiclePartModels
-
getItemConfigKey
-
getR
public float getR() -
getColorRed
public float getColorRed() -
getG
public float getG() -
getColorGreen
public float getColorGreen() -
getB
public float getB() -
getColorBlue
public float getColorBlue() -
setItemConfig
-
getItemConfig
-
hasTag
-
hasTag
-
getCorpseSicknessDefense
public float getCorpseSicknessDefense() -
getWithDrainable
-
getWithoutDrainable
-
getSpawnWith
-
getStaticModelsByIndex
-
getWorldStaticModelsByIndex
-
getWeaponSpritesByIndex
-
getVisionModifier
public float getVisionModifier() -
getHearingModifier
public float getHearingModifier() -
getWorldObjectSprite
-
getStrainModifier
public float getStrainModifier() -
getMaxItemSize
public float getMaxItemSize() -
getOnBreak
-
getHeadConditionLowerChanceMultiplier
public float getHeadConditionLowerChanceMultiplier() -
getDamagedSound
-
getBulletHitArmourSound
-
getWeaponHitArmourSound
-
getShoutType
-
getShoutMultiplier
public float getShoutMultiplier() -
getEatTime
public int getEatTime() -
isVisualAid
public boolean isVisualAid() -
getDiscomfortModifier
public float getDiscomfortModifier() -
getPoisonPower
public float getPoisonPower() -
getPoisonDetectionLevel
public int getPoisonDetectionLevel() -
getHerbalistType
-
getFireFuelRatio
public float getFireFuelRatio() -
isMementoLoot
public boolean isMementoLoot() -
isCookwareLoot
public boolean isCookwareLoot() -
isMaterialLoot
public boolean isMaterialLoot() -
isFarmingLoot
public boolean isFarmingLoot() -
isToolLoot
public boolean isToolLoot() -
isSurvivalGearLoot
public boolean isSurvivalGearLoot() -
isMedicalLoot
public boolean isMedicalLoot() -
isMechanicsLoot
public boolean isMechanicsLoot() -
getLootType
-
ignoreZombieDensity
public boolean ignoreZombieDensity() -
isSpice
public boolean isSpice() -
getItemAfterCleaning
-
getResearchableRecipes
-
getResearchableRecipes
-
getResearchableRecipes
-
hasResearchableRecipes
public boolean hasResearchableRecipes() -
addResearchableRecipe
-
addResearchableRecipes
-
addResearchableRecipe
-
isCraftRecipeProduct
public boolean isCraftRecipeProduct() -
setIsCraftRecipeProduct
public void setIsCraftRecipeProduct(boolean boolean0) -
setIsCraftRecipeProduct
public void setIsCraftRecipeProduct() -
canBeForaged
public boolean canBeForaged() -
setCanBeForaged
public void setCanBeForaged(boolean boolean0) -
addForageFocusCategory
-
clearForageFocusCategories
public void clearForageFocusCategories() -
getForageFocusCategories
-
canSpawnAsLoot
public boolean canSpawnAsLoot() -
setCanSpawnAsLoot
public void setCanSpawnAsLoot(boolean boolean0) -
researchRecipes
-
isUsedInRecipes
public boolean isUsedInRecipes() -
isUsedInRecipes
-
getUsedInRecipes
-
getUsedInRecipes
-
getUsedInRecipes
-
getUsedInFavouriteRecipes
-
isFavouriteRecipeInput
-
getFileName
-
getNumSpawned
public int getNumSpawned() -
isUsedInBuildRecipes
public boolean isUsedInBuildRecipes() -
isUsedInBuildRecipes
-
isUnwanted
-
setUnwanted
-
setUnwanted
-
setWanted
-
getMuzzleFlashModelKey
-