Package zombie.inventory.types
Class HandWeapon
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.HandWeapon
public class HandWeapon extends InventoryItem
-
Field Summary
Fields Modifier and Type Field Description float
aimingMod
protected boolean
AlwaysKnockdown
protected java.lang.String
ammoType
protected boolean
angleFalloff
protected boolean
bCanBarracade
boolean
bIsAimedFirearm
boolean
bIsAimedHandWeapon
protected boolean
CantAttackWithLowestEndurance
protected int
ConditionLowerChance
float
CriticalChance
protected boolean
directional
protected int
DoorDamage
protected java.lang.String
doorHitSound
protected float
doSwingBeforeImpact
protected float
EnduranceMod
float
HitAngleMod
java.lang.String
IdleAnim
protected java.lang.String
impactSound
protected boolean
knockBackOnNoDeath
protected float
KnockdownMod
protected float
maxAngle
protected float
maxDamage
protected int
maxHitCount
protected float
maxRange
protected float
minAngle
protected float
minDamage
protected float
minimumSwingTime
protected float
minRange
protected boolean
MultipleHitConditionAffected
protected float
noiseFactor
protected float
otherBoost
protected java.lang.String
otherHandRequire
protected boolean
otherHandUse
protected java.lang.String
physicsObject
int
ProjectileCount
protected float
pushBackMod
protected boolean
ranged
protected boolean
rangeFalloff
java.lang.String
RunAnim
protected boolean
shareDamage
protected boolean
shareEndurance
protected int
soundRadius
protected int
soundVolume
protected boolean
splatBloodOnNoDeath
protected int
splatNumber
float
SplatSize
protected java.lang.String
swingSound
protected float
swingTime
protected float
toHitModifier
protected boolean
useEndurance
protected boolean
useSelf
protected java.lang.String
weaponSprite
Fields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, AlwaysWelcomeGift, boredomChange, Burnt, BurntString, byteData, CanBandage, CanStack, CanStoreWater, cat, CloseKillMove, col, Condition, ConditionMax, consumeMenu, container, containerX, containerY, Cooked, CookedString, CookingTime, Description, DisappearOnUse, extraItems, fatigueChange, FreshString, FrozenString, id, IsCookable, IsWaterSource, jobDelta, jobType, keepOnDeplete, LastAged, mainCategory, MinutesToBurn, MinutesToCook, module, name, newPlaceDir, OffAge, OffAgeMax, OffString, placeDir, previousOwner, replaceOnUse, ReplaceOnUseOn, requireInHandOrInventory, RequiresEquippedBothHands, rightClickContainer, ScriptItem, stressChange, swingAnim, Taken, texture, textureBurnt, textureCooked, texturerotten, type, UnCookedString, unhappyChange, uses, Weight, worldItem, WorldTexture
-
Constructor Summary
Constructors Constructor Description HandWeapon(java.lang.String module, java.lang.String name, java.lang.String itemType, java.lang.String texName)
-
Method Summary
Modifier and Type Method Description void
attachWeaponPart(WeaponPart part)
void
attachWeaponPart(WeaponPart part, boolean doChange)
boolean
canBePlaced()
boolean
canBeReused()
boolean
CanStack(InventoryItem item)
void
detachWeaponPart(WeaponPart part)
void
DoTooltip(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout)
float
getAimingMod()
int
getAimingPerkCritModifier()
float
getAimingPerkHitChanceModifier()
float
getAimingPerkMinAngleModifier()
float
getAimingPerkRangeModifier()
int
getAimingTime()
java.lang.String
getAmmoType()
java.lang.String
getBulletOutSound()
WeaponPart
getCanon()
java.util.ArrayList
getCategories()
java.lang.String
getCategory()
WeaponPart
getClip()
int
getClipSize()
int
getConditionLowerChance()
float
getCriticalChance()
float
getDamageMod(IsoGameCharacter chr)
int
getDoorDamage()
java.lang.String
getDoorHitSound()
float
getDoSwingBeforeImpact()
float
getEnduranceMod()
int
getExplosionPower()
int
getExplosionRange()
int
getExplosionTimer()
float
getExtraDamage()
float
getFatigueMod(IsoGameCharacter chr)
int
getFirePower()
int
getFireRange()
int
getHitChance()
java.lang.String
getImpactSound()
float
getKnockbackMod(IsoGameCharacter chr)
float
getKnockdownMod()
float
getMaxAngle()
float
getMaxDamage()
int
getMaxHitCount()
float
getMaxRange()
float
getMaxRange(IsoGameCharacter owner)
float
getMinAngle()
float
getMinDamage()
float
getMinimumSwingTime()
float
getMinRange()
float
getMinRangeRanged()
float
getNoiseFactor()
int
getNoiseRange()
float
getOtherBoost()
java.lang.String
getOtherHandRequire()
java.lang.String
getPhysicsObject()
java.lang.String
getPlacedSprite()
int
getProjectileCount()
float
getPushBackMod()
float
getRangeMod(IsoGameCharacter chr)
int
getRecoilDelay()
WeaponPart
getRecoilpad()
int
getReloadTime()
int
getSaveType()
WeaponPart
getScope()
float
getScore(SurvivorDesc desc)
int
getSensorRange()
java.lang.String
getShellFallSound()
WeaponPart
getSling()
int
getSmokeRange()
float
getSoundGain()
int
getSoundRadius()
int
getSoundVolume()
float
getSpeedMod(IsoGameCharacter chr)
int
getSplatNumber()
float
getSplatSize()
WeaponPart
getStock()
java.lang.String
getSubCategory()
java.lang.String
getSwingSound()
float
getSwingTime()
float
getToHitMod(IsoGameCharacter chr)
float
getToHitModifier()
int
getTreeDamage()
int
getTriggerExplosionTimer()
WeaponPart
getWeaponPart(java.lang.String type)
java.lang.String
getWeaponSprite()
java.lang.String
getZombieHitSound()
boolean
isAimed()
boolean
isAimedFirearm()
boolean
isAimedHandWeapon()
boolean
isAlwaysKnockdown()
boolean
isAngleFalloff()
boolean
isCanBarracade()
boolean
isCantAttackWithLowestEndurance()
boolean
isDirectional()
boolean
isKnockBackOnNoDeath()
boolean
isMultipleHitConditionAffected()
boolean
isOtherHandUse()
boolean
isPiercingBullets()
boolean
isRanged()
boolean
isRangeFalloff()
boolean
isShareDamage()
boolean
isShareEndurance()
boolean
isSplatBloodOnNoDeath()
boolean
isUseEndurance()
boolean
isUseSelf()
void
load(java.nio.ByteBuffer input, int WorldVersion, boolean net)
void
save(java.nio.ByteBuffer output, boolean net)
void
setAimingPerkCritModifier(int aimingPerkCritModifier)
void
setAimingPerkHitChanceModifier(float aimingPerkHitChanceModifier)
void
setAimingPerkMinAngleModifier(float aimingPerkMinAngleModifier)
void
setAimingPerkRangeModifier(float aimingPerkRangeModifier)
void
setAimingTime(int aimingTime)
void
setAlwaysKnockdown(boolean AlwaysKnockdown)
void
setAmmoType(java.lang.String ammoType)
void
setAngleFalloff(boolean angleFalloff)
void
setBulletOutSound(java.lang.String bulletOutSound)
void
setCanBarracade(boolean bCanBarracade)
void
setCanBePlaced(boolean canBePlaced)
void
setCanBeReused(boolean canBeReused)
void
setCanon(WeaponPart canon)
void
setCantAttackWithLowestEndurance(boolean CantAttackWithLowestEndurance)
void
setCategories(java.util.ArrayList categories)
void
setClip(WeaponPart clip)
void
setClipSize(int capacity)
void
setConditionLowerChance(int ConditionLowerChance)
void
setCriticalChance(float criticalChance)
void
setDirectional(boolean directional)
void
setDoorDamage(int DoorDamage)
void
setDoorHitSound(java.lang.String doorHitSound)
void
setDoSwingBeforeImpact(float doSwingBeforeImpact)
void
setEnduranceMod(float EnduranceMod)
void
setExplosionPower(int explosionPower)
void
setExplosionRange(int explosionRange)
void
setExplosionTimer(int explosionTimer)
void
setExtraDamage(float extraDamage)
void
setFirePower(int firePower)
void
setFireRange(int fireRange)
void
setHitChance(int hitChance)
void
setImpactSound(java.lang.String impactSound)
void
setKnockBackOnNoDeath(boolean knockBackOnNoDeath)
void
setKnockdownMod(float KnockdownMod)
void
setMaxAngle(float maxAngle)
void
setMaxDamage(float maxDamage)
void
setMaxHitCount(int maxHitCount)
void
setMaxRange(float maxRange)
void
setMinAngle(float minAngle)
void
setMinDamage(float minDamage)
void
setMinimumSwingTime(float minimumSwingTime)
void
setMinRange(float minRange)
void
setMinRangeRanged(float minRangeRanged)
void
setMultipleHitConditionAffected(boolean MultipleHitConditionAffected)
void
setNoiseFactor(float noiseFactor)
void
setNoiseRange(int noiseRange)
void
setOtherBoost(float otherBoost)
void
setOtherHandRequire(java.lang.String otherHandRequire)
void
setOtherHandUse(boolean otherHandUse)
void
setPhysicsObject(java.lang.String physicsObject)
void
setPiercingBullets(boolean piercingBullets)
void
setPlacedSprite(java.lang.String placedSprite)
void
setPushBackMod(float pushBackMod)
void
setRanged(boolean ranged)
void
setRangeFalloff(boolean rangeFalloff)
void
setRecoilDelay(int recoilDelay)
void
setRecoilpad(WeaponPart recoilpad)
void
setReloadTime(int reloadTime)
void
setScope(WeaponPart scope)
void
setSensorRange(int sensorRange)
void
setShareDamage(boolean shareDamage)
void
setShareEndurance(boolean shareEndurance)
void
setShellFallSound(java.lang.String shellFallSound)
void
setSling(WeaponPart sling)
void
setSmokeRange(int smokeRange)
void
setSoundGain(float soundGain)
void
setSoundRadius(int soundRadius)
void
setSoundVolume(int soundVolume)
void
setSplatBloodOnNoDeath(boolean splatBloodOnNoDeath)
void
setSplatNumber(int splatNumber)
void
setStock(WeaponPart stock)
void
setSubCategory(java.lang.String subcategory)
void
setSwingSound(java.lang.String swingSound)
void
setSwingTime(float swingTime)
void
setToHitModifier(float toHitModifier)
void
setTreeDamage(int treeDamage)
void
setTriggerExplosionTimer(int triggerExplosionTimer)
void
setUseEndurance(boolean useEndurance)
void
setUseSelf(boolean useSelf)
void
setWeaponPart(java.lang.String type, WeaponPart part)
void
setWeaponSprite(java.lang.String weaponSprite)
void
setZombieHitSound(java.lang.String hitSound)
boolean
TestCanBarracade(IsoGameCharacter owner)
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, canBeActivated, canBeRemote, canStoreWater, copyConditionModData, CopyModData, doBuildingtStash, DoTooltip, finishupdate, getA, getActualWeight, getAge, getAlcoholPower, getB, getBandagePower, getBoredomChange, getBreakSound, getBurntString, getByteData, getCat, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionMax, getConsumeMenu, getContainer, getContainerX, getContainerY, getContentsWeight, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentCondition, getCustomMenuOption, getDescription, getDisplayCategory, getDisplayName, getEquipParent, getEquippedWeight, getEvolvedRecipeName, getExplosionSound, getExtraItems, getFatigueChange, getFullType, getG, getHaveBeenRepaired, getID, getInvHeat, getItemHeat, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getMap, getMeltingTime, getMetalValue, getMinutesToBurn, getMinutesToCook, getModData, getModule, getName, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getPlaceDir, getPreviousOwner, getR, getReduceInfectionPower, getRemoteControlID, getRemoteRange, getReplaceOnBreak, getReplaceOnUse, getReplaceOnUseOn, getReplaceOnUseOnString, getRequireInHandOrInventory, getRightClickContainer, getScriptItem, getStressChange, getSwingAnim, getTaken, getTex, getTexture, getTextureBurnt, getTextureCooked, getTexturerotten, getTooltip, getType, getUnCookedString, getUnequippedWeight, getUnhappyChange, getUses, getWeight, getWetCooldown, getWorker, getWorldItem, getWorldTexture, hasModData, haveExtraItems, HowRotten, isActivated, isAlcoholic, isAlwaysWelcomeGift, isBeingFilled, isBroken, isBurnt, isCanBandage, IsClothing, isCooked, isCustomColor, isCustomName, isCustomWeight, isDisappearOnUse, IsDrainable, isEquipped, isFavorite, isFishingLure, IsFood, isInfected, isIsCookable, IsLiterature, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTaintedWater, isTorchCone, isTrap, isTwoHandWeapon, isWaterSource, IsWeapon, isWet, ModDataMatches, saveWithSize, setActivated, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAlwaysWelcomeGift, setAutoAge, setBandagePower, setBeingFilled, setBoredomChange, setBreakSound, setBroken, setBurnt, setBurntString, setCanBandage, setCanBeActivated, setCanBeRemote, setCat, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setCondition, setConditionFromModData, setConditionMax, setConsumeMenu, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDisappearOnUse, setDisplayCategory, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setFishingLure, setHaveBeenRepaired, setInfected, setIsCookable, setIsWaterSource, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMap, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setPlaceDir, setPreviousOwner, setReduceInfectionPower, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnBreak, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setStashMap, setStressChange, setSwingAnim, setTaintedWater, setTaken, setTexture, setTextureBurnt, setTextureCooked, setTexturerotten, setTooltip, setTorchCone, setTrap, setTwoHandWeapon, setType, setUnCookedString, setUnhappyChange, setUses, setWeight, setWet, setWetCooldown, setWorker, setWorldItem, setWorldTexture, shouldUpdateInWorld, storeInByteData, update, updateAge, Use, Use, Use, Use, UseItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SplatSize
public float SplatSize -
ammoType
protected java.lang.String ammoType -
angleFalloff
protected boolean angleFalloff -
bCanBarracade
protected boolean bCanBarracade -
directional
protected boolean directional -
doSwingBeforeImpact
protected float doSwingBeforeImpact -
impactSound
protected java.lang.String impactSound -
knockBackOnNoDeath
protected boolean knockBackOnNoDeath -
maxAngle
protected float maxAngle -
maxDamage
protected float maxDamage -
maxHitCount
protected int maxHitCount -
maxRange
protected float maxRange -
ranged
protected boolean ranged -
minAngle
protected float minAngle -
minDamage
protected float minDamage -
minimumSwingTime
protected float minimumSwingTime -
minRange
protected float minRange -
noiseFactor
protected float noiseFactor -
otherHandRequire
protected java.lang.String otherHandRequire -
otherHandUse
protected boolean otherHandUse -
physicsObject
protected java.lang.String physicsObject -
pushBackMod
protected float pushBackMod -
rangeFalloff
protected boolean rangeFalloff -
soundRadius
protected int soundRadius -
soundVolume
protected int soundVolume -
splatBloodOnNoDeath
protected boolean splatBloodOnNoDeath -
splatNumber
protected int splatNumber -
swingSound
protected java.lang.String swingSound -
swingTime
protected float swingTime -
toHitModifier
protected float toHitModifier -
useEndurance
protected boolean useEndurance -
useSelf
protected boolean useSelf -
weaponSprite
protected java.lang.String weaponSprite -
otherBoost
protected float otherBoost -
DoorDamage
protected int DoorDamage -
doorHitSound
protected java.lang.String doorHitSound -
ConditionLowerChance
protected int ConditionLowerChance -
MultipleHitConditionAffected
protected boolean MultipleHitConditionAffected -
AlwaysKnockdown
protected boolean AlwaysKnockdown -
EnduranceMod
protected float EnduranceMod -
KnockdownMod
protected float KnockdownMod -
CantAttackWithLowestEndurance
protected boolean CantAttackWithLowestEndurance -
bIsAimedFirearm
public boolean bIsAimedFirearm -
bIsAimedHandWeapon
public boolean bIsAimedHandWeapon -
RunAnim
public java.lang.String RunAnim -
IdleAnim
public java.lang.String IdleAnim -
HitAngleMod
public float HitAngleMod -
ProjectileCount
public int ProjectileCount -
aimingMod
public float aimingMod -
CriticalChance
public float CriticalChance
-
-
Constructor Details
-
HandWeapon
public HandWeapon(java.lang.String module, java.lang.String name, java.lang.String itemType, java.lang.String texName)
-
-
Method Details
-
getSplatSize
public float getSplatSize() -
CanStack
- Overrides:
CanStack
in classInventoryItem
-
getCategory
public java.lang.String getCategory()- Overrides:
getCategory
in classInventoryItem
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
getScore
- Overrides:
getScore
in classInventoryItem
-
TestCanBarracade
-
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
getDamageMod
-
getRangeMod
-
getFatigueMod
-
getKnockbackMod
-
getSpeedMod
-
getToHitMod
-
getAmmoType
public java.lang.String getAmmoType() -
setAmmoType
public void setAmmoType(java.lang.String ammoType) -
isAngleFalloff
public boolean isAngleFalloff() -
setAngleFalloff
public void setAngleFalloff(boolean angleFalloff) -
isCanBarracade
public boolean isCanBarracade() -
setCanBarracade
public void setCanBarracade(boolean bCanBarracade) -
isDirectional
public boolean isDirectional() -
setDirectional
public void setDirectional(boolean directional) -
getDoSwingBeforeImpact
public float getDoSwingBeforeImpact() -
setDoSwingBeforeImpact
public void setDoSwingBeforeImpact(float doSwingBeforeImpact) -
getImpactSound
public java.lang.String getImpactSound() -
setImpactSound
public void setImpactSound(java.lang.String impactSound) -
isKnockBackOnNoDeath
public boolean isKnockBackOnNoDeath() -
setKnockBackOnNoDeath
public void setKnockBackOnNoDeath(boolean knockBackOnNoDeath) -
getMaxAngle
public float getMaxAngle() -
setMaxAngle
public void setMaxAngle(float maxAngle) -
getMaxDamage
public float getMaxDamage() -
setMaxDamage
public void setMaxDamage(float maxDamage) -
getMaxHitCount
public int getMaxHitCount() -
setMaxHitCount
public void setMaxHitCount(int maxHitCount) -
getMaxRange
public float getMaxRange() -
getMaxRange
-
setMaxRange
public void setMaxRange(float maxRange) -
isRanged
public boolean isRanged() -
setRanged
public void setRanged(boolean ranged) -
getMinAngle
public float getMinAngle() -
setMinAngle
public void setMinAngle(float minAngle) -
getMinDamage
public float getMinDamage() -
setMinDamage
public void setMinDamage(float minDamage) -
getMinimumSwingTime
public float getMinimumSwingTime() -
setMinimumSwingTime
public void setMinimumSwingTime(float minimumSwingTime) -
getMinRange
public float getMinRange() -
setMinRange
public void setMinRange(float minRange) -
getNoiseFactor
public float getNoiseFactor() -
setNoiseFactor
public void setNoiseFactor(float noiseFactor) -
getOtherHandRequire
public java.lang.String getOtherHandRequire() -
setOtherHandRequire
public void setOtherHandRequire(java.lang.String otherHandRequire) -
isOtherHandUse
public boolean isOtherHandUse() -
setOtherHandUse
public void setOtherHandUse(boolean otherHandUse) -
getPhysicsObject
public java.lang.String getPhysicsObject() -
setPhysicsObject
public void setPhysicsObject(java.lang.String physicsObject) -
getPushBackMod
public float getPushBackMod() -
setPushBackMod
public void setPushBackMod(float pushBackMod) -
isRangeFalloff
public boolean isRangeFalloff() -
setRangeFalloff
public void setRangeFalloff(boolean rangeFalloff) -
getSoundRadius
public int getSoundRadius() -
setSoundRadius
public void setSoundRadius(int soundRadius) -
getSoundVolume
public int getSoundVolume() -
setSoundVolume
public void setSoundVolume(int soundVolume) -
isSplatBloodOnNoDeath
public boolean isSplatBloodOnNoDeath() -
setSplatBloodOnNoDeath
public void setSplatBloodOnNoDeath(boolean splatBloodOnNoDeath) -
getSplatNumber
public int getSplatNumber() -
setSplatNumber
public void setSplatNumber(int splatNumber) -
getSwingSound
public java.lang.String getSwingSound() -
setSwingSound
public void setSwingSound(java.lang.String swingSound) -
getSwingTime
public float getSwingTime() -
setSwingTime
public void setSwingTime(float swingTime) -
getToHitModifier
public float getToHitModifier() -
setToHitModifier
public void setToHitModifier(float toHitModifier) -
isUseEndurance
public boolean isUseEndurance() -
setUseEndurance
public void setUseEndurance(boolean useEndurance) -
isUseSelf
public boolean isUseSelf() -
setUseSelf
public void setUseSelf(boolean useSelf) -
getWeaponSprite
public java.lang.String getWeaponSprite() -
setWeaponSprite
public void setWeaponSprite(java.lang.String weaponSprite) -
getOtherBoost
public float getOtherBoost() -
setOtherBoost
public void setOtherBoost(float otherBoost) -
getDoorDamage
public int getDoorDamage() -
setDoorDamage
public void setDoorDamage(int DoorDamage) -
getDoorHitSound
public java.lang.String getDoorHitSound() -
setDoorHitSound
public void setDoorHitSound(java.lang.String doorHitSound) -
getConditionLowerChance
public int getConditionLowerChance() -
setConditionLowerChance
public void setConditionLowerChance(int ConditionLowerChance) -
isMultipleHitConditionAffected
public boolean isMultipleHitConditionAffected() -
setMultipleHitConditionAffected
public void setMultipleHitConditionAffected(boolean MultipleHitConditionAffected) -
isAlwaysKnockdown
public boolean isAlwaysKnockdown() -
setAlwaysKnockdown
public void setAlwaysKnockdown(boolean AlwaysKnockdown) -
getEnduranceMod
public float getEnduranceMod() -
setEnduranceMod
public void setEnduranceMod(float EnduranceMod) -
getKnockdownMod
public float getKnockdownMod() -
setKnockdownMod
public void setKnockdownMod(float KnockdownMod) -
isCantAttackWithLowestEndurance
public boolean isCantAttackWithLowestEndurance() -
setCantAttackWithLowestEndurance
public void setCantAttackWithLowestEndurance(boolean CantAttackWithLowestEndurance) -
isAimedFirearm
public boolean isAimedFirearm() -
isAimedHandWeapon
public boolean isAimedHandWeapon() -
getProjectileCount
public int getProjectileCount() -
getAimingMod
public float getAimingMod() -
isAimed
public boolean isAimed() -
setCriticalChance
public void setCriticalChance(float criticalChance) -
getCriticalChance
public float getCriticalChance() -
setSubCategory
public void setSubCategory(java.lang.String subcategory) -
getSubCategory
public java.lang.String getSubCategory() -
setZombieHitSound
public void setZombieHitSound(java.lang.String hitSound) -
getZombieHitSound
public java.lang.String getZombieHitSound() -
getCategories
public java.util.ArrayList getCategories() -
setCategories
public void setCategories(java.util.ArrayList categories) -
getAimingPerkCritModifier
public int getAimingPerkCritModifier() -
setAimingPerkCritModifier
public void setAimingPerkCritModifier(int aimingPerkCritModifier) -
getAimingPerkRangeModifier
public float getAimingPerkRangeModifier() -
setAimingPerkRangeModifier
public void setAimingPerkRangeModifier(float aimingPerkRangeModifier) -
getHitChance
public int getHitChance() -
setHitChance
public void setHitChance(int hitChance) -
getAimingPerkHitChanceModifier
public float getAimingPerkHitChanceModifier() -
setAimingPerkHitChanceModifier
public void setAimingPerkHitChanceModifier(float aimingPerkHitChanceModifier) -
getAimingPerkMinAngleModifier
public float getAimingPerkMinAngleModifier() -
setAimingPerkMinAngleModifier
public void setAimingPerkMinAngleModifier(float aimingPerkMinAngleModifier) -
getRecoilDelay
public int getRecoilDelay() -
setRecoilDelay
public void setRecoilDelay(int recoilDelay) -
isPiercingBullets
public boolean isPiercingBullets() -
setPiercingBullets
public void setPiercingBullets(boolean piercingBullets) -
getSoundGain
public float getSoundGain() -
setSoundGain
public void setSoundGain(float soundGain) -
getScope
-
setScope
-
getClip
-
setClip
-
getCanon
-
setCanon
-
getRecoilpad
-
setRecoilpad
-
getClipSize
public int getClipSize() -
setClipSize
public void setClipSize(int capacity) -
save
public void save(java.nio.ByteBuffer output, boolean net) throws java.io.IOException- Overrides:
save
in classInventoryItem
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion, boolean net) throws java.io.IOException- Overrides:
load
in classInventoryItem
- Throws:
java.io.IOException
-
getMinRangeRanged
public float getMinRangeRanged() -
setMinRangeRanged
public void setMinRangeRanged(float minRangeRanged) -
getReloadTime
public int getReloadTime() -
setReloadTime
public void setReloadTime(int reloadTime) -
getSling
-
setSling
-
getAimingTime
public int getAimingTime() -
setAimingTime
public void setAimingTime(int aimingTime) -
getStock
-
setStock
-
getTreeDamage
public int getTreeDamage() -
setTreeDamage
public void setTreeDamage(int treeDamage) -
getBulletOutSound
public java.lang.String getBulletOutSound() -
setBulletOutSound
public void setBulletOutSound(java.lang.String bulletOutSound) -
getShellFallSound
public java.lang.String getShellFallSound() -
setShellFallSound
public void setShellFallSound(java.lang.String shellFallSound) -
setWeaponPart
-
getWeaponPart
-
attachWeaponPart
-
attachWeaponPart
-
detachWeaponPart
-
getTriggerExplosionTimer
public int getTriggerExplosionTimer() -
setTriggerExplosionTimer
public void setTriggerExplosionTimer(int triggerExplosionTimer) -
canBePlaced
public boolean canBePlaced() -
setCanBePlaced
public void setCanBePlaced(boolean canBePlaced) -
getExplosionRange
public int getExplosionRange() -
setExplosionRange
public void setExplosionRange(int explosionRange) -
getExplosionPower
public int getExplosionPower() -
setExplosionPower
public void setExplosionPower(int explosionPower) -
getFireRange
public int getFireRange() -
setFireRange
public void setFireRange(int fireRange) -
getSmokeRange
public int getSmokeRange() -
setSmokeRange
public void setSmokeRange(int smokeRange) -
getFirePower
public int getFirePower() -
setFirePower
public void setFirePower(int firePower) -
getNoiseRange
public int getNoiseRange() -
setNoiseRange
public void setNoiseRange(int noiseRange) -
getExtraDamage
public float getExtraDamage() -
setExtraDamage
public void setExtraDamage(float extraDamage) -
getExplosionTimer
public int getExplosionTimer() -
setExplosionTimer
public void setExplosionTimer(int explosionTimer) -
getPlacedSprite
public java.lang.String getPlacedSprite() -
setPlacedSprite
public void setPlacedSprite(java.lang.String placedSprite) -
canBeReused
public boolean canBeReused() -
setCanBeReused
public void setCanBeReused(boolean canBeReused) -
getSensorRange
public int getSensorRange() -
setSensorRange
public void setSensorRange(int sensorRange)
-