Class InventoryItem

java.lang.Object
zombie.entity.GameEntity
zombie.inventory.InventoryItem
  • Field Details

    • previousOwner

      protected IsoGameCharacter previousOwner
    • ScriptItem

      protected Item ScriptItem
    • cat

      protected ItemType cat
    • container

      protected ItemContainer container
    • containerX

      protected int containerX
    • containerY

      protected int containerY
    • name

      protected String name
    • replaceOnUse

      protected String replaceOnUse
    • replaceOnUseFullType

      protected String replaceOnUseFullType
    • ConditionMax

      protected int ConditionMax
    • rightClickContainer

      protected ItemContainer rightClickContainer
    • texture

      protected Texture texture
    • texturerotten

      protected Texture texturerotten
    • textureCooked

      protected Texture textureCooked
    • textureBurnt

      protected Texture textureBurnt
    • type

      protected String type
    • fullType

      protected String fullType
    • uses

      protected int uses
    • Age

      protected float Age
    • LastAged

      protected float LastAged
    • IsCookable

      protected boolean IsCookable
    • CookingTime

      protected float CookingTime
    • MinutesToCook

      protected float MinutesToCook
    • MinutesToBurn

      protected float MinutesToBurn
    • Cooked

      public boolean Cooked
    • Burnt

      protected boolean Burnt
    • OffAge

      protected int OffAge
    • OffAgeMax

      protected int OffAgeMax
    • Weight

      protected float Weight
    • ActualWeight

      protected float ActualWeight
    • WorldTexture

      protected String WorldTexture
    • Description

      protected String Description
    • Condition

      protected int Condition
    • OffString

      protected String OffString
    • FreshString

      protected String FreshString
    • StaleString

      protected String StaleString
    • CookedString

      protected String CookedString
    • ToastedString

      protected String ToastedString
    • GrilledString

      protected String GrilledString
    • UnCookedString

      protected String UnCookedString
    • FrozenString

      protected String FrozenString
    • BurntString

      protected String BurntString
    • EmptyString

      protected String EmptyString
    • module

      protected String module
    • boredomChange

      protected float boredomChange
    • unhappyChange

      protected float unhappyChange
    • stressChange

      protected float stressChange
    • Taken

      protected ArrayList<IsoObject> Taken
    • placeDir

      protected IsoDirections placeDir
    • newPlaceDir

      protected IsoDirections newPlaceDir
    • ReplaceOnUseOn

      public String ReplaceOnUseOn
    • col

      public Color col
    • CanStack

      public boolean CanStack
    • fatigueChange

      public float fatigueChange
    • worldItem

      public IsoWorldInventoryObject worldItem
    • deadBodyObject

      public IsoDeadBody deadBodyObject
    • id

      public int id
    • RequiresEquippedBothHands

      public boolean RequiresEquippedBothHands
    • byteData

      public ByteBuffer byteData
    • extraItems

      public ArrayList<String> extraItems
    • alcoholic

      protected boolean alcoholic
    • requireInHandOrInventory

      protected ArrayList<String> requireInHandOrInventory
    • visual

      protected ItemVisual visual
    • staticModel

      protected String staticModel
    • worldZRotation

      public int worldZRotation
    • worldScale

      public float worldScale
    • worldXRotation

      public int worldXRotation
    • worldYRotation

      public int worldYRotation
    • atlasTexture

      public WorldItemAtlas.ItemTexture atlasTexture
    • textureColorMask

      protected Texture textureColorMask
    • textureFluidMask

      protected Texture textureFluidMask
    • jobDelta

      public float jobDelta
    • jobType

      public String jobType
    • mainCategory

      public String mainCategory
    • CloseKillMove

      public String CloseKillMove
  • Constructor Details

  • Method Details

    • getSaveType

      public int getSaveType()
    • getWorldItem

      public IsoWorldInventoryObject getWorldItem()
    • setEquipParent

      public void setEquipParent(IsoGameCharacter parent)
    • setEquipParent

      public void setEquipParent(IsoGameCharacter isoGameCharacter, boolean boolean0)
    • getEquipParent

      public IsoGameCharacter getEquipParent()
    • getBringToBearSound

      public String getBringToBearSound()
    • getEquipSound

      public String getEquipSound()
    • getUnequipSound

      public String getUnequipSound()
    • getDropSound

      public String getDropSound()
    • setWorldItem

      public void setWorldItem(IsoWorldInventoryObject w)
    • setJobDelta

      public void setJobDelta(float delta)
    • getJobDelta

      public float getJobDelta()
    • setJobType

      public void setJobType(String _type)
    • getJobType

      public String getJobType()
    • hasModData

      public boolean hasModData()
    • getModData

      public se.krka.kahlua.vm.KahluaTable getModData()
    • storeInByteData

      public void storeInByteData(IsoObject o)
    • getByteData

      public ByteBuffer getByteData()
    • loadCorpseFromByteData

      public IsoDeadBody loadCorpseFromByteData(IsoGridSquare isoGridSquare)
    • createAndStoreDefaultDeadBody

      public IsoDeadBody createAndStoreDefaultDeadBody(IsoGridSquare isoGridSquare)
    • isRequiresEquippedBothHands

      public boolean isRequiresEquippedBothHands()
    • getA

      public float getA()
    • getR

      public float getR()
    • getG

      public float getG()
    • getB

      public float getB()
    • getType

      public String getType()
    • getTex

      public Texture getTex()
    • getCategory

      public String getCategory()
    • UseForCrafting

      public boolean UseForCrafting(int var1)
    • IsRotten

      public boolean IsRotten()
    • HowRotten

      public float HowRotten()
    • CanStack

      public boolean CanStack(InventoryItem item)
    • ModDataMatches

      public boolean ModDataMatches(InventoryItem item)
    • DoTooltip

      public void DoTooltip(ObjectTooltip tooltipUI)
    • DoTooltipEmbedded

      public void DoTooltipEmbedded(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout1, int int2)
    • getCleanString

      public String getCleanString(float weight)
    • DoTooltip

      public void DoTooltip(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout)
    • SetContainerPosition

      public void SetContainerPosition(int x, int y)
    • Use

      public void Use()
    • UseAndSync

      public void UseAndSync()
    • UseItem

      public void UseItem()
    • Use

      public void Use(boolean bCrafting)
    • Use

      public void Use(boolean boolean0, boolean boolean1, boolean boolean2)
    • shouldUpdateInWorld

      public boolean shouldUpdateInWorld()
    • update

      public void update()
    • finishupdate

      public boolean finishupdate()
    • updateSound

      public void updateSound(BaseSoundEmitter emitter)
    • updateEquippedAndActivatedSound

      public void updateEquippedAndActivatedSound(BaseSoundEmitter var1)
    • updateEquippedAndActivatedSound

      public void updateEquippedAndActivatedSound()
    • stopEquippedAndActivatedSound

      protected void stopEquippedAndActivatedSound()
    • playActivateSound

      public void playActivateSound()
    • playDeactivateSound

      public void playDeactivateSound()
    • playActivateDeactivateSound

      public void playActivateDeactivateSound()
    • playSoundOnPlayer

      protected void playSoundOnPlayer(String string)
    • getOwnerPlayer

      protected IsoPlayer getOwnerPlayer(ItemContainer itemContainer)
    • getFullType

      public String getFullType()
    • save

      public void save(ByteBuffer output, boolean net) throws IOException
      Throws:
      IOException
    • loadItem

      public static InventoryItem loadItem(ByteBuffer input, int WorldVersion) throws IOException
      Throws:
      IOException
    • loadItem

      public static InventoryItem loadItem(ByteBuffer input, int WorldVersion, boolean doSaveTypeCheck) throws IOException
      Attempts loading the item including creation, uppon failure bytes might be skipped or the buffer position may be set to end item position. Item needs to be saved with size.
      Returns:
      InventoryItem, or null if the item failed loading or if Creating the item failed due to being obsolete etc.
      Throws:
      IOException
    • loadItem

      public static InventoryItem loadItem(ByteBuffer byteBuffer, int int2, boolean boolean0, InventoryItem inventoryItem1) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer input, int WorldVersion) throws IOException
      Throws:
      IOException
    • IsFood

      public boolean IsFood()
    • IsWeapon

      public boolean IsWeapon()
    • IsDrainable

      public boolean IsDrainable()
    • IsLiterature

      public boolean IsLiterature()
    • IsClothing

      public boolean IsClothing()
    • IsInventoryContainer

      public boolean IsInventoryContainer()
    • IsMap

      public boolean IsMap()
    • getOutermostContainer

      public ItemContainer getOutermostContainer()
    • isInLocalPlayerInventory

      public boolean isInLocalPlayerInventory()
    • isInPlayerInventory

      public boolean isInPlayerInventory()
    • getItemReplacementPrimaryHand

      public ItemReplacement getItemReplacementPrimaryHand()
    • getItemReplacementSecondHand

      public ItemReplacement getItemReplacementSecondHand()
    • getClothingItem

      public ClothingItem getClothingItem()
    • getAlternateModelName

      public String getAlternateModelName()
    • getVisual

      public ItemVisual getVisual()
    • allowRandomTint

      public boolean allowRandomTint()
    • synchWithVisual

      public void synchWithVisual()
    • getContainerX

      public int getContainerX()
      Returns:
      the containerX
    • setContainerX

      public void setContainerX(int _containerX)
    • getContainerY

      public int getContainerY()
      Returns:
      the containerY
    • setContainerY

      public void setContainerY(int _containerY)
    • isDisappearOnUse

      public boolean isDisappearOnUse()
      Returns:
      the DisappearOnUse
    • isKeepOnDeplete

      public boolean isKeepOnDeplete()
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String _name)
    • getReplaceOnUse

      public String getReplaceOnUse()
      Returns:
      the replaceOnUse
    • setReplaceOnUse

      public void setReplaceOnUse(String _replaceOnUse)
    • getReplaceOnUseFullType

      public String getReplaceOnUseFullType()
    • getConditionMax

      public int getConditionMax()
      Returns:
      the ConditionMax
    • setConditionMax

      public void setConditionMax(int _ConditionMax)
    • getRightClickContainer

      public ItemContainer getRightClickContainer()
      Returns:
      the rightClickContainer
    • setRightClickContainer

      public void setRightClickContainer(ItemContainer _rightClickContainer)
    • getSwingAnim

      public String getSwingAnim()
      Returns:
      the swingAnim
    • getTexture

      public Texture getTexture()
      Returns:
      the texture
    • getIcon

      public Texture getIcon()
    • setTexture

      public void setTexture(Texture _texture)
    • setIcon

      public void setIcon(Texture texturex)
    • getTexturerotten

      public Texture getTexturerotten()
      Returns:
      the texturerotten
    • setTexturerotten

      public void setTexturerotten(Texture _texturerotten)
    • getTextureCooked

      public Texture getTextureCooked()
      Returns:
      the textureCooked
    • setTextureCooked

      public void setTextureCooked(Texture _textureCooked)
    • getTextureBurnt

      public Texture getTextureBurnt()
      Returns:
      the textureBurnt
    • setTextureBurnt

      public void setTextureBurnt(Texture _textureBurnt)
    • setType

      public void setType(String _type)
    • setCurrentUses

      public void setCurrentUses(int int0)
    • getCurrentUses

      public int getCurrentUses()
    • setCurrentUsesFrom

      public void setCurrentUsesFrom(InventoryItem inventoryItem1)
    • getMaxUses

      public int getMaxUses()
    • getCurrentUsesFloat

      public float getCurrentUsesFloat()
    • getUses

      @Deprecated public int getUses()
      Deprecated.
      Returns:
      the uses
    • setUses

      @Deprecated public void setUses(int _uses)
      Deprecated.
    • setUsesFrom

      public void setUsesFrom(InventoryItem inventoryItem1)
    • getAge

      public float getAge()
      Returns:
      the Age
    • setAge

      public void setAge(float _Age)
    • getLastAged

      public float getLastAged()
    • setLastAged

      public void setLastAged(float time)
    • updateAge

      public void updateAge()
    • setAutoAge

      public void setAutoAge()
    • isIsCookable

      public boolean isIsCookable()
      Returns:
      the IsCookable
    • isCookable

      public boolean isCookable()
      Returns:
      the IsCookable
    • setIsCookable

      public void setIsCookable(boolean _IsCookable)
    • getCookingTime

      public float getCookingTime()
      Returns:
      the CookingTime
    • setCookingTime

      public void setCookingTime(float _CookingTime)
    • getMinutesToCook

      public float getMinutesToCook()
      Returns:
      the MinutesToCook
    • setMinutesToCook

      public void setMinutesToCook(float _MinutesToCook)
    • getMinutesToBurn

      public float getMinutesToBurn()
      Returns:
      the MinutesToBurn
    • setMinutesToBurn

      public void setMinutesToBurn(float _MinutesToBurn)
    • isCooked

      public boolean isCooked()
      Returns:
      the Cooked
    • setCooked

      public void setCooked(boolean _Cooked)
    • isBurnt

      public boolean isBurnt()
      Returns:
      the Burnt
    • setBurnt

      public void setBurnt(boolean _Burnt)
    • getOffAge

      public int getOffAge()
      Returns:
      the OffAge
    • setOffAge

      public void setOffAge(int _OffAge)
    • getOffAgeMax

      public int getOffAgeMax()
      Returns:
      the OffAgeMax
    • setOffAgeMax

      public void setOffAgeMax(int _OffAgeMax)
    • getWeight

      public float getWeight()
      Returns:
      the Weight
    • setWeight

      public void setWeight(float _Weight)
    • getActualWeight

      public float getActualWeight()
      Returns:
      the ActualWeight
    • setActualWeight

      public void setActualWeight(float _ActualWeight)
    • getWorldTexture

      public String getWorldTexture()
      Returns:
      the WorldTexture
    • setWorldTexture

      public void setWorldTexture(String _WorldTexture)
    • getDescription

      public String getDescription()
      Returns:
      the Description
    • setDescription

      public void setDescription(String _Description)
    • getCondition

      public int getCondition()
      Returns:
      the Condition
    • setCondition

      public void setCondition(int _Condition, boolean doSound)
    • doBreakSound

      public void doBreakSound()
    • doDamagedSound

      public void doDamagedSound()
    • setCondition

      public void setCondition(int _Condition)
    • setConditionNoSound

      public void setConditionNoSound(int int0)
    • setConditionWhileLoading

      public void setConditionWhileLoading(int int0)
    • getOffString

      public String getOffString()
      Returns:
      the OffString
    • setOffString

      public void setOffString(String _OffString)
    • getCookedString

      public String getCookedString()
      Returns:
      the CookedString
    • setCookedString

      public void setCookedString(String _CookedString)
    • getUnCookedString

      public String getUnCookedString()
      Returns:
      the UnCookedString
    • setUnCookedString

      public void setUnCookedString(String _UnCookedString)
    • getBurntString

      public String getBurntString()
      Returns:
      the BurntString
    • setBurntString

      public void setBurntString(String _BurntString)
    • getModule

      public String getModule()
      Returns:
      the module
    • setModule

      public void setModule(String _module)
    • isAlwaysWelcomeGift

      public boolean isAlwaysWelcomeGift()
      Returns:
      the AlwaysWelcomeGift
    • isCanBandage

      public boolean isCanBandage()
      Returns:
      the CanBandage
    • getBoredomChange

      public float getBoredomChange()
      Returns:
      the boredomChange
    • setBoredomChange

      public void setBoredomChange(float _boredomChange)
    • getUnhappyChange

      public float getUnhappyChange()
      Returns:
      the unhappyChange
    • setUnhappyChange

      public void setUnhappyChange(float _unhappyChange)
    • getStressChange

      public float getStressChange()
      Returns:
      the stressChange
    • setStressChange

      public void setStressChange(float _stressChange)
    • getTags

      public ArrayList<String> getTags()
    • hasTag

      public boolean hasTag(String tag)
    • getTaken

      public ArrayList<IsoObject> getTaken()
      Returns:
      the Taken
    • setTaken

      public void setTaken(ArrayList<IsoObject> _Taken)
    • getPlaceDir

      public IsoDirections getPlaceDir()
      Returns:
      the placeDir
    • setPlaceDir

      public void setPlaceDir(IsoDirections _placeDir)
    • getNewPlaceDir

      public IsoDirections getNewPlaceDir()
      Returns:
      the newPlaceDir
    • setNewPlaceDir

      public void setNewPlaceDir(IsoDirections _newPlaceDir)
    • setReplaceOnUseOn

      public void setReplaceOnUseOn(String _ReplaceOnUseOn)
    • getReplaceOnUseOn

      public String getReplaceOnUseOn()
    • getReplaceOnUseOnString

      public String getReplaceOnUseOnString()
    • getReplaceTypes

      public String getReplaceTypes()
    • getReplaceTypesMap

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

      public String getReplaceType(String key)
    • hasReplaceType

      public boolean hasReplaceType(String key)
    • isWaterSource

      public boolean isWaterSource()
      Returns:
      the IsWaterSource
    • CopyModData

      public void CopyModData(se.krka.kahlua.vm.KahluaTable kahluaTable)
    • copyModData

      public void copyModData(se.krka.kahlua.vm.KahluaTable kahluaTable)
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • isActivated

      public boolean isActivated()
    • setActivated

      public void setActivated(boolean _activated)
    • setActivatedRemote

      public void setActivatedRemote(boolean _activated)
    • setCanBeActivated

      public void setCanBeActivated(boolean activatedItem)
    • canBeActivated

      public boolean canBeActivated()
    • setLightStrength

      public void setLightStrength(float _lightStrength)
    • getLightStrength

      public float getLightStrength()
    • isTorchCone

      public boolean isTorchCone()
    • setTorchCone

      public void setTorchCone(boolean _isTorchCone)
    • getTorchDot

      public float getTorchDot()
    • getLightDistance

      public int getLightDistance()
    • setLightDistance

      public void setLightDistance(int _lightDistance)
    • canEmitLight

      public boolean canEmitLight()
    • isEmittingLight

      public boolean isEmittingLight()
    • canStoreWater

      public boolean canStoreWater()
    • getFatigueChange

      public float getFatigueChange()
    • setFatigueChange

      public void setFatigueChange(float _fatigueChange)
    • getCurrentCondition

      public float getCurrentCondition()
      Return the real condition of the weapon, based on this calcul : Condition/ConditionMax * 100
      Returns:
      float
    • setColor

      public void setColor(Color color)
    • getColor

      public Color getColor()
    • getColorInfo

      public ColorInfo getColorInfo()
    • isTwoHandWeapon

      public boolean isTwoHandWeapon()
    • getCustomMenuOption

      public String getCustomMenuOption()
    • setCustomMenuOption

      public void setCustomMenuOption(String _customMenuOption)
    • setTooltip

      public void setTooltip(String _tooltip)
    • getTooltip

      public String getTooltip()
    • getDisplayCategory

      public String getDisplayCategory()
    • setDisplayCategory

      public void setDisplayCategory(String _displayCategory)
    • getHaveBeenRepaired

      public int getHaveBeenRepaired()
    • setHaveBeenRepaired

      public void setHaveBeenRepaired(int _haveBeenRepaired)
    • getTimesRepaired

      public int getTimesRepaired()
    • setTimesRepaired

      public void setTimesRepaired(int int0)
    • copyTimesRepairedFrom

      public void copyTimesRepairedFrom(InventoryItem inventoryItem1)
    • copyTimesRepairedTo

      public void copyTimesRepairedTo(InventoryItem inventoryItem0)
    • getTimesHeadRepaired

      public int getTimesHeadRepaired()
    • setTimesHeadRepaired

      public void setTimesHeadRepaired(int int0)
    • hasTimesHeadRepaired

      public boolean hasTimesHeadRepaired()
    • copyTimesHeadRepairedFrom

      public void copyTimesHeadRepairedFrom(InventoryItem inventoryItem1)
    • copyTimesHeadRepairedTo

      public void copyTimesHeadRepairedTo(InventoryItem inventoryItem0)
    • isBroken

      public boolean isBroken()
    • setBroken

      public void setBroken(boolean _broken)
    • getDisplayName

      public String getDisplayName()
    • isTrap

      public boolean isTrap()
    • addExtraItem

      public void addExtraItem(String _type)
    • haveExtraItems

      public boolean haveExtraItems()
    • getExtraItems

      public ArrayList<String> getExtraItems()
    • getExtraItemsWeight

      public float getExtraItemsWeight()
    • isCustomName

      public boolean isCustomName()
    • setCustomName

      public void setCustomName(boolean _customName)
    • isFishingLure

      public boolean isFishingLure()
    • copyConditionModData

      public void copyConditionModData(InventoryItem other)
    • setConditionFromModData

      public void setConditionFromModData(InventoryItem other)
    • getBreakSound

      public String getBreakSound()
    • setBreakSound

      public void setBreakSound(String _breakSound)
    • getPlaceOneSound

      public String getPlaceOneSound()
    • getPlaceMultipleSound

      public String getPlaceMultipleSound()
    • getSoundByID

      public String getSoundByID(String ID)
    • setBeingFilled

      public void setBeingFilled(boolean v)
    • isBeingFilled

      public boolean isBeingFilled()
    • getFillFromDispenserSound

      public String getFillFromDispenserSound()
    • getFillFromLakeSound

      public String getFillFromLakeSound()
    • getFillFromTapSound

      public String getFillFromTapSound()
    • getFillFromToiletSound

      public String getFillFromToiletSound()
    • getPourLiquidOnGroundSound

      public String getPourLiquidOnGroundSound()
    • isAlcoholic

      public boolean isAlcoholic()
    • setAlcoholic

      public void setAlcoholic(boolean _alcoholic)
    • getAlcoholPower

      public float getAlcoholPower()
    • setAlcoholPower

      public void setAlcoholPower(float _alcoholPower)
    • getBandagePower

      public float getBandagePower()
    • setBandagePower

      public void setBandagePower(float _bandagePower)
    • getReduceInfectionPower

      public float getReduceInfectionPower()
    • setReduceInfectionPower

      public void setReduceInfectionPower(float reduceInfectionPower)
    • saveWithSize

      public final void saveWithSize(ByteBuffer output, boolean net) throws IOException
      Throws:
      IOException
    • isCustomWeight

      public boolean isCustomWeight()
    • setCustomWeight

      public void setCustomWeight(boolean custom)
    • getContentsWeight

      public float getContentsWeight()
    • getHotbarEquippedWeight

      public float getHotbarEquippedWeight()
    • getEquippedWeight

      public float getEquippedWeight()
    • getUnequippedWeight

      public float getUnequippedWeight()
    • isEquipped

      public boolean isEquipped()
    • getUser

      public IsoGameCharacter getUser()
    • getOwner

      public IsoGameCharacter getOwner()
    • getKeyId

      public int getKeyId()
    • setKeyId

      public void setKeyId(int _keyId)
    • isRemoteController

      public boolean isRemoteController()
    • setRemoteController

      public void setRemoteController(boolean _remoteController)
    • canBeRemote

      public boolean canBeRemote()
    • setCanBeRemote

      public void setCanBeRemote(boolean _canBeRemote)
    • getRemoteControlID

      public int getRemoteControlID()
    • setRemoteControlID

      public void setRemoteControlID(int _remoteControlID)
    • getRemoteRange

      public int getRemoteRange()
    • setRemoteRange

      public void setRemoteRange(int _remoteRange)
    • getExplosionSound

      public String getExplosionSound()
    • setExplosionSound

      public void setExplosionSound(String _explosionSound)
    • getCountDownSound

      public String getCountDownSound()
    • setCountDownSound

      public void setCountDownSound(String sound)
    • getColorRed

      public float getColorRed()
    • setColorRed

      public void setColorRed(float _colorRed)
    • getColorGreen

      public float getColorGreen()
    • setColorGreen

      public void setColorGreen(float _colorGreen)
    • getColorBlue

      public float getColorBlue()
    • setColorBlue

      public void setColorBlue(float _colorBlue)
    • getEvolvedRecipeName

      public String getEvolvedRecipeName()
    • setEvolvedRecipeName

      public void setEvolvedRecipeName(String _evolvedRecipeName)
    • getMetalValue

      public float getMetalValue()
    • setMetalValue

      public void setMetalValue(float _metalValue)
    • getItemHeat

      public float getItemHeat()
    • setItemHeat

      public void setItemHeat(float _itemHeat)
    • getInvHeat

      public float getInvHeat()
    • getMeltingTime

      public float getMeltingTime()
    • setMeltingTime

      public void setMeltingTime(float _meltingTime)
    • getWorker

      public String getWorker()
    • setWorker

      public void setWorker(String _worker)
    • getID

      public int getID()
    • setID

      public void setID(int itemId)
    • isWet

      public boolean isWet()
    • setWet

      public void setWet(boolean _isWet)
    • getWetCooldown

      public float getWetCooldown()
    • setWetCooldown

      public void setWetCooldown(float _wetCooldown)
    • getItemWhenDry

      public String getItemWhenDry()
    • setItemWhenDry

      public void setItemWhenDry(String _itemWhenDry)
    • isFavorite

      public boolean isFavorite()
    • setFavorite

      public void setFavorite(boolean _favorite)
    • getRequireInHandOrInventory

      public ArrayList<String> getRequireInHandOrInventory()
    • setRequireInHandOrInventory

      public void setRequireInHandOrInventory(ArrayList<String> _requireInHandOrInventory)
    • isCustomColor

      public boolean isCustomColor()
    • setCustomColor

      public void setCustomColor(boolean _customColor)
    • doBuildingStash

      public void doBuildingStash()
    • setStashMap

      public void setStashMap(String _stashMap)
    • getStashMap

      public String getStashMap()
    • getMechanicType

      public int getMechanicType()
    • getItemCapacity

      public float getItemCapacity()
    • setItemCapacity

      public void setItemCapacity(float capacity)
    • getMaxCapacity

      public int getMaxCapacity()
    • setMaxCapacity

      public void setMaxCapacity(int _maxCapacity)
    • isConditionAffectsCapacity

      public boolean isConditionAffectsCapacity()
    • getBrakeForce

      public float getBrakeForce()
    • setBrakeForce

      public void setBrakeForce(float _brakeForce)
    • getDurability

      public float getDurability()
    • setDurability

      public void setDurability(float float0)
    • getChanceToSpawnDamaged

      public int getChanceToSpawnDamaged()
    • setChanceToSpawnDamaged

      public void setChanceToSpawnDamaged(int _chanceToSpawnDamaged)
    • getConditionLowerNormal

      public float getConditionLowerNormal()
    • setConditionLowerNormal

      public void setConditionLowerNormal(float _conditionLowerNormal)
    • getConditionLowerOffroad

      public float getConditionLowerOffroad()
    • setConditionLowerOffroad

      public void setConditionLowerOffroad(float _conditionLowerOffroad)
    • getWheelFriction

      public float getWheelFriction()
    • setWheelFriction

      public void setWheelFriction(float _wheelFriction)
    • getSuspensionDamping

      public float getSuspensionDamping()
    • setSuspensionDamping

      public void setSuspensionDamping(float _suspensionDamping)
    • getSuspensionCompression

      public float getSuspensionCompression()
    • setSuspensionCompression

      public void setSuspensionCompression(float _suspensionCompression)
    • setInfected

      public void setInfected(boolean infected)
    • isInfected

      public boolean isInfected()
    • getEngineLoudness

      public float getEngineLoudness()
    • setEngineLoudness

      public void setEngineLoudness(float _engineLoudness)
    • getStaticModel

      public String getStaticModel()
    • setStaticModel

      public void setStaticModel(String string)
    • getStaticModelException

      public String getStaticModelException()
    • getIconsForTexture

      public ArrayList<String> getIconsForTexture()
    • setIconsForTexture

      public void setIconsForTexture(ArrayList<String> _iconsForTexture)
    • getScore

      public float getScore(SurvivorDesc desc)
    • getPreviousOwner

      public IsoGameCharacter getPreviousOwner()
      Returns:
      the previousOwner
    • setPreviousOwner

      public void setPreviousOwner(IsoGameCharacter _previousOwner)
    • getScriptItem

      public Item getScriptItem()
      Returns:
      the ScriptItem
    • setScriptItem

      public void setScriptItem(Item _ScriptItem)
    • getCat

      public ItemType getCat()
      Returns:
      the cat
    • setCat

      public void setCat(ItemType _cat)
    • getContainer

      public ItemContainer getContainer()
      Returns:
      the container
    • setContainer

      public void setContainer(ItemContainer _container)
    • getBloodClothingType

      public ArrayList<BloodClothingType> getBloodClothingType()
    • setBloodClothingType

      public void setBloodClothingType(ArrayList<BloodClothingType> _bloodClothingType)
    • setBlood

      public void setBlood(BloodBodyPartType bodyPartType, float amount)
    • getBlood

      public float getBlood(BloodBodyPartType bodyPartType)
    • setDirt

      public void setDirt(BloodBodyPartType bodyPartType, float amount)
    • getDirt

      public float getDirt(BloodBodyPartType bodyPartType)
    • getClothingItemName

      public String getClothingItemName()
    • getStashChance

      public int getStashChance()
    • setStashChance

      public void setStashChance(int _stashChance)
    • getEatType

      public String getEatType()
    • getPourType

      public String getPourType()
    • isUseWorldItem

      public boolean isUseWorldItem()
    • getAmmoType

      public String getAmmoType()
    • setAmmoType

      public void setAmmoType(String _ammoType)
    • getMaxAmmo

      public int getMaxAmmo()
    • setMaxAmmo

      public void setMaxAmmo(int maxAmmoCount)
    • getCurrentAmmoCount

      public int getCurrentAmmoCount()
    • setCurrentAmmoCount

      public void setCurrentAmmoCount(int ammo)
    • getGunType

      public String getGunType()
    • setGunType

      public void setGunType(String _gunType)
    • hasBlood

      public boolean hasBlood()
    • hasDirt

      public boolean hasDirt()
    • getAttachmentType

      public String getAttachmentType()
    • setAttachmentType

      public void setAttachmentType(String _attachmentType)
    • getAttachedSlot

      public int getAttachedSlot()
    • setAttachedSlot

      public void setAttachedSlot(int _attachedSlot)
    • getAttachmentsProvided

      public ArrayList<String> getAttachmentsProvided()
    • setAttachmentsProvided

      public void setAttachmentsProvided(ArrayList<String> _attachmentsProvided)
    • getAttachedSlotType

      public String getAttachedSlotType()
    • setAttachedSlotType

      public void setAttachedSlotType(String _attachedSlotType)
    • getAttachmentReplacement

      public String getAttachmentReplacement()
    • setAttachmentReplacement

      public void setAttachmentReplacement(String attachementReplacement)
    • getAttachedToModel

      public String getAttachedToModel()
    • setAttachedToModel

      public void setAttachedToModel(String _attachedToModel)
    • getFabricType

      public String getFabricType()
    • getStringItemType

      public String getStringItemType()
    • isProtectFromRainWhileEquipped

      public boolean isProtectFromRainWhileEquipped()
    • isEquippedNoSprint

      public boolean isEquippedNoSprint()
    • getBodyLocation

      public String getBodyLocation()
    • getMakeUpType

      public String getMakeUpType()
    • isHidden

      public boolean isHidden()
    • getConsolidateOption

      public String getConsolidateOption()
    • getClothingItemExtra

      public ArrayList<String> getClothingItemExtra()
    • getClothingItemExtraOption

      public ArrayList<String> getClothingItemExtraOption()
    • getWorldStaticItem

      public String getWorldStaticItem()
    • getWorldStaticModel

      public String getWorldStaticModel()
    • setWorldStaticItem

      public void setWorldStaticItem(String string)
    • setWorldStaticModel

      public void setWorldStaticModel(String string)
    • setRegistry_id

      public void setRegistry_id(Item itemscript)
    • getRegistry_id

      public short getRegistry_id()
    • getModID

      public String getModID()
    • getModName

      public String getModName()
    • isVanilla

      public boolean isVanilla()
    • getRecordedMediaIndex

      public short getRecordedMediaIndex()
    • setRecordedMediaIndex

      public void setRecordedMediaIndex(short _id)
    • setRecordedMediaIndexInteger

      public void setRecordedMediaIndexInteger(int _id)
    • isRecordedMedia

      public boolean isRecordedMedia()
    • getMediaData

      public MediaData getMediaData()
    • getMediaType

      public byte getMediaType()
    • setMediaType

      public void setMediaType(byte b)
    • setRecordedMediaData

      public void setRecordedMediaData(MediaData data)
    • setWorldZRotation

      public void setWorldZRotation(int rot)
    • getWorldZRotation

      public int getWorldZRotation()
    • setWorldYRotation

      public void setWorldYRotation(int int0)
    • getWorldYRotation

      public int getWorldYRotation()
    • setWorldXRotation

      public void setWorldXRotation(int int0)
    • getWorldXRotation

      public int getWorldXRotation()
    • randomizeWorldZRotation

      public void randomizeWorldZRotation()
    • setWorldScale

      public void setWorldScale(float scale)
    • getLuaCreate

      public String getLuaCreate()
    • isInitialised

      public boolean isInitialised()
    • setInitialised

      public void setInitialised(boolean initialised)
    • initialiseItem

      public void initialiseItem()
    • getMilkReplaceItem

      public String getMilkReplaceItem()
    • getMaxMilk

      public int getMaxMilk()
    • isAnimalFeed

      public boolean isAnimalFeed()
    • getAnimalFeedType

      public String getAnimalFeedType()
    • getDigType

      public String getDigType()
    • getSoundParameter

      public String getSoundParameter(String parameterName)
    • isWorn

      public boolean isWorn()
    • reset

      public void reset()
      Overrides:
      reset in class GameEntity
    • toString

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

      public Texture getTextureColorMask()
    • getTextureFluidMask

      public Texture getTextureFluidMask()
    • setTextureColorMask

      public void setTextureColorMask(String string)
    • setTextureFluidMask

      public void setTextureFluidMask(String string)
    • getSquare

      public IsoGridSquare getSquare()
      Specified by:
      getSquare in class GameEntity
    • getGameEntityType

      public GameEntityType getGameEntityType()
      Specified by:
      getGameEntityType in class GameEntity
    • getEntityNetID

      public long getEntityNetID()
      Specified by:
      getEntityNetID in class GameEntity
    • getX

      public float getX()
      Specified by:
      getX in class GameEntity
    • getY

      public float getY()
      Specified by:
      getY in class GameEntity
    • getZ

      public float getZ()
      Specified by:
      getZ in class GameEntity
    • isEntityValid

      public boolean isEntityValid()
      Specified by:
      isEntityValid in class GameEntity
    • RemoveFromContainer

      public static boolean RemoveFromContainer(InventoryItem inventoryItem)
    • getAnimalTracks

      public AnimalTracks getAnimalTracks()
    • setAnimalTracks

      public void setAnimalTracks(AnimalTracks animalTracksx)
    • syncItemFields

      public void syncItemFields()
    • getWithDrainable

      public String getWithDrainable()
    • getWithoutDrainable

      public String getWithoutDrainable()
    • getStaticModelsByIndex

      public ArrayList<String> getStaticModelsByIndex()
    • setStaticModelsByIndex

      public void setStaticModelsByIndex(ArrayList<String> arrayList)
    • getWorldStaticModelsByIndex

      public ArrayList<String> getWorldStaticModelsByIndex()
    • setWorldStaticModelsByIndex

      public void setWorldStaticModelsByIndex(ArrayList<String> arrayList)
    • tryGetWorldStaticModelByIndex

      public String tryGetWorldStaticModelByIndex(int int0)
    • getModelIndex

      public int getModelIndex()
    • setModelIndex

      public void setModelIndex(int int0)
    • getVisionModifier

      public float getVisionModifier()
    • getHearingModifier

      public float getHearingModifier()
    • getWorldObjectSprite

      public String getWorldObjectSprite()
    • getStrainModifier

      public float getStrainModifier()
    • getConditionLowerChance

      public int getConditionLowerChance()
    • setConditionFrom

      public void setConditionFrom(InventoryItem inventoryItem0)
    • setConditionTo

      public void setConditionTo(InventoryItem inventoryItem0)
    • reduceCondition

      public void reduceCondition()
    • damageCheck

      public boolean damageCheck()
    • damageCheck

      public boolean damageCheck(int int0)
    • damageCheck

      public boolean damageCheck(int int0, float float0)
    • damageCheck

      public boolean damageCheck(int int0, float float0, boolean boolean0)
    • damageCheck

      public boolean damageCheck(int int0, float float0, boolean boolean0, boolean boolean1)
    • damageCheck

      public boolean damageCheck(int int0, float float0, boolean boolean0, boolean boolean1, IsoGameCharacter isoGameCharacter)
    • sharpnessCheck

      public boolean sharpnessCheck()
    • sharpnessCheck

      public boolean sharpnessCheck(int int0)
    • sharpnessCheck

      public boolean sharpnessCheck(int int0, float float0)
    • sharpnessCheck

      public boolean sharpnessCheck(int int0, float float0, boolean boolean0)
    • sharpnessCheck

      public boolean sharpnessCheck(int int0, float float0, boolean boolean0, boolean boolean1)
    • hasSharpness

      public boolean hasSharpness()
    • getSharpness

      public float getSharpness()
    • getMaxSharpness

      public float getMaxSharpness()
    • applyMaxSharpness

      public void applyMaxSharpness()
    • getSharpnessMultiplier

      public float getSharpnessMultiplier()
    • setSharpness

      public void setSharpness(float float1)
    • setSharpnessFrom

      public void setSharpnessFrom(InventoryItem inventoryItem0)
    • getSharpnessIncrement

      public float getSharpnessIncrement()
    • isDamaged

      public boolean isDamaged()
    • isDull

      public boolean isDull()
    • getMaintenanceMod

      public int getMaintenanceMod()
    • getMaintenanceMod

      public int getMaintenanceMod(boolean boolean0)
    • getMaintenanceMod

      public int getMaintenanceMod(IsoGameCharacter isoGameCharacter)
    • getMaintenanceMod

      public int getMaintenanceMod(boolean boolean0, IsoGameCharacter isoGameCharacter)
    • getWeaponLevel

      public int getWeaponLevel()
    • headConditionCheck

      public boolean headConditionCheck()
    • headConditionCheck

      public boolean headConditionCheck(int int0)
    • headConditionCheck

      public boolean headConditionCheck(int int0, float float0)
    • headConditionCheck

      public boolean headConditionCheck(int int0, float float0, boolean boolean0)
    • headConditionCheck

      public boolean headConditionCheck(int int0, float float0, boolean boolean0, boolean boolean1)
    • getHeadConditionLowerChance

      public int getHeadConditionLowerChance()
    • getHeadConditionLowerChanceMultiplier

      public float getHeadConditionLowerChanceMultiplier()
    • reduceHeadCondition

      public void reduceHeadCondition()
    • hasHeadCondition

      public boolean hasHeadCondition()
    • getHeadCondition

      public int getHeadCondition()
    • getHeadConditionMax

      public int getHeadConditionMax()
    • setHeadCondition

      public void setHeadCondition(int int0)
    • setHeadConditionFromCondition

      public void setHeadConditionFromCondition(InventoryItem inventoryItem0)
    • setConditionFromHeadCondition

      public void setConditionFromHeadCondition(InventoryItem inventoryItem0)
    • hasQuality

      public boolean hasQuality()
    • getQuality

      public int getQuality()
    • setQuality

      public void setQuality(int int0)
    • getOnBreak

      public String getOnBreak()
    • onBreak

      public void onBreak()
    • getBloodLevelAdjustedLow

      public float getBloodLevelAdjustedLow()
    • getBloodLevelAdjustedHigh

      public float getBloodLevelAdjustedHigh()
    • getBloodLevel

      public float getBloodLevel()
    • setBloodLevel

      public void setBloodLevel(float var1)
    • copyBloodLevelFrom

      public void copyBloodLevelFrom(InventoryItem inventoryItem1)
    • isBloody

      public boolean isBloody()
    • getDamagedSound

      public String getDamagedSound()
    • getShoutType

      public String getShoutType()
    • getShoutMultiplier

      public float getShoutMultiplier()
    • getEatTime

      public int getEatTime()
    • isVisualAid

      public boolean isVisualAid()
    • getDiscomfortModifier

      public float getDiscomfortModifier()
    • hasMetal

      public boolean hasMetal()
    • getFireFuelRatio

      public float getFireFuelRatio()
    • getWetness

      public float getWetness()
    • isMemento

      public boolean isMemento()
    • nameAfterDescriptor

      public void nameAfterDescriptor(SurvivorDesc survivorDesc)
    • monogramAfterDescriptor

      public void monogramAfterDescriptor(SurvivorDesc survivorDesc)
    • getLootType

      public String getLootType()
    • getIsCraftingConsumed

      public boolean getIsCraftingConsumed()
    • setIsCraftingConsumed

      public void setIsCraftingConsumed(boolean boolean0)
    • OnAddedToContainer

      public void OnAddedToContainer(ItemContainer var1)
    • OnBeforeRemoveFromContainer

      public void OnBeforeRemoveFromContainer(ItemContainer var1)
    • getDeadBodyObject

      public IsoDeadBody getDeadBodyObject()
    • isPureWater

      public boolean isPureWater(boolean boolean0)
    • copyClothing

      public void copyClothing(InventoryItem inventoryItem0)
    • inheritFoodAgeFrom

      public void inheritFoodAgeFrom(InventoryItem var1)
    • inheritOlderFoodAge

      public void inheritOlderFoodAge(InventoryItem var1)
    • isFood

      public boolean isFood()
    • unsealIfNotFull

      public void unsealIfNotFull()
    • randomizeCondition

      public void randomizeCondition()
    • randomizeGeneralCondition

      public void randomizeGeneralCondition()
    • randomizeHeadCondition

      public void randomizeHeadCondition()
    • randomizeSharpness

      public void randomizeSharpness()
    • isEmptyOfFluid

      public boolean isEmptyOfFluid()
    • isFullOfFluid

      public boolean isFullOfFluid()
    • isFluidContainer

      public boolean isFluidContainer()
    • isSpice

      public boolean isSpice()
    • isKeyRing

      public boolean isKeyRing()
    • isFakeEquipped

      public boolean isFakeEquipped(IsoGameCharacter isoGameCharacter)
    • isFakeEquipped

      public boolean isFakeEquipped()
    • getItemAfterCleaning

      public String getItemAfterCleaning()
    • getResearchableRecipes

      public ArrayList<String> getResearchableRecipes()
    • getResearchableRecipes

      public ArrayList<String> getResearchableRecipes(IsoGameCharacter isoGameCharacter)
    • hasResearchableRecipes

      public boolean hasResearchableRecipes()
    • researchRecipes

      public void researchRecipes(IsoGameCharacter isoGameCharacter)
    • hasOrigin

      public boolean hasOrigin()
    • canHaveOrigin

      public boolean canHaveOrigin()
    • setOrigin

      public boolean setOrigin(IsoGridSquare isoGridSquare)
    • setOrigin

      public boolean setOrigin(int int0, int int1)
    • setOrigin

      public boolean setOrigin(int int0, int int1, int int2)
    • setOriginX

      public void setOriginX(int int0)
    • setOriginY

      public void setOriginY(int int0)
    • setOriginZ

      public void setOriginZ(int int0)
    • getOriginX

      public int getOriginX()
    • getOriginY

      public int getOriginY()
    • getOriginZ

      public int getOriginZ()
    • canBeEquipped

      public String canBeEquipped()
    • getPlayer

      public IsoPlayer getPlayer()