Package zombie.scripting.objects
Class Item
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.Item
public class Item extends BaseScriptObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Item.ClothingBodyLocation
static class
Item.Type
-
Field Summary
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
Modifier and Type Method Description void
DoParam(java.lang.String string)
float
getActualWeight()
java.lang.String
getAmmoType()
Item.ClothingBodyLocation
getBodyLocation()
float
getBoredomChange()
java.lang.String
getBreakSound()
java.lang.String
getBulletOutSound()
boolean
getCanStoreWater()
java.util.ArrayList
getCategories()
java.lang.String
getCloseSound()
int
getConditionLowerChance()
int
getConditionMax()
int
getCount()
java.lang.String
getCountDownSound()
java.lang.String
getCustomEatSound()
int
getDaysFresh()
int
getDaysTotallyRotten()
java.lang.String
getDisplayCategory()
java.lang.String
getDisplayName()
int
getDoorDamage()
java.lang.String
getDoorHitSound()
float
getEnduranceChange()
float
getEnduranceMod()
java.lang.String
getExplosionSound()
java.lang.String
getFullName()
float
getHungerChange()
java.lang.String
getIcon()
java.lang.String
getImpactSound()
float
getInsulation()
float
getKnockdownMod()
float
getMaxDamage()
int
getMaxHitCount()
float
getMaxRange()
float
getMinAngle()
float
getMinDamage()
float
getMinimumSwingTime()
int
getMinutesToBurn()
int
getMinutesToCook()
java.lang.String
getModuleName()
java.lang.String
getName()
float
getNPCSoundBoost()
boolean
getObsolete()
java.lang.String
getOpenSound()
float
getOtherCharacterVolumeBoost()
java.lang.String
getOtherHandRequire()
java.util.Stack
getPaletteChoices()
java.lang.String
getPalettesStart()
java.lang.String
getPhysicsObject()
float
getPushBackMod()
java.lang.String
getPutInSound()
java.lang.String
getReplaceOnUse()
java.lang.String
getShellFallSound()
int
getSoundRadius()
int
getSoundVolume()
int
getSplatNumber()
java.lang.String
getSpriteName()
float
getStressChange()
float
getSwingAmountBeforeImpact()
java.lang.String
getSwingAnim()
java.lang.String
getSwingSound()
float
getSwingTime()
float
getTemperature()
float
getToHitModifier()
Item.Type
getType()
java.lang.String
getTypeString()
float
getUnhappyChange()
float
getUseDelta()
java.lang.String
getWeaponSprite()
float
getWeaponWeight()
InventoryItem
InstanceItem(java.lang.String string)
boolean
isAlcoholic()
boolean
isAlwaysKnockdown()
boolean
isAlwaysWelcomeGift()
boolean
isAngleFalloff()
boolean
isCanBandage()
boolean
isCanBarricade()
boolean
isCantAttackWithLowestEndurance()
boolean
isConditionAffectsCapacity()
boolean
isDangerousUncooked()
boolean
isDisappearOnUse()
boolean
isIsCookable()
boolean
isKnockBackOnNoDeath()
boolean
isMultipleHitConditionAffected()
boolean
isOtherHandUse()
boolean
isRanged()
boolean
isRangeFalloff()
boolean
isShareDamage()
boolean
isShareEndurance()
boolean
isSplatBloodOnNoDeath()
boolean
isUseEndurance()
boolean
isUseSelf()
boolean
isUseWhileEquipped()
void
Load(java.lang.String string, java.lang.String[] stringArray)
void
setActualWeight(float float1)
void
setAlcoholic(boolean boolean1)
void
setAlwaysKnockdown(boolean boolean1)
void
setAlwaysWelcomeGift(boolean boolean1)
void
setAmmoType(java.lang.String string)
void
setAngleFalloff(boolean boolean1)
void
setBodyLocation(Item.ClothingBodyLocation clothingBodyLocation)
void
setBoredomChange(float float1)
void
setCanBandage(boolean boolean1)
void
setCanBarricade(boolean boolean1)
void
setCantAttackWithLowestEndurance(boolean boolean1)
void
setCategories(java.util.ArrayList arrayList)
void
setConditionLowerChance(int int1)
void
setConditionMax(int int1)
void
setCount(int int1)
void
setDangerousUncooked(boolean boolean1)
void
setDaysFresh(int int1)
void
setDaysTotallyRotten(int int1)
void
setDisappearOnUse(boolean boolean1)
void
setDisplayName(java.lang.String string)
void
setDoorDamage(int int1)
void
setDoorHitSound(java.lang.String string)
void
setEnduranceChange(float float1)
void
setEnduranceMod(float float1)
void
setHungerChange(float float1)
void
setIcon(java.lang.String string)
void
setImpactSound(java.lang.String string)
void
setInsulation(float float1)
void
setIsCookable(boolean boolean1)
void
setKnockBackOnNoDeath(boolean boolean1)
void
setKnockdownMod(float float1)
void
setMaxDamage(float float1)
void
setMaxHitCount(int int1)
void
setMaxRange(float float1)
void
setMinAngle(float float1)
void
setMinDamage(float float1)
void
setMinimumSwingTime(float float1)
void
setMinutesToBurn(int int1)
void
setMinutesToCook(int int1)
void
setMultipleHitConditionAffected(boolean boolean1)
void
setName(java.lang.String string)
void
setNPCSoundBoost(float float1)
void
setOtherCharacterVolumeBoost(float float1)
void
setOtherHandRequire(java.lang.String string)
void
setOtherHandUse(boolean boolean1)
void
setPaletteChoices(java.util.Stack stack)
void
setPalettesStart(java.lang.String string)
void
setPhysicsObject(java.lang.String string)
void
setPushBackMod(float float1)
void
setRanged(boolean boolean1)
void
setRangeFalloff(boolean boolean1)
void
setReplaceOnUse(java.lang.String string)
void
setShareDamage(boolean boolean1)
void
setShareEndurance(boolean boolean1)
void
setSoundRadius(int int1)
void
setSoundVolume(int int1)
void
setSplatBloodOnNoDeath(boolean boolean1)
void
setSplatNumber(int int1)
void
setSpriteName(java.lang.String string)
void
setStressChange(float float1)
void
setSwingAmountBeforeImpact(float float1)
void
setSwingAnim(java.lang.String string)
void
setSwingSound(java.lang.String string)
void
setSwingTime(float float1)
void
setTemperature(float float1)
void
setToHitModifier(float float1)
void
setType(Item.Type type)
void
setUnhappyChange(float float1)
void
setUseDelta(float float1)
void
setUseDelta(java.lang.String string)
void
setUseEndurance(boolean boolean1)
void
setUseSelf(boolean boolean1)
void
setUseWhileEquipped(boolean boolean1)
void
setWeaponSprite(java.lang.String string)
void
setWeaponWeight(float float1)
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DisplayName
public java.lang.String DisplayName -
Icon
public java.lang.String Icon -
ResizeWorldIcon
public boolean ResizeWorldIcon -
ScaleWorldIcon
public float ScaleWorldIcon -
CloseKillMove
public java.lang.String CloseKillMove -
ActualWeight
public float ActualWeight -
HungerChange
public float HungerChange -
CriticalChance
public float CriticalChance -
Count
public int Count -
DaysFresh
public int DaysFresh -
DaysTotallyRotten
public int DaysTotallyRotten -
MinutesToCook
public int MinutesToCook -
MinutesToBurn
public int MinutesToBurn -
IsCookable
public boolean IsCookable -
StressChange
public float StressChange -
BoredomChange
public float BoredomChange -
UnhappyChange
public float UnhappyChange -
AlwaysWelcomeGift
public boolean AlwaysWelcomeGift -
ReplaceOnDeplete
public java.lang.String ReplaceOnDeplete -
Ranged
public boolean Ranged -
CanStoreWater
public boolean CanStoreWater -
MaxRange
public float MaxRange -
MinRange
public float MinRange -
ThistChange
public float ThistChange -
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 java.lang.String SwingSound -
WeaponSprite
public java.lang.String WeaponSprite -
AngleFalloff
public boolean AngleFalloff -
SoundVolume
public int SoundVolume -
ToHitModifier
public float ToHitModifier -
SoundRadius
public int SoundRadius -
OtherCharacterVolumeBoost
public float OtherCharacterVolumeBoost -
Categories
public java.util.ArrayList Categories -
ImpactSound
public java.lang.String ImpactSound -
SwingTime
public float SwingTime -
KnockBackOnNoDeath
public boolean KnockBackOnNoDeath -
SplatBloodOnNoDeath
public boolean SplatBloodOnNoDeath -
SwingAmountBeforeImpact
public float SwingAmountBeforeImpact -
AmmoType
public java.lang.String AmmoType -
DoorDamage
public int DoorDamage -
ConditionLowerChance
public int ConditionLowerChance -
ConditionMax
public int ConditionMax -
CanBandage
public boolean CanBandage -
name
public java.lang.String name -
MaxHitCount
public int MaxHitCount -
UseSelf
public boolean UseSelf -
OtherHandUse
public boolean OtherHandUse -
OtherHandRequire
public java.lang.String OtherHandRequire -
PhysicsObject
public java.lang.String PhysicsObject -
SwingAnim
public java.lang.String SwingAnim -
WeaponWeight
public float WeaponWeight -
EnduranceChange
public float EnduranceChange -
IdleAnim
public java.lang.String IdleAnim -
RunAnim
public java.lang.String RunAnim -
RequireInHandOrInventory
public java.util.ArrayList RequireInHandOrInventory -
DoorHitSound
public java.lang.String DoorHitSound -
ReplaceOnUse
public java.lang.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 -
CanBarricade
public boolean CanBarricade -
UseWhileEquipped
public boolean UseWhileEquipped -
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 java.lang.String ReplaceOnUseOn -
IsWaterSource
public boolean IsWaterSource -
FoodType
public java.lang.String FoodType -
Poison
public boolean Poison -
PoisonDetectionLevel
public java.lang.Integer PoisonDetectionLevel -
PoisonPower
public int PoisonPower -
DefaultModData
-
IsAimedFirearm
public boolean IsAimedFirearm -
IsAimedHandWeapon
public boolean IsAimedHandWeapon -
CanStack
public boolean CanStack -
AimingMod
public float AimingMod -
ProjectileCount
public int ProjectileCount -
HitAngleMod
public float HitAngleMod -
SplatSize
public float SplatSize -
Temperature
public float Temperature -
NumberOfPages
public int NumberOfPages -
LvlSkillTrained
public int LvlSkillTrained -
NumLevelsTrained
public int NumLevelsTrained -
SkillTrained
public java.lang.String SkillTrained -
Capacity
public int Capacity -
WeightReduction
public int WeightReduction -
SubCategory
public java.lang.String SubCategory -
ActivatedItem
public boolean ActivatedItem -
LightStrength
public float LightStrength -
TorchCone
public boolean TorchCone -
LightDistance
public int LightDistance -
CanBeEquipped
public java.lang.String CanBeEquipped -
TwoHandWeapon
public boolean TwoHandWeapon -
CustomContextMenu
public java.lang.String CustomContextMenu -
Tooltip
public java.lang.String Tooltip -
ReplaceOnCooked
public java.util.List ReplaceOnCooked -
DisplayCategory
public java.lang.String DisplayCategory -
Trap
public java.lang.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 -
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 -
HerbalistType
public java.lang.String HerbalistType -
ItemName
public java.lang.String ItemName -
NormalTexture
-
SpecialTextures
public java.util.List SpecialTextures -
SpecialWorldTextureNames
public java.util.List SpecialWorldTextureNames -
WorldTextureName
public java.lang.String WorldTextureName -
WorldTexture
-
HitSound
public java.lang.String HitSound -
bodyLocation
-
PaletteChoices
public java.util.Stack PaletteChoices -
SpriteName
public java.lang.String SpriteName -
PalettesStart
public java.lang.String PalettesStart -
NetIDToItem
public static java.util.HashMap NetIDToItem -
NetItemToID
public static java.util.HashMap NetItemToID -
type
-
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getDisplayName
public java.lang.String getDisplayName() -
setDisplayName
public void setDisplayName(java.lang.String string) -
getDisplayCategory
public java.lang.String getDisplayCategory() -
getIcon
public java.lang.String getIcon() -
setIcon
public void setIcon(java.lang.String string) -
getActualWeight
public float getActualWeight() -
setActualWeight
public void setActualWeight(float float1) -
getHungerChange
public float getHungerChange() -
setHungerChange
public void setHungerChange(float float1) -
getCount
public int getCount() -
setCount
public void setCount(int int1) -
getDaysFresh
public int getDaysFresh() -
setDaysFresh
public void setDaysFresh(int int1) -
getDaysTotallyRotten
public int getDaysTotallyRotten() -
setDaysTotallyRotten
public void setDaysTotallyRotten(int int1) -
getMinutesToCook
public int getMinutesToCook() -
setMinutesToCook
public void setMinutesToCook(int int1) -
getMinutesToBurn
public int getMinutesToBurn() -
setMinutesToBurn
public void setMinutesToBurn(int int1) -
isIsCookable
public boolean isIsCookable() -
setIsCookable
public void setIsCookable(boolean boolean1) -
getStressChange
public float getStressChange() -
setStressChange
public void setStressChange(float float1) -
getBoredomChange
public float getBoredomChange() -
setBoredomChange
public void setBoredomChange(float float1) -
getUnhappyChange
public float getUnhappyChange() -
setUnhappyChange
public void setUnhappyChange(float float1) -
isAlwaysWelcomeGift
public boolean isAlwaysWelcomeGift() -
setAlwaysWelcomeGift
public void setAlwaysWelcomeGift(boolean boolean1) -
isRanged
public boolean isRanged() -
getCanStoreWater
public boolean getCanStoreWater() -
setRanged
public void setRanged(boolean boolean1) -
getMaxRange
public float getMaxRange() -
setMaxRange
public void setMaxRange(float float1) -
getMinAngle
public float getMinAngle() -
setMinAngle
public void setMinAngle(float float1) -
getMaxDamage
public float getMaxDamage() -
setMaxDamage
public void setMaxDamage(float float1) -
getMinDamage
public float getMinDamage() -
setMinDamage
public void setMinDamage(float float1) -
getMinimumSwingTime
public float getMinimumSwingTime() -
setMinimumSwingTime
public void setMinimumSwingTime(float float1) -
getSwingSound
public java.lang.String getSwingSound() -
setSwingSound
public void setSwingSound(java.lang.String string) -
getWeaponSprite
public java.lang.String getWeaponSprite() -
setWeaponSprite
public void setWeaponSprite(java.lang.String string) -
isAngleFalloff
public boolean isAngleFalloff() -
setAngleFalloff
public void setAngleFalloff(boolean boolean1) -
getSoundVolume
public int getSoundVolume() -
setSoundVolume
public void setSoundVolume(int int1) -
getToHitModifier
public float getToHitModifier() -
setToHitModifier
public void setToHitModifier(float float1) -
getSoundRadius
public int getSoundRadius() -
setSoundRadius
public void setSoundRadius(int int1) -
getOtherCharacterVolumeBoost
public float getOtherCharacterVolumeBoost() -
setOtherCharacterVolumeBoost
public void setOtherCharacterVolumeBoost(float float1) -
getCategories
public java.util.ArrayList getCategories() -
setCategories
public void setCategories(java.util.ArrayList arrayList) -
getImpactSound
public java.lang.String getImpactSound() -
setImpactSound
public void setImpactSound(java.lang.String string) -
getSwingTime
public float getSwingTime() -
setSwingTime
public void setSwingTime(float float1) -
isKnockBackOnNoDeath
public boolean isKnockBackOnNoDeath() -
setKnockBackOnNoDeath
public void setKnockBackOnNoDeath(boolean boolean1) -
isSplatBloodOnNoDeath
public boolean isSplatBloodOnNoDeath() -
setSplatBloodOnNoDeath
public void setSplatBloodOnNoDeath(boolean boolean1) -
getSwingAmountBeforeImpact
public float getSwingAmountBeforeImpact() -
setSwingAmountBeforeImpact
public void setSwingAmountBeforeImpact(float float1) -
getAmmoType
public java.lang.String getAmmoType() -
setAmmoType
public void setAmmoType(java.lang.String string) -
getDoorDamage
public int getDoorDamage() -
setDoorDamage
public void setDoorDamage(int int1) -
getConditionLowerChance
public int getConditionLowerChance() -
setConditionLowerChance
public void setConditionLowerChance(int int1) -
getConditionMax
public int getConditionMax() -
setConditionMax
public void setConditionMax(int int1) -
isCanBandage
public boolean isCanBandage() -
setCanBandage
public void setCanBandage(boolean boolean1) -
getName
public java.lang.String getName() -
getModuleName
public java.lang.String getModuleName() -
getFullName
public java.lang.String getFullName() -
setName
public void setName(java.lang.String string) -
getMaxHitCount
public int getMaxHitCount() -
setMaxHitCount
public void setMaxHitCount(int int1) -
isUseSelf
public boolean isUseSelf() -
setUseSelf
public void setUseSelf(boolean boolean1) -
isOtherHandUse
public boolean isOtherHandUse() -
setOtherHandUse
public void setOtherHandUse(boolean boolean1) -
getOtherHandRequire
public java.lang.String getOtherHandRequire() -
setOtherHandRequire
public void setOtherHandRequire(java.lang.String string) -
getPhysicsObject
public java.lang.String getPhysicsObject() -
setPhysicsObject
public void setPhysicsObject(java.lang.String string) -
getSwingAnim
public java.lang.String getSwingAnim() -
setSwingAnim
public void setSwingAnim(java.lang.String string) -
getWeaponWeight
public float getWeaponWeight() -
setWeaponWeight
public void setWeaponWeight(float float1) -
getEnduranceChange
public float getEnduranceChange() -
setEnduranceChange
public void setEnduranceChange(float float1) -
getBreakSound
public java.lang.String getBreakSound() -
getBulletOutSound
public java.lang.String getBulletOutSound() -
getCloseSound
public java.lang.String getCloseSound() -
getCustomEatSound
public java.lang.String getCustomEatSound() -
getCountDownSound
public java.lang.String getCountDownSound() -
getExplosionSound
public java.lang.String getExplosionSound() -
getOpenSound
public java.lang.String getOpenSound() -
getPutInSound
public java.lang.String getPutInSound() -
getShellFallSound
public java.lang.String getShellFallSound() -
getDoorHitSound
public java.lang.String getDoorHitSound() -
setDoorHitSound
public void setDoorHitSound(java.lang.String string) -
getReplaceOnUse
public java.lang.String getReplaceOnUse() -
setReplaceOnUse
public void setReplaceOnUse(java.lang.String string) -
isDangerousUncooked
public boolean isDangerousUncooked() -
setDangerousUncooked
public void setDangerousUncooked(boolean boolean1) -
isAlcoholic
public boolean isAlcoholic() -
setAlcoholic
public void setAlcoholic(boolean boolean1) -
getPushBackMod
public float getPushBackMod() -
setPushBackMod
public void setPushBackMod(float float1) -
getSplatNumber
public int getSplatNumber() -
setSplatNumber
public void setSplatNumber(int int1) -
getNPCSoundBoost
public float getNPCSoundBoost() -
setNPCSoundBoost
public void setNPCSoundBoost(float float1) -
isRangeFalloff
public boolean isRangeFalloff() -
setRangeFalloff
public void setRangeFalloff(boolean boolean1) -
isUseEndurance
public boolean isUseEndurance() -
setUseEndurance
public void setUseEndurance(boolean boolean1) -
isMultipleHitConditionAffected
public boolean isMultipleHitConditionAffected() -
setMultipleHitConditionAffected
public void setMultipleHitConditionAffected(boolean boolean1) -
isCanBarricade
public boolean isCanBarricade() -
setCanBarricade
public void setCanBarricade(boolean boolean1) -
isUseWhileEquipped
public boolean isUseWhileEquipped() -
setUseWhileEquipped
public void setUseWhileEquipped(boolean boolean1) -
isDisappearOnUse
public boolean isDisappearOnUse() -
setDisappearOnUse
public void setDisappearOnUse(boolean boolean1) -
getUseDelta
public float getUseDelta() -
setUseDelta
public void setUseDelta(float float1) -
setUseDelta
public void setUseDelta(java.lang.String string) -
isAlwaysKnockdown
public boolean isAlwaysKnockdown() -
setAlwaysKnockdown
public void setAlwaysKnockdown(boolean boolean1) -
getEnduranceMod
public float getEnduranceMod() -
setEnduranceMod
public void setEnduranceMod(float float1) -
getKnockdownMod
public float getKnockdownMod() -
setKnockdownMod
public void setKnockdownMod(float float1) -
isCantAttackWithLowestEndurance
public boolean isCantAttackWithLowestEndurance() -
setCantAttackWithLowestEndurance
public void setCantAttackWithLowestEndurance(boolean boolean1) -
getBodyLocation
-
setBodyLocation
-
getPaletteChoices
public java.util.Stack getPaletteChoices() -
setPaletteChoices
public void setPaletteChoices(java.util.Stack stack) -
getSpriteName
public java.lang.String getSpriteName() -
setSpriteName
public void setSpriteName(java.lang.String string) -
getPalettesStart
public java.lang.String getPalettesStart() -
setPalettesStart
public void setPalettesStart(java.lang.String string) -
getType
-
setType
-
getTypeString
public java.lang.String getTypeString() -
Load
public void Load(java.lang.String string, java.lang.String[] stringArray)- Overrides:
Load
in classBaseScriptObject
-
InstanceItem
-
DoParam
public void DoParam(java.lang.String string) -
getTemperature
public float getTemperature() -
setTemperature
public void setTemperature(float float1) -
isConditionAffectsCapacity
public boolean isConditionAffectsCapacity() -
getInsulation
public float getInsulation() -
setInsulation
public void setInsulation(float float1) -
getObsolete
public boolean getObsolete()
-