zombie.scripting.objects
Class Item
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.Item
public class Item
- extends BaseScriptObject
- Author:
- LEMMY
Constructor Summary |
Item()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayName
public java.lang.String DisplayName
Icon
public java.lang.String Icon
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
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<java.lang.String> 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.lang.String 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
ShareDamage
public boolean ShareDamage
ShareEndurance
public boolean ShareEndurance
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
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
HitAngleMod
public float HitAngleMod
SplatSize
public float SplatSize
Temperature
public float Temperature
NumberOfPages
public int NumberOfPages
LvlSkillTrained
public int LvlSkillTrained
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
HitSound
public java.lang.String HitSound
bodyLocation
public Item.ClothingBodyLocation bodyLocation
PaletteChoices
public java.util.Stack<java.lang.String> PaletteChoices
SpriteName
public java.lang.String SpriteName
PalettesStart
public java.lang.String PalettesStart
type
public Item.Type type
Item
public Item()
getDisplayName
public java.lang.String getDisplayName()
- Returns:
- the DisplayName
setDisplayName
public void setDisplayName(java.lang.String DisplayName)
- Parameters:
DisplayName
- the DisplayName to set
getIcon
public java.lang.String getIcon()
- Returns:
- the Icon
setIcon
public void setIcon(java.lang.String Icon)
- Parameters:
Icon
- the Icon to set
getActualWeight
public float getActualWeight()
- Returns:
- the ActualWeight
setActualWeight
public void setActualWeight(float ActualWeight)
- Parameters:
ActualWeight
- the ActualWeight to set
getHungerChange
public float getHungerChange()
- Returns:
- the HungerChange
setHungerChange
public void setHungerChange(float HungerChange)
- Parameters:
HungerChange
- the HungerChange to set
getCount
public int getCount()
- 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
getStressChange
public float getStressChange()
- Returns:
- the StressChange
setStressChange
public void setStressChange(float StressChange)
- Parameters:
StressChange
- the StressChange to set
getBoredomChange
public float getBoredomChange()
- Returns:
- the BoredomChange
setBoredomChange
public void setBoredomChange(float BoredomChange)
- Parameters:
BoredomChange
- the BoredomChange to set
getUnhappyChange
public float getUnhappyChange()
- Returns:
- the UnhappyChange
setUnhappyChange
public void setUnhappyChange(float UnhappyChange)
- Parameters:
UnhappyChange
- the UnhappyChange to set
isAlwaysWelcomeGift
public boolean isAlwaysWelcomeGift()
- Returns:
- the AlwaysWelcomeGift
setAlwaysWelcomeGift
public void setAlwaysWelcomeGift(boolean AlwaysWelcomeGift)
- Parameters:
AlwaysWelcomeGift
- the AlwaysWelcomeGift to set
isRanged
public boolean isRanged()
- Returns:
- the Ranged
setRanged
public void setRanged(boolean Ranged)
- Parameters:
Ranged
- the Ranged to set
getMaxRange
public float getMaxRange()
- Returns:
- the MaxRange
setMaxRange
public void setMaxRange(float MaxRange)
- Parameters:
MaxRange
- the MaxRange to set
getMinAngle
public float getMinAngle()
- Returns:
- the MinAngle
setMinAngle
public void setMinAngle(float MinAngle)
- Parameters:
MinAngle
- the MinAngle to set
getMaxDamage
public float getMaxDamage()
- Returns:
- the MaxDamage
setMaxDamage
public void setMaxDamage(float MaxDamage)
- Parameters:
MaxDamage
- the MaxDamage to set
getMinDamage
public float getMinDamage()
- Returns:
- the MinDamage
setMinDamage
public void setMinDamage(float MinDamage)
- Parameters:
MinDamage
- the MinDamage to set
getMinimumSwingTime
public float getMinimumSwingTime()
- Returns:
- the MinimumSwingTime
setMinimumSwingTime
public void setMinimumSwingTime(float MinimumSwingTime)
- Parameters:
MinimumSwingTime
- the MinimumSwingTime to set
getSwingSound
public java.lang.String getSwingSound()
- Returns:
- the SwingSound
setSwingSound
public void setSwingSound(java.lang.String SwingSound)
- Parameters:
SwingSound
- the SwingSound to set
getWeaponSprite
public java.lang.String getWeaponSprite()
- Returns:
- the WeaponSprite
setWeaponSprite
public void setWeaponSprite(java.lang.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
getCategories
public java.util.ArrayList<java.lang.String> getCategories()
- Returns:
- the Categories
setCategories
public void setCategories(java.util.ArrayList<java.lang.String> Categories)
- Parameters:
Categories
- the Categories to set
getImpactSound
public java.lang.String getImpactSound()
- Returns:
- the ImpactSound
setImpactSound
public void setImpactSound(java.lang.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 java.lang.String getAmmoType()
- Returns:
- the AmmoType
setAmmoType
public void setAmmoType(java.lang.String AmmoType)
- Parameters:
AmmoType
- the AmmoType to set
getDoorDamage
public int getDoorDamage()
- Returns:
- the DoorDamage
setDoorDamage
public void setDoorDamage(int DoorDamage)
- Parameters:
DoorDamage
- the DoorDamage to set
getConditionLowerChance
public int getConditionLowerChance()
- Returns:
- the ConditionLowerChance
setConditionLowerChance
public void setConditionLowerChance(int ConditionLowerChance)
- Parameters:
ConditionLowerChance
- the ConditionLowerChance to set
getConditionMax
public int getConditionMax()
- Returns:
- the ConditionMax
setConditionMax
public void setConditionMax(int ConditionMax)
- Parameters:
ConditionMax
- the ConditionMax to set
isCanBandage
public boolean isCanBandage()
- Returns:
- the CanBandage
setCanBandage
public void setCanBandage(boolean CanBandage)
- Parameters:
CanBandage
- the CanBandage to set
getName
public java.lang.String getName()
- Returns:
- the name
getFullName
public java.lang.String getFullName()
setName
public void setName(java.lang.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 java.lang.String getOtherHandRequire()
- Returns:
- the OtherHandRequire
setOtherHandRequire
public void setOtherHandRequire(java.lang.String OtherHandRequire)
- Parameters:
OtherHandRequire
- the OtherHandRequire to set
getPhysicsObject
public java.lang.String getPhysicsObject()
- Returns:
- the PhysicsObject
setPhysicsObject
public void setPhysicsObject(java.lang.String PhysicsObject)
- Parameters:
PhysicsObject
- the PhysicsObject to set
getSwingAnim
public java.lang.String getSwingAnim()
- Returns:
- the SwingAnim
setSwingAnim
public void setSwingAnim(java.lang.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
getRequireInHandOrInventory
public java.lang.String getRequireInHandOrInventory()
- Returns:
- the RequireInHandOrInventory
setRequireInHandOrInventory
public void setRequireInHandOrInventory(java.lang.String RequireInHandOrInventory)
- Parameters:
RequireInHandOrInventory
- the RequireInHandOrInventory to set
getDoorHitSound
public java.lang.String getDoorHitSound()
- Returns:
- the DoorHitSound
setDoorHitSound
public void setDoorHitSound(java.lang.String DoorHitSound)
- Parameters:
DoorHitSound
- the DoorHitSound to set
getReplaceOnUse
public java.lang.String getReplaceOnUse()
- Returns:
- the ReplaceOnUse
setReplaceOnUse
public void setReplaceOnUse(java.lang.String ReplaceOnUse)
- Parameters:
ReplaceOnUse
- the ReplaceOnUse to set
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
isShareDamage
public boolean isShareDamage()
- Returns:
- the ShareDamage
setShareDamage
public void setShareDamage(boolean ShareDamage)
- Parameters:
ShareDamage
- the ShareDamage 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
isDisappearOnUse
public boolean isDisappearOnUse()
- Returns:
- the DisappearOnUse
setDisappearOnUse
public void setDisappearOnUse(boolean DisappearOnUse)
- Parameters:
DisappearOnUse
- the DisappearOnUse to set
getUseDelta
public float getUseDelta()
- Returns:
- the UseDelta
setUseDelta
public void setUseDelta(float UseDelta)
- Parameters:
UseDelta
- the UseDelta to set
setUseDelta
public void setUseDelta(java.lang.String sound)
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 Item.ClothingBodyLocation getBodyLocation()
- Returns:
- the bodyLocation
setBodyLocation
public void setBodyLocation(Item.ClothingBodyLocation bodyLocation)
- Parameters:
bodyLocation
- the bodyLocation to set
getPaletteChoices
public java.util.Stack<java.lang.String> getPaletteChoices()
- Returns:
- the PaletteChoices
setPaletteChoices
public void setPaletteChoices(java.util.Stack<java.lang.String> PaletteChoices)
- Parameters:
PaletteChoices
- the PaletteChoices to set
getSpriteName
public java.lang.String getSpriteName()
- Returns:
- the SpriteName
setSpriteName
public void setSpriteName(java.lang.String SpriteName)
- Parameters:
SpriteName
- the SpriteName to set
getPalettesStart
public java.lang.String getPalettesStart()
- Returns:
- the PalettesStart
setPalettesStart
public void setPalettesStart(java.lang.String PalettesStart)
- Parameters:
PalettesStart
- the PalettesStart to set
getType
public Item.Type getType()
- Returns:
- the type
setType
public void setType(Item.Type type)
- Parameters:
type
- the type to set
Load
public void Load(java.lang.String name,
java.lang.String[] strArray)
- Overrides:
Load
in class BaseScriptObject
InstanceItem
public InventoryItem InstanceItem(java.lang.String param)
DoParam
public void DoParam(java.lang.String str)
getTemperature
public float getTemperature()
setTemperature
public void setTemperature(float temperature)