Class Item


public final class Item extends GameEntityScript
  • Field Details

    • clothingExtraSubmenu

      public String clothingExtraSubmenu
    • displayName

      public String displayName
    • hidden

      public boolean hidden
    • cantEat

      public boolean cantEat
    • icon

      public String 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

      public String 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
    • MAXIMUM_FOOD_AGE

      public static final int MAXIMUM_FOOD_AGE
      See Also:
    • 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

      public String replaceOnDeplete
    • replaceOnExtinguish

      public String replaceOnExtinguish
    • 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

      public String swingSound
    • weaponSprite

      public String weaponSprite
    • angleFalloff

      public boolean angleFalloff
    • soundVolume

      public int soundVolume
    • toHitModifier

      public float toHitModifier
    • soundRadius

      public int soundRadius
    • otherCharacterVolumeBoost

      public float otherCharacterVolumeBoost
    • impactSound

      public String impactSound
    • swingTime

      public float swingTime
    • knockBackOnNoDeath

      public boolean knockBackOnNoDeath
    • splatBloodOnNoDeath

      public boolean splatBloodOnNoDeath
    • swingAmountBeforeImpact

      public float swingAmountBeforeImpact
    • maxAmmo

      public int maxAmmo
    • gunType

      public String gunType
    • doorDamage

      public int doorDamage
    • conditionLowerChance

      public int conditionLowerChance
    • headConditionLowerChanceMultiplier

      public float headConditionLowerChanceMultiplier
    • conditionMax

      public int conditionMax
    • canBandage

      public boolean canBandage
    • name

      public String name
    • moduleDotType

      public String moduleDotType
    • maxHitCount

      public int maxHitCount
    • useSelf

      public boolean useSelf
    • otherHandUse

      public boolean otherHandUse
    • otherHandRequire

      public ItemTag otherHandRequire
    • physicsObject

      public String physicsObject
    • swingAnim

      public String swingAnim
    • weaponWeight

      public float weaponWeight
    • enduranceChange

      public float enduranceChange
    • idleAnim

      public String idleAnim
    • runAnim

      public String runAnim
    • attachmentType

      public String attachmentType
    • makeUpType

      public String makeUpType
    • consolidateOption

      public String consolidateOption
    • requireInHandOrInventory

      public ArrayList<String> requireInHandOrInventory
    • doorHitSound

      public String doorHitSound
    • replaceOnUse

      public String 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
    • shareEndurance

      public boolean shareEndurance
    • 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

      public String replaceOnUseOn
    • attachmentsProvided

      public ArrayList<String> attachmentsProvided
    • foodType

      public String foodType
    • defaultModData

      public se.krka.kahlua.vm.KahluaTable defaultModData
    • isAimedFirearm

      public boolean isAimedFirearm
    • isAimedHandWeapon

      public boolean isAimedHandWeapon
    • canStack

      public boolean canStack
    • aimingMod

      public float aimingMod
    • projectileCount

      public int projectileCount
    • projectileSpread

      public float projectileSpread
    • projectileWeightCenter

      public float projectileWeightCenter
    • hitAngleMod

      public float hitAngleMod
    • numberOfPages

      public int numberOfPages
    • lvlSkillTrained

      public int lvlSkillTrained
    • numLevelsTrained

      public int numLevelsTrained
    • skillTrained

      public String skillTrained
    • capacity

      public int capacity
    • maxItemSize

      public float maxItemSize
    • weightReduction

      public int weightReduction
    • subCategory

      public String subCategory
    • activatedItem

      public boolean activatedItem
    • lightStrength

      public float lightStrength
    • torchCone

      public boolean torchCone
    • lightDistance

      public int lightDistance
    • canBeEquipped

      public ItemBodyLocation canBeEquipped
    • twoHandWeapon

      public boolean twoHandWeapon
    • customContextMenu

      public String customContextMenu
    • tooltip

      public String tooltip
    • replaceOnCooked

      public List<String> replaceOnCooked
    • displayCategory

      public String displayCategory
    • trap

      public Boolean 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
    • reloadTime

      public int reloadTime
    • aimingTime

      public int aimingTime
    • 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

      public String evolvedRecipeName
    • map

      public String map
    • vehicleType

      public int vehicleType
    • clothingItem

      public String clothingItem
    • primaryAnimMask

      public String primaryAnimMask
    • secondaryAnimMask

      public String secondaryAnimMask
    • primaryAnimMaskAttachment

      public String primaryAnimMaskAttachment
    • secondaryAnimMaskAttachment

      public String secondaryAnimMaskAttachment
    • replaceInSecondHand

      public String replaceInSecondHand
    • replaceInPrimaryHand

      public String replaceInPrimaryHand
    • replaceWhenUnequip

      public String replaceWhenUnequip
    • replacePrimaryHand

      public ItemReplacement replacePrimaryHand
    • replaceSecondHand

      public ItemReplacement replaceSecondHand
    • worldObjectSprite

      public String worldObjectSprite
    • itemName

      public String itemName
    • normalTexture

      public Texture normalTexture
    • specialTextures

      public List<Texture> specialTextures
    • specialWorldTextureNames

      public List<String> specialWorldTextureNames
    • worldTextureName

      public String worldTextureName
    • worldTexture

      public Texture worldTexture
    • eatType

      public String eatType
    • pourType

      public String pourType
    • readType

      public String readType
    • digType

      public String digType
    • runSpeedModifier

      public float runSpeedModifier
    • combatSpeedModifier

      public float combatSpeedModifier
    • clothingItemExtra

      public ArrayList<String> clothingItemExtra
    • clothingItemExtraOption

      public ArrayList<String> clothingItemExtraOption
    • canHaveHoles

      public Boolean canHaveHoles
    • jamGunChance

      public float jamGunChance
    • needToBeClosedOnceReload

      public boolean needToBeClosedOnceReload
    • neckProtectionModifier

      public float neckProtectionModifier
    • fabricType

      public String fabricType
    • equippedNoSprint

      public boolean equippedNoSprint
    • worldStaticModel

      public String worldStaticModel
    • critDmgMultiplier

      public float critDmgMultiplier
    • isDung

      public boolean isDung
    • cyclicRateMultiplier

      public float cyclicRateMultiplier
    • removeUnhappinessWhenCooked

      public boolean removeUnhappinessWhenCooked
    • stopPower

      public float stopPower
    • milkReplaceItem

      public String milkReplaceItem
    • maxMilk

      public int maxMilk
    • animalFeedType

      public String animalFeedType
    • evolvedRecipe

      public final ArrayList<String> evolvedRecipe
    • withDrainable

      public String withDrainable
    • withoutDrainable

      public String withoutDrainable
    • spawnWith

      public String spawnWith
    • visionModifier

      public float visionModifier
    • hearingModifier

      public float hearingModifier
    • strainModifier

      public float strainModifier
    • damagedSound

      public String damagedSound
    • bulletHitArmourSound

      public String bulletHitArmourSound
    • weaponHitArmourSound

      public String weaponHitArmourSound
    • shoutMultiplier

      public float shoutMultiplier
    • eatTime

      public int eatTime
    • visualAid

      public boolean visualAid
    • discomfortModifier

      public float discomfortModifier
    • fireFuelRatio

      public float fireFuelRatio
    • itemAfterCleaning

      public String itemAfterCleaning
    • isCraftRecipeProduct

      public boolean isCraftRecipeProduct
    • isCraftRecipeProductCheckedExtra

      public boolean isCraftRecipeProductCheckedExtra
    • canBeForaged

      public boolean canBeForaged
    • canBeForagedCheckedExtra

      public boolean canBeForagedCheckedExtra
    • forageFocusCategories

      public final HashSet<String> forageFocusCategories
    • canSpawnAsLoot

      public boolean canSpawnAsLoot
    • canSpawnAsLootCheckedExtra

      public boolean canSpawnAsLootCheckedExtra
    • researchableRecipes

      public ArrayList<String> researchableRecipes
    • isResearchableRecipesCheckedExtra

      public boolean isResearchableRecipesCheckedExtra
    • usedInRecipes

      public ArrayList<String> usedInRecipes
    • isUsedInBuildRecipes

      public boolean isUsedInBuildRecipes
    • bookSubjects

      public final List<BookSubject> bookSubjects
    • magazineSubjects

      public final List<MagazineSubject> magazineSubjects
    • hitSound

      public String hitSound
    • hitFloorSound

      public String hitFloorSound
    • paletteChoices

      public Stack<String> paletteChoices
    • spriteName

      public String spriteName
    • palettesStart

      public String palettesStart
    • netIdToItem

      public static HashMap<Integer,String> netIdToItem
    • netItemToId

      public static HashMap<String,Integer> netItemToId
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns:
      the DisplayName
    • setDisplayName

      public void setDisplayName(String DisplayName)
      Parameters:
      DisplayName - the DisplayName to set
    • isHidden

      public boolean isHidden()
    • getDisplayCategory

      public String getDisplayCategory()
    • getIcon

      public String getIcon()
      Returns:
      the Icon
    • setIcon

      public void setIcon(String Icon)
      Parameters:
      Icon - the Icon to set
    • getNoiseDuration

      public int getNoiseDuration()
    • getNormalTexture

      public Texture 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

      @Deprecated public int getCount()
      Deprecated.
      Returns:
      the Count
    • 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

      public String getCookingSound()
    • getStressChange

      public float getStressChange()
      Returns:
      the StressChange
    • getFoodSicknessChange

      public int getFoodSicknessChange()
    • 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

      public String getSwingSound()
      Returns:
      the SwingSound
    • setSwingSound

      public void setSwingSound(String SwingSound)
      Parameters:
      SwingSound - the SwingSound to set
    • getWeaponSprite

      public String getWeaponSprite()
      Returns:
      the WeaponSprite
    • setWeaponSprite

      public void setWeaponSprite(String WeaponSprite)
      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

      public boolean containsWeaponCategory(WeaponCategory weaponCategory)
    • getWeaponCategories

      public Set<WeaponCategory> getWeaponCategories()
    • setWeaponCategories

      public void setWeaponCategories(Set<WeaponCategory> categories)
    • getTags

      public Set<ItemTag> getTags()
    • getImpactSound

      public String getImpactSound()
      Returns:
      the ImpactSound
    • setImpactSound

      public void setImpactSound(String ImpactSound)
      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

      public AmmoType getAmmoType()
    • setAmmoType

      public void setAmmoType(AmmoType ammoType)
    • 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

      public String getName()
      Overrides:
      getName in class GameEntityScript
      Returns:
      the name
    • getModuleName

      public String getModuleName()
      Overrides:
      getModuleName in class GameEntityScript
    • getFullName

      public String getFullName()
      Overrides:
      getFullName in class GameEntityScript
    • setName

      public void setName(String name)
      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

      public ItemTag getOtherHandRequire()
    • setOtherHandRequire

      public void setOtherHandRequire(ItemTag OtherHandRequire)
    • getPhysicsObject

      public String getPhysicsObject()
      Returns:
      the PhysicsObject
    • setPhysicsObject

      public void setPhysicsObject(String PhysicsObject)
      Parameters:
      PhysicsObject - the PhysicsObject to set
    • getSwingAnim

      public String getSwingAnim()
      Returns:
      the SwingAnim
    • setSwingAnim

      public void setSwingAnim(String SwingAnim)
      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

      public String getBreakSound()
    • getBulletOutSound

      public String getBulletOutSound()
    • getCloseSound

      public String getCloseSound()
    • getClothingItem

      public String getClothingItem()
    • setClothingItemAsset

      public void setClothingItemAsset(ClothingItem asset)
    • getClothingItemAsset

      public ClothingItem getClothingItemAsset()
    • getClothingItemExtra

      public ArrayList<String> getClothingItemExtra()
    • getClothingItemExtraOption

      public ArrayList<String> getClothingItemExtraOption()
    • getFabricType

      public String getFabricType()
    • getIconsForTexture

      public ArrayList<String> getIconsForTexture()
    • getCustomEatSound

      public String getCustomEatSound()
    • getFillFromDispenserSound

      public String getFillFromDispenserSound()
    • getFillFromLakeSound

      public String getFillFromLakeSound()
    • getFillFromTapSound

      public String getFillFromTapSound()
    • getFillFromToiletSound

      public String getFillFromToiletSound()
    • getEatType

      public String getEatType()
    • getPourType

      public String getPourType()
    • getReadType

      public String getReadType()
    • getDigType

      public String getDigType()
    • getCountDownSound

      public String getCountDownSound()
    • getBringToBearSound

      public String getBringToBearSound()
    • getAimReleaseSound

      public String getAimReleaseSound()
    • getEjectAmmoStartSound

      public String getEjectAmmoStartSound()
    • getEjectAmmoSound

      public String getEjectAmmoSound()
    • getEjectAmmoStopSound

      public String getEjectAmmoStopSound()
    • getInsertAmmoStartSound

      public String getInsertAmmoStartSound()
    • getInsertAmmoSound

      public String getInsertAmmoSound()
    • getInsertAmmoStopSound

      public String getInsertAmmoStopSound()
    • getEquipSound

      public String getEquipSound()
    • getUnequipSound

      public String getUnequipSound()
    • getExplosionSound

      public String getExplosionSound()
    • getStaticModel

      public String getStaticModel()
    • getWorldStaticModel

      public String getWorldStaticModel()
    • getStaticModelException

      public String getStaticModelException()
    • getOpenSound

      public String getOpenSound()
    • getPutInSound

      public String getPutInSound()
    • getPlaceOneSound

      public String getPlaceOneSound()
    • getPlaceMultipleSound

      public String getPlaceMultipleSound()
    • getShellFallSound

      public String getShellFallSound()
    • getDropSound

      public String getDropSound()
    • getSoundByID

      public String getSoundByID(String ID)
    • getSoundByID

      public String getSoundByID(SoundMapKey ID)
    • getSkillTrained

      public String getSkillTrained()
    • getDoorHitSound

      public String getDoorHitSound()
      Returns:
      the DoorHitSound
    • setDoorHitSound

      public void setDoorHitSound(String DoorHitSound)
      Parameters:
      DoorHitSound - the DoorHitSound to set
    • isManuallyRemoveSpentRounds

      public boolean isManuallyRemoveSpentRounds()
    • getReplaceOnUse

      public String getReplaceOnUse()
      Returns:
      the ReplaceOnUse
    • setReplaceOnUse

      public void setReplaceOnUse(String ReplaceOnUse)
      Parameters:
      ReplaceOnUse - the ReplaceOnUse to set
    • getReplaceOnDeplete

      public String getReplaceOnDeplete()
    • setReplaceOnDeplete

      public void setReplaceOnDeplete(String ReplaceOnDeplete)
    • getReplaceOnExtinguish

      public String getReplaceOnExtinguish()
    • setReplaceOnExtinguish

      public void setReplaceOnExtinguish(String ReplaceOnExtinguish)
    • getReplaceTypes

      public String getReplaceTypes()
    • getReplaceTypesMap

      public HashMap<String,String> getReplaceTypesMap()
    • getReplaceType

      public String getReplaceType(String key)
    • hasReplaceType

      public boolean hasReplaceType(String key)
    • 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
    • isShareEndurance

      public boolean isShareEndurance()
      Returns:
      the ShareEndurance
    • setShareEndurance

      public void setShareEndurance(boolean ShareEndurance)
      Parameters:
      ShareEndurance - the ShareEndurance 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 KeepOnDeplete)
    • 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

      public ItemBodyLocation getBodyLocation()
    • setBodyLocation

      public void setBodyLocation(ItemBodyLocation bodyLocation)
    • isBodyLocation

      public boolean isBodyLocation(ItemBodyLocation bodyLocation)
    • getPaletteChoices

      public Stack<String> getPaletteChoices()
      Returns:
      the PaletteChoices
    • setPaletteChoices

      public void setPaletteChoices(Stack<String> PaletteChoices)
      Parameters:
      PaletteChoices - the PaletteChoices to set
    • getSpriteName

      public String getSpriteName()
      Returns:
      the SpriteName
    • setSpriteName

      public void setSpriteName(String SpriteName)
      Parameters:
      SpriteName - the SpriteName to set
    • getPalettesStart

      public String getPalettesStart()
      Returns:
      the PalettesStart
    • setPalettesStart

      public void setPalettesStart(String PalettesStart)
      Parameters:
      PalettesStart - the PalettesStart to set
    • getItemType

      public ItemType getItemType()
    • setItemType

      public void setItemType(ItemType itemType)
    • isItemType

      public boolean isItemType(ItemType itemType)
    • getMapID

      public String getMapID()
    • getEvolvedRecipe

      public ArrayList<String> getEvolvedRecipe()
    • InitLoadPP

      public void InitLoadPP(String name)
      Overrides:
      InitLoadPP in class GameEntityScript
    • Load

      public void Load(String name, String totalFile) throws Exception
      Overrides:
      Load in class GameEntityScript
      Throws:
      Exception
    • InstanceItem

      public InventoryItem InstanceItem(String param)
    • InstanceItem

      public InventoryItem InstanceItem(String param, boolean isFirstTimeCreated)
    • DoParam

      public void DoParam(String str)
    • DoParam

      public void DoParam(String param, String val)
    • reset

      public void reset()
      Overrides:
      reset in class BaseScriptObject
    • PreReload

      public void PreReload()
      Overrides:
      PreReload in class GameEntityScript
    • OnScriptsLoaded

      public void OnScriptsLoaded(ScriptLoadMode loadMode) throws Exception
      Overrides:
      OnScriptsLoaded in class GameEntityScript
      Throws:
      Exception
    • OnLoadedAfterLua

      public void OnLoadedAfterLua() throws Exception
      Overrides:
      OnLoadedAfterLua in class GameEntityScript
      Throws:
      Exception
    • OnPostWorldDictionaryInit

      public void OnPostWorldDictionaryInit() throws Exception
      Overrides:
      OnPostWorldDictionaryInit in class GameEntityScript
      Throws:
      Exception
    • getLevelSkillTrained

      public int getLevelSkillTrained()
    • getNumLevelsTrained

      public int getNumLevelsTrained()
    • getMaxLevelTrained

      public int getMaxLevelTrained()
    • getLearnedRecipes

      public List<String> getLearnedRecipes()
    • 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:
      getObsolete in class GameEntityScript
    • getAcceptItemFunction

      public String getAcceptItemFunction()
    • getBloodClothingType

      public ArrayList<BloodClothingType> getBloodClothingType()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getReplaceWhenUnequip

      public String getReplaceWhenUnequip()
    • resolveItemTypes

      public void resolveItemTypes()
    • resolveModelScripts

      public void resolveModelScripts()
    • getRecordedMediaCat

      public String getRecordedMediaCat()
    • isWorldRender

      public Boolean isWorldRender()
    • isCantEat

      public Boolean isCantEat()
    • getLuaCreate

      public String getLuaCreate()
    • setLuaCreate

      public void setLuaCreate(String functionName)
    • getOpeningRecipe

      public String getOpeningRecipe()
    • setOpeningRecipe

      public void setOpeningRecipe(String recipeName)
    • getDoubleClickRecipe

      public String getDoubleClickRecipe()
    • setDoubleClickRecipe

      public void setDoubleClickRecipe(String recipeName)
    • getSoundParameter

      public String getSoundParameter(String parameterName)
    • getVehiclePartModels

      public ArrayList<VehiclePartModel> getVehiclePartModels()
    • getItemConfigKey

      public String 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

      public void setItemConfig(ItemConfig itemConfig)
    • getItemConfig

      public ItemConfig getItemConfig()
    • hasTag

      public boolean hasTag(ItemTag... tags)
    • hasTag

      public boolean hasTag(ItemTag itemTag)
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense()
    • getWithDrainable

      public String getWithDrainable()
    • getWithoutDrainable

      public String getWithoutDrainable()
    • getSpawnWith

      public String getSpawnWith()
    • getStaticModelsByIndex

      public ArrayList<String> getStaticModelsByIndex()
    • getWorldStaticModelsByIndex

      public ArrayList<String> getWorldStaticModelsByIndex()
    • getWeaponSpritesByIndex

      public ArrayList<String> getWeaponSpritesByIndex()
    • getVisionModifier

      public float getVisionModifier()
    • getHearingModifier

      public float getHearingModifier()
    • getWorldObjectSprite

      public String getWorldObjectSprite()
    • getStrainModifier

      public float getStrainModifier()
    • getMaxItemSize

      public float getMaxItemSize()
    • getOnBreak

      public String getOnBreak()
    • getHeadConditionLowerChanceMultiplier

      public float getHeadConditionLowerChanceMultiplier()
    • getDamagedSound

      public String getDamagedSound()
    • getBulletHitArmourSound

      public String getBulletHitArmourSound()
    • getWeaponHitArmourSound

      public String getWeaponHitArmourSound()
    • getShoutType

      public String 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

      public String 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

      public String getLootType()
    • ignoreZombieDensity

      public boolean ignoreZombieDensity()
    • isSpice

      public boolean isSpice()
    • getItemAfterCleaning

      public String getItemAfterCleaning()
    • getResearchableRecipes

      public ArrayList<String> getResearchableRecipes()
    • getResearchableRecipes

      public ArrayList<String> getResearchableRecipes(IsoGameCharacter chr)
    • getResearchableRecipes

      public ArrayList<String> getResearchableRecipes(IsoGameCharacter chr, boolean blacklistKnown)
    • hasResearchableRecipes

      public boolean hasResearchableRecipes()
    • addResearchableRecipe

      public void addResearchableRecipe(String recipeName)
    • addResearchableRecipes

      public void addResearchableRecipes(ArrayList<String> recipeNames)
    • addResearchableRecipe

      public void addResearchableRecipe(CraftRecipe craftRecipe)
    • isCraftRecipeProduct

      public boolean isCraftRecipeProduct()
    • setIsCraftRecipeProduct

      public void setIsCraftRecipeProduct(boolean isProduct)
    • setIsCraftRecipeProduct

      public void setIsCraftRecipeProduct()
    • canBeForaged

      public boolean canBeForaged()
    • setCanBeForaged

      public void setCanBeForaged(boolean canBe)
    • addForageFocusCategory

      public void addForageFocusCategory(String categoryName)
    • clearForageFocusCategories

      public void clearForageFocusCategories()
    • getForageFocusCategories

      public HashSet<String> getForageFocusCategories()
    • canSpawnAsLoot

      public boolean canSpawnAsLoot()
    • setCanSpawnAsLoot

      public void setCanSpawnAsLoot(boolean canSpawn)
    • researchRecipes

      public void researchRecipes(IsoGameCharacter character)
    • isUsedInRecipes

      public boolean isUsedInRecipes()
    • isUsedInRecipes

      public boolean isUsedInRecipes(IsoGameCharacter character)
    • getUsedInRecipes

      public ArrayList<String> getUsedInRecipes()
    • getUsedInRecipes

      public ArrayList<String> getUsedInRecipes(IsoGameCharacter character)
    • getUsedInRecipes

      public ArrayList<String> getUsedInRecipes(IsoGameCharacter character, ArrayList<String> recipesList)
    • getUsedInFavouriteRecipes

      public ArrayList<String> getUsedInFavouriteRecipes(IsoPlayer player)
    • isFavouriteRecipeInput

      public boolean isFavouriteRecipeInput(IsoPlayer player)
    • getFileName

      public String getFileName()
    • getNumSpawned

      public int getNumSpawned()
    • isUsedInBuildRecipes

      public boolean isUsedInBuildRecipes()
    • isUsedInBuildRecipes

      public boolean isUsedInBuildRecipes(IsoGameCharacter character)
    • isUnwanted

      public boolean isUnwanted(IsoPlayer player)
    • setUnwanted

      public void setUnwanted(IsoPlayer player, boolean unwanted)
    • setUnwanted

      public void setUnwanted(IsoPlayer player)
    • setWanted

      public void setWanted(IsoPlayer player)
    • getMuzzleFlashModelKey

      public ModelKey getMuzzleFlashModelKey()
    • isCantBeFrozen

      public boolean isCantBeFrozen()