Class Item
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.entity.GameEntityScript
zombie.scripting.objects.Item
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfloatfloatintfloatfloatfloatintbooleanbooleanbooleanbooleanfloatfinal List<BookSubject> floatbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintintintintfloatintintintfloatfloatfloatbooleanintintse.krka.kahlua.vm.KahluaTablebooleanfloatintintfloatfloatbooleanfloatfloatbooleanfloatfloatbooleanfloatintfloatbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfloatbooleanfloatintfloatfloatintfinal List<MagazineSubject> intintfloatintstatic final intfloatintfloatfloatbooleanbooleanintfloatintfloatfloatfloatfloatintintbooleanfloatbooleanfloatintintbooleanfloatbooleanbooleanintfloatfloatbooleanfloatbooleanbooleanintintbooleanbooleanfloatfloatbooleanfloatfloatintintbooleanintfloatfloatfloatbooleanfloatfloatfloatintfloatbooleanfloatintbooleanbooleanfloatfloatbooleanbooleanbooleanbooleanbooleanbooleanintfloatbooleanfloatfloatfloatintfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddForageFocusCategory(String categoryName) voidaddResearchableRecipe(String recipeName) voidaddResearchableRecipe(CraftRecipe craftRecipe) voidaddResearchableRecipes(ArrayList<String> recipeNames) booleanbooleanvoidbooleancontainsWeaponCategory(WeaponCategory weaponCategory) voidvoidfloatfloatgetB()floatintfloatfloatfloatintintfloatintgetCount()Deprecated.intintfloatintintfloatfloatfloatintfloatgetG()floatfloatfloatgetIcon()floatfloatintgetMapID()floatintfloatintfloatfloatfloatfloatintintgetName()intfloatintintintbooleanfloatintfloatfloatfloatgetR()getReplaceType(String key) getResearchableRecipes(IsoGameCharacter chr, boolean blacklistKnown) floatgetSoundByID(String ID) getSoundParameter(String parameterName) intintintfloatfloatfloatfloatgetTags()floatfloatfloatfloatfloatfloatgetUsedInFavouriteRecipes(IsoPlayer player) getUsedInRecipes(IsoGameCharacter character) getUsedInRecipes(IsoGameCharacter character, ArrayList<String> recipesList) floatfloatfloatfloatfloatfloatbooleanhasReplaceType(String key) booleanbooleanbooleanbooleanvoidInitLoadPP(String name) InstanceItem(String param) InstanceItem(String param, boolean isFirstTimeCreated) booleanbooleanbooleanbooleanbooleanisBodyLocation(ItemBodyLocation bodyLocation) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisFavouriteRecipeInput(IsoPlayer player) booleanisHidden()booleanbooleanisItemType(ItemType itemType) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisRanged()booleanbooleanbooleanisSpice()booleanbooleanbooleanbooleanisUnwanted(IsoPlayer player) booleanbooleanisUsedInBuildRecipes(IsoGameCharacter character) booleanbooleanisUsedInRecipes(IsoGameCharacter character) booleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidOnScriptsLoaded(ScriptLoadMode loadMode) voidvoidresearchRecipes(IsoGameCharacter character) voidreset()voidvoidvoidsetActualWeight(float ActualWeight) voidsetAlcoholic(boolean Alcoholic) voidsetAlwaysKnockdown(boolean AlwaysKnockdown) voidsetAlwaysWelcomeGift(boolean AlwaysWelcomeGift) voidsetAmmoType(AmmoType ammoType) voidsetAngleFalloff(boolean AngleFalloff) voidsetBodyLocation(ItemBodyLocation bodyLocation) voidsetBoredomChange(float BoredomChange) voidsetCanBandage(boolean CanBandage) voidsetCanBarricade(boolean CanBarricade) voidsetCanBeForaged(boolean canBe) voidsetCanSpawnAsLoot(boolean canSpawn) voidsetCantAttackWithLowestEndurance(boolean CantAttackWithLowestEndurance) voidsetClothingItemAsset(ClothingItem asset) voidsetConditionLowerChance(int ConditionLowerChance) voidsetConditionMax(int ConditionMax) voidsetCount(int Count) voidsetDangerousUncooked(boolean DangerousUncooked) voidsetDaysFresh(int DaysFresh) voidsetDaysTotallyRotten(int DaysTotallyRotten) voidsetDisappearOnUse(boolean DisappearOnUse) voidsetDisplayName(String DisplayName) voidsetDoorDamage(int DoorDamage) voidsetDoorHitSound(String DoorHitSound) voidsetDoubleClickRecipe(String recipeName) voidsetEnduranceChange(float EnduranceChange) voidsetEnduranceMod(float EnduranceMod) voidsetHungerChange(float HungerChange) voidvoidsetImpactSound(String ImpactSound) voidsetInsulation(float f) voidsetIsCookable(boolean IsCookable) voidvoidsetIsCraftRecipeProduct(boolean isProduct) voidsetItemConfig(ItemConfig itemConfig) voidsetItemType(ItemType itemType) voidsetKeepOnDeplete(boolean KeepOnDeplete) voidsetKnockBackOnNoDeath(boolean KnockBackOnNoDeath) voidsetKnockdownMod(float KnockdownMod) voidsetLuaCreate(String functionName) voidsetMaxDamage(float MaxDamage) voidsetMaxHitCount(int MaxHitCount) voidsetMaxRange(float MaxRange) voidsetMinAngle(float MinAngle) voidsetMinDamage(float MinDamage) voidsetMinimumSwingTime(float MinimumSwingTime) voidsetMinutesToBurn(int MinutesToBurn) voidsetMinutesToCook(int MinutesToCook) voidsetMultipleHitConditionAffected(boolean MultipleHitConditionAffected) voidvoidsetNPCSoundBoost(float npcSoundBoost) voidsetOpeningRecipe(String recipeName) voidsetOtherCharacterVolumeBoost(float OtherCharacterVolumeBoost) voidsetOtherHandRequire(ItemTag OtherHandRequire) voidsetOtherHandUse(boolean OtherHandUse) voidsetPaletteChoices(Stack<String> PaletteChoices) voidsetPalettesStart(String PalettesStart) voidsetPhysicsObject(String PhysicsObject) voidsetPushBackMod(float PushBackMod) voidsetRanged(boolean Ranged) voidsetRangeFalloff(boolean RangeFalloff) voidsetReplaceOnDeplete(String ReplaceOnDeplete) voidsetReplaceOnExtinguish(String ReplaceOnExtinguish) voidsetReplaceOnUse(String ReplaceOnUse) voidsetShareEndurance(boolean ShareEndurance) voidsetSoundRadius(int SoundRadius) voidsetSoundVolume(int SoundVolume) voidsetSplatBloodOnNoDeath(boolean SplatBloodOnNoDeath) voidsetSplatNumber(int SplatNumber) voidsetSpriteName(String SpriteName) voidsetStressChange(float StressChange) voidsetSwingAmountBeforeImpact(float SwingAmountBeforeImpact) voidsetSwingAnim(String SwingAnim) voidsetSwingSound(String SwingSound) voidsetSwingTime(float SwingTime) voidsetTemperature(float temperature) voidsetThirstChange(float ThirstChange) voidsetTicksPerEquipUse(int TicksPerEquipUse) voidsetToHitModifier(float ToHitModifier) voidsetUnhappyChange(float UnhappyChange) voidsetUnwanted(IsoPlayer player) voidsetUnwanted(IsoPlayer player, boolean unwanted) voidsetUseDelta(float UseDelta) voidsetUseEndurance(boolean UseEndurance) voidsetUseSelf(boolean UseSelf) voidsetUseWhileEquipped(boolean UseWhileEquipped) voidsetUseWhileUnequipped(boolean UseWhileUnequipped) voidvoidsetWaterresist(float w) voidsetWeaponCategories(Set<WeaponCategory> categories) voidsetWeaponSprite(String WeaponSprite) voidsetWeaponWeight(float WeaponWeight) voidsetWeightEmpty(float weight) voidsetWeightWet(float weight) voidsetWindresist(float w) toString()Methods inherited from class GameEntityScript
containsComponent, copyFrom, getComponentScriptFor, getComponentScripts, getDisplayNameDebug, getExistsAsVanilla, getFileAbsPath, getModID, getRegistry_id, hasComponents, LoadAttribute, LoadComponentBlock, setModID, setRegistry_idMethods inherited from class BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, resetLoadedScriptBodies, setModule, setParent
-
Field Details
-
displayName
-
cantEat
public boolean cantEat -
icon
-
medical
public boolean medical -
cannedFood
public boolean cannedFood -
survivalGear
public boolean survivalGear -
mechanicsItem
public boolean mechanicsItem -
useWorldItem
public boolean useWorldItem -
scaleWorldIcon
public float scaleWorldIcon -
closeKillMove
-
weaponLength
public float weaponLength -
actualWeight
public float actualWeight -
weightWet
public float weightWet -
weightEmpty
public float weightEmpty -
hungerChange
public float hungerChange -
criticalChance
public float criticalChance -
count
public int count -
MAXIMUM_FOOD_AGE
public static final int MAXIMUM_FOOD_AGE- See Also:
-
daysFresh
public int daysFresh -
daysTotallyRotten
public int daysTotallyRotten -
minutesToCook
public int minutesToCook -
minutesToBurn
public int minutesToBurn -
isCookable
public boolean isCookable -
stressChange
public float stressChange -
boredomChange
public float boredomChange -
unhappyChange
public float unhappyChange -
alwaysWelcomeGift
public boolean alwaysWelcomeGift -
replaceOnDeplete
-
replaceOnExtinguish
-
ranged
public boolean ranged -
canStoreWater
public boolean canStoreWater -
maxRange
public float maxRange -
minRange
public float minRange -
thirstChange
public float thirstChange -
fatigueChange
public float fatigueChange -
minAngle
public float minAngle -
requiresEquippedBothHands
public boolean requiresEquippedBothHands -
maxDamage
public float maxDamage -
minDamage
public float minDamage -
minimumSwingTime
public float minimumSwingTime -
swingSound
-
weaponSprite
-
angleFalloff
public boolean angleFalloff -
soundVolume
public int soundVolume -
toHitModifier
public float toHitModifier -
soundRadius
public int soundRadius -
otherCharacterVolumeBoost
public float otherCharacterVolumeBoost -
impactSound
-
swingTime
public float swingTime -
knockBackOnNoDeath
public boolean knockBackOnNoDeath -
splatBloodOnNoDeath
public boolean splatBloodOnNoDeath -
swingAmountBeforeImpact
public float swingAmountBeforeImpact -
maxAmmo
public int maxAmmo -
gunType
-
doorDamage
public int doorDamage -
conditionLowerChance
public int conditionLowerChance -
headConditionLowerChanceMultiplier
public float headConditionLowerChanceMultiplier -
conditionMax
public int conditionMax -
canBandage
public boolean canBandage -
name
-
moduleDotType
-
maxHitCount
public int maxHitCount -
useSelf
public boolean useSelf -
otherHandUse
public boolean otherHandUse -
otherHandRequire
-
physicsObject
-
swingAnim
-
weaponWeight
public float weaponWeight -
enduranceChange
public float enduranceChange -
idleAnim
-
runAnim
-
attachmentType
-
makeUpType
-
consolidateOption
-
requireInHandOrInventory
-
doorHitSound
-
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 -
useWhileUnequipped
public boolean useWhileUnequipped -
ticksPerEquipUse
public int ticksPerEquipUse -
disappearOnUse
public boolean disappearOnUse -
useDelta
public float useDelta -
alwaysKnockdown
public boolean alwaysKnockdown -
enduranceMod
public float enduranceMod -
knockdownMod
public float knockdownMod -
cantAttackWithLowestEndurance
public boolean cantAttackWithLowestEndurance -
replaceOnUseOn
-
attachmentsProvided
-
foodType
-
defaultModData
public se.krka.kahlua.vm.KahluaTable defaultModData -
isAimedFirearm
public boolean isAimedFirearm -
isAimedHandWeapon
public boolean isAimedHandWeapon -
canStack
public boolean canStack -
aimingMod
public float aimingMod -
projectileCount
public int projectileCount -
projectileSpread
public float projectileSpread -
projectileWeightCenter
public float projectileWeightCenter -
hitAngleMod
public float hitAngleMod -
numberOfPages
public int numberOfPages -
lvlSkillTrained
public int lvlSkillTrained -
numLevelsTrained
public int numLevelsTrained -
skillTrained
-
capacity
public int capacity -
maxItemSize
public float maxItemSize -
weightReduction
public int weightReduction -
subCategory
-
activatedItem
public boolean activatedItem -
lightStrength
public float lightStrength -
torchCone
public boolean torchCone -
lightDistance
public int lightDistance -
canBeEquipped
-
twoHandWeapon
public boolean twoHandWeapon -
customContextMenu
-
tooltip
-
replaceOnCooked
-
displayCategory
-
trap
-
obsolete
public boolean obsolete -
fishingLure
public boolean fishingLure -
canBeWrite
public boolean canBeWrite -
aimingPerkCritModifier
public int aimingPerkCritModifier -
aimingPerkRangeModifier
public float aimingPerkRangeModifier -
aimingPerkHitChanceModifier
public float aimingPerkHitChanceModifier -
hitChance
public int hitChance -
aimingPerkMinAngleModifier
public float aimingPerkMinAngleModifier -
recoilDelay
public int recoilDelay -
piercingBullets
public boolean piercingBullets -
soundGain
public float soundGain -
protectFromRainWhenEquipped
public boolean protectFromRainWhenEquipped -
minSightRange
public float minSightRange -
maxSightRange
public float maxSightRange -
lowLightBonus
public float lowLightBonus -
reloadTime
public int reloadTime -
aimingTime
public int aimingTime -
torchDot
public float torchDot -
colorRed
public int colorRed -
colorGreen
public int colorGreen -
colorBlue
public int colorBlue -
twoWay
public boolean twoWay -
transmitRange
public int transmitRange -
micRange
public int micRange -
baseVolumeRange
public float baseVolumeRange -
isPortable
public boolean isPortable -
isTelevision
public boolean isTelevision -
minChannel
public int minChannel -
maxChannel
public int maxChannel -
usesBattery
public boolean usesBattery -
isHighTier
public boolean isHighTier -
evolvedRecipeName
-
map
-
vehicleType
public int vehicleType -
clothingItem
-
-
secondaryAnimMask
-
primaryAnimMaskAttachment
-
secondaryAnimMaskAttachment
-
replaceInSecondHand
-
replaceInPrimaryHand
-
replaceWhenUnequip
-
replacePrimaryHand
-
replaceSecondHand
-
worldObjectSprite
-
itemName
-
normalTexture
-
specialTextures
-
specialWorldTextureNames
-
worldTextureName
-
worldTexture
-
eatType
-
pourType
-
readType
-
digType
-
runSpeedModifier
public float runSpeedModifier -
combatSpeedModifier
public float combatSpeedModifier -
clothingItemExtra
-
clothingItemExtraOption
-
canHaveHoles
-
jamGunChance
public float jamGunChance -
needToBeClosedOnceReload
public boolean needToBeClosedOnceReload -
neckProtectionModifier
public float neckProtectionModifier -
fabricType
-
equippedNoSprint
public boolean equippedNoSprint -
worldStaticModel
-
critDmgMultiplier
public float critDmgMultiplier -
isDung
public boolean isDung -
cyclicRateMultiplier
public float cyclicRateMultiplier -
removeUnhappinessWhenCooked
public boolean removeUnhappinessWhenCooked -
stopPower
public float stopPower -
milkReplaceItem
-
maxMilk
public int maxMilk -
animalFeedType
-
evolvedRecipe
-
withDrainable
-
withoutDrainable
-
spawnWith
-
visionModifier
public float visionModifier -
hearingModifier
public float hearingModifier -
strainModifier
public float strainModifier -
damagedSound
-
bulletHitArmourSound
-
weaponHitArmourSound
-
shoutMultiplier
public float shoutMultiplier -
eatTime
public int eatTime -
visualAid
public boolean visualAid -
discomfortModifier
public float discomfortModifier -
fireFuelRatio
public float fireFuelRatio -
itemAfterCleaning
-
isCraftRecipeProduct
public boolean isCraftRecipeProduct -
isCraftRecipeProductCheckedExtra
public boolean isCraftRecipeProductCheckedExtra -
canBeForaged
public boolean canBeForaged -
canBeForagedCheckedExtra
public boolean canBeForagedCheckedExtra -
forageFocusCategories
-
canSpawnAsLoot
public boolean canSpawnAsLoot -
canSpawnAsLootCheckedExtra
public boolean canSpawnAsLootCheckedExtra -
researchableRecipes
-
isResearchableRecipesCheckedExtra
public boolean isResearchableRecipesCheckedExtra -
usedInRecipes
-
isUsedInBuildRecipes
public boolean isUsedInBuildRecipes -
bookSubjects
-
magazineSubjects
-
hitSound
-
hitFloorSound
-
paletteChoices
-
spriteName
-
palettesStart
-
netIdToItem
-
netItemToId
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getDisplayName
- Returns:
- the DisplayName
-
setDisplayName
- Parameters:
DisplayName- the DisplayName to set
-
isHidden
public boolean isHidden() -
getDisplayCategory
-
getIcon
- Returns:
- the Icon
-
setIcon
- Parameters:
Icon- the Icon to set
-
getNoiseDuration
public int getNoiseDuration() -
getNormalTexture
-
getNumberOfPages
public int getNumberOfPages() -
getActualWeight
public float getActualWeight()- Returns:
- the ActualWeight
-
setActualWeight
public void setActualWeight(float ActualWeight) - Parameters:
ActualWeight- the ActualWeight to set
-
getWeightWet
public float getWeightWet() -
setWeightWet
public void setWeightWet(float weight) -
getWeightEmpty
public float getWeightEmpty()- Returns:
- the EmptyWeight
-
setWeightEmpty
public void setWeightEmpty(float weight) - Parameters:
weight- the EmptyWeight to set
-
getHungerChange
public float getHungerChange()- Returns:
- the HungerChange
-
setHungerChange
public void setHungerChange(float HungerChange) - Parameters:
HungerChange- the HungerChange to set
-
getThirstChange
public float getThirstChange() -
setThirstChange
public void setThirstChange(float ThirstChange) -
getCount
-
setCount
public void setCount(int Count) - Parameters:
Count- the Count to set
-
getDaysFresh
public int getDaysFresh()- Returns:
- the DaysFresh
-
setDaysFresh
public void setDaysFresh(int DaysFresh) - Parameters:
DaysFresh- the DaysFresh to set
-
getDaysTotallyRotten
public int getDaysTotallyRotten()- Returns:
- the DaysTotallyRotten
-
setDaysTotallyRotten
public void setDaysTotallyRotten(int DaysTotallyRotten) - Parameters:
DaysTotallyRotten- the DaysTotallyRotten to set
-
getMinutesToCook
public int getMinutesToCook()- Returns:
- the MinutesToCook
-
setMinutesToCook
public void setMinutesToCook(int MinutesToCook) - Parameters:
MinutesToCook- the MinutesToCook to set
-
getMinutesToBurn
public int getMinutesToBurn()- Returns:
- the MinutesToBurn
-
setMinutesToBurn
public void setMinutesToBurn(int MinutesToBurn) - Parameters:
MinutesToBurn- the MinutesToBurn to set
-
isIsCookable
public boolean isIsCookable()- Returns:
- the IsCookable
-
setIsCookable
public void setIsCookable(boolean IsCookable) - Parameters:
IsCookable- the IsCookable to set
-
getCookingSound
-
getStressChange
public float getStressChange()- Returns:
- the StressChange
-
getFoodSicknessChange
public int getFoodSicknessChange() -
setStressChange
public void setStressChange(float StressChange) - Parameters:
StressChange- the StressChange to set
-
getBoredomChange
public float getBoredomChange()- Returns:
- the BoredomChange
-
setBoredomChange
public void setBoredomChange(float BoredomChange) - Parameters:
BoredomChange- the BoredomChange to set
-
getUnhappyChange
public float getUnhappyChange()- Returns:
- the UnhappyChange
-
setUnhappyChange
public void setUnhappyChange(float UnhappyChange) - Parameters:
UnhappyChange- the UnhappyChange to set
-
isAlwaysWelcomeGift
public boolean isAlwaysWelcomeGift()- Returns:
- the AlwaysWelcomeGift
-
setAlwaysWelcomeGift
public void setAlwaysWelcomeGift(boolean AlwaysWelcomeGift) - Parameters:
AlwaysWelcomeGift- the AlwaysWelcomeGift to set
-
isRanged
public boolean isRanged()- Returns:
- the Ranged
-
setRanged
public void setRanged(boolean Ranged) - Parameters:
Ranged- the Ranged to set
-
getMaxRange
public float getMaxRange()- Returns:
- the MaxRange
-
setMaxRange
public void setMaxRange(float MaxRange) - Parameters:
MaxRange- the MaxRange to set
-
getMinAngle
public float getMinAngle()- Returns:
- the MinAngle
-
setMinAngle
public void setMinAngle(float MinAngle) - Parameters:
MinAngle- the MinAngle to set
-
getMaxDamage
public float getMaxDamage()- Returns:
- the MaxDamage
-
setMaxDamage
public void setMaxDamage(float MaxDamage) - Parameters:
MaxDamage- the MaxDamage to set
-
getMinDamage
public float getMinDamage()- Returns:
- the MinDamage
-
setMinDamage
public void setMinDamage(float MinDamage) - Parameters:
MinDamage- the MinDamage to set
-
getMinimumSwingTime
public float getMinimumSwingTime()- Returns:
- the MinimumSwingTime
-
setMinimumSwingTime
public void setMinimumSwingTime(float MinimumSwingTime) - Parameters:
MinimumSwingTime- the MinimumSwingTime to set
-
getSwingSound
- Returns:
- the SwingSound
-
setSwingSound
- Parameters:
SwingSound- the SwingSound to set
-
getWeaponSprite
- Returns:
- the WeaponSprite
-
setWeaponSprite
- Parameters:
WeaponSprite- the WeaponSprite to set
-
isAngleFalloff
public boolean isAngleFalloff()- Returns:
- the AngleFalloff
-
setAngleFalloff
public void setAngleFalloff(boolean AngleFalloff) - Parameters:
AngleFalloff- the AngleFalloff to set
-
getSoundVolume
public int getSoundVolume()- Returns:
- the SoundVolume
-
setSoundVolume
public void setSoundVolume(int SoundVolume) - Parameters:
SoundVolume- the SoundVolume to set
-
getToHitModifier
public float getToHitModifier()- Returns:
- the ToHitModifier
-
setToHitModifier
public void setToHitModifier(float ToHitModifier) - Parameters:
ToHitModifier- the ToHitModifier to set
-
getSoundRadius
public int getSoundRadius()- Returns:
- the SoundRadius
-
setSoundRadius
public void setSoundRadius(int SoundRadius) - Parameters:
SoundRadius- the SoundRadius to set
-
getOtherCharacterVolumeBoost
public float getOtherCharacterVolumeBoost()- Returns:
- the OtherCharacterVolumeBoost
-
setOtherCharacterVolumeBoost
public void setOtherCharacterVolumeBoost(float OtherCharacterVolumeBoost) - Parameters:
OtherCharacterVolumeBoost- the OtherCharacterVolumeBoost to set
-
containsWeaponCategory
-
getWeaponCategories
-
setWeaponCategories
-
getTags
-
getImpactSound
- Returns:
- the ImpactSound
-
setImpactSound
- 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
-
setAmmoType
-
getDoorDamage
public int getDoorDamage()- Returns:
- the DoorDamage
-
setDoorDamage
public void setDoorDamage(int DoorDamage) - Parameters:
DoorDamage- the DoorDamage to set
-
getConditionLowerChance
public int getConditionLowerChance()- Returns:
- the ConditionLowerChance
-
setConditionLowerChance
public void setConditionLowerChance(int ConditionLowerChance) - Parameters:
ConditionLowerChance- the ConditionLowerChance to set
-
getConditionMax
public int getConditionMax()- Returns:
- the ConditionMax
-
setConditionMax
public void setConditionMax(int ConditionMax) - Parameters:
ConditionMax- the ConditionMax to set
-
isCanBandage
public boolean isCanBandage()- Returns:
- the CanBandage
-
setCanBandage
public void setCanBandage(boolean CanBandage) - Parameters:
CanBandage- the CanBandage to set
-
isCosmetic
public boolean isCosmetic() -
getName
- Overrides:
getNamein classGameEntityScript- Returns:
- the name
-
getModuleName
- Overrides:
getModuleNamein classGameEntityScript
-
getFullName
- Overrides:
getFullNamein classGameEntityScript
-
setName
- 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
-
setOtherHandRequire
-
getPhysicsObject
- Returns:
- the PhysicsObject
-
setPhysicsObject
- Parameters:
PhysicsObject- the PhysicsObject to set
-
getSwingAnim
- Returns:
- the SwingAnim
-
setSwingAnim
- Parameters:
SwingAnim- the SwingAnim to set
-
getWeaponWeight
public float getWeaponWeight()- Returns:
- the WeaponWeight
-
setWeaponWeight
public void setWeaponWeight(float WeaponWeight) - Parameters:
WeaponWeight- the WeaponWeight to set
-
getEnduranceChange
public float getEnduranceChange()- Returns:
- the EnduranceChange
-
setEnduranceChange
public void setEnduranceChange(float EnduranceChange) - Parameters:
EnduranceChange- the EnduranceChange to set
-
getBreakSound
-
getBulletOutSound
-
getCloseSound
-
getClothingItem
-
setClothingItemAsset
-
getClothingItemAsset
-
getClothingItemExtra
-
getClothingItemExtraOption
-
getFabricType
-
getIconsForTexture
-
getCustomEatSound
-
getFillFromDispenserSound
-
getFillFromLakeSound
-
getFillFromTapSound
-
getFillFromToiletSound
-
getEatType
-
getPourType
-
getReadType
-
getDigType
-
getCountDownSound
-
getBringToBearSound
-
getAimReleaseSound
-
getEjectAmmoStartSound
-
getEjectAmmoSound
-
getEjectAmmoStopSound
-
getInsertAmmoStartSound
-
getInsertAmmoSound
-
getInsertAmmoStopSound
-
getEquipSound
-
getUnequipSound
-
getExplosionSound
-
getStaticModel
-
getWorldStaticModel
-
getStaticModelException
-
getOpenSound
-
getPutInSound
-
getPlaceOneSound
-
getPlaceMultipleSound
-
getShellFallSound
-
getDropSound
-
getSoundByID
-
getSoundByID
-
getSkillTrained
-
getDoorHitSound
- Returns:
- the DoorHitSound
-
setDoorHitSound
- Parameters:
DoorHitSound- the DoorHitSound to set
-
isManuallyRemoveSpentRounds
public boolean isManuallyRemoveSpentRounds() -
getReplaceOnUse
- Returns:
- the ReplaceOnUse
-
setReplaceOnUse
- Parameters:
ReplaceOnUse- the ReplaceOnUse to set
-
getReplaceOnDeplete
-
setReplaceOnDeplete
-
getReplaceOnExtinguish
-
setReplaceOnExtinguish
-
getReplaceTypes
-
getReplaceTypesMap
-
getReplaceType
-
hasReplaceType
-
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
-
isCanBarricade
public boolean isCanBarricade()- Returns:
- the CanBarricade
-
setCanBarricade
public void setCanBarricade(boolean CanBarricade) - Parameters:
CanBarricade- the CanBarricade to set
-
isUseWhileEquipped
public boolean isUseWhileEquipped()- Returns:
- the UseWhileEquipped
-
setUseWhileEquipped
public void setUseWhileEquipped(boolean UseWhileEquipped) - Parameters:
UseWhileEquipped- the UseWhileEquipped to set
-
isUseWhileUnequipped
public boolean isUseWhileUnequipped()- Returns:
- the UseWhileUnequipped
-
setUseWhileUnequipped
public void setUseWhileUnequipped(boolean UseWhileUnequipped) - Parameters:
UseWhileUnequipped- the UseWhileUnequipped to set
-
setTicksPerEquipUse
public void setTicksPerEquipUse(int TicksPerEquipUse) - Parameters:
TicksPerEquipUse- the TicksPerEquipUse to set
-
getTicksPerEquipUse
public float getTicksPerEquipUse() -
isDisappearOnUse
public boolean isDisappearOnUse()- Returns:
- the DisappearOnUse
-
isKeepOnDeplete
public boolean isKeepOnDeplete() -
setDisappearOnUse
public void setDisappearOnUse(boolean DisappearOnUse) - Parameters:
DisappearOnUse- the DisappearOnUse to set
-
setKeepOnDeplete
public void setKeepOnDeplete(boolean KeepOnDeplete) -
getUseDelta
public float getUseDelta()- Returns:
- the UseDelta
-
setUseDelta
public void setUseDelta(float UseDelta) - Parameters:
UseDelta- the UseDelta to set
-
isAlwaysKnockdown
public boolean isAlwaysKnockdown()- Returns:
- the AlwaysKnockdown
-
setAlwaysKnockdown
public void setAlwaysKnockdown(boolean AlwaysKnockdown) - Parameters:
AlwaysKnockdown- the AlwaysKnockdown to set
-
getEnduranceMod
public float getEnduranceMod()- Returns:
- the EnduranceMod
-
setEnduranceMod
public void setEnduranceMod(float EnduranceMod) - Parameters:
EnduranceMod- the EnduranceMod to set
-
getKnockdownMod
public float getKnockdownMod()- Returns:
- the KnockdownMod
-
setKnockdownMod
public void setKnockdownMod(float KnockdownMod) - Parameters:
KnockdownMod- the KnockdownMod to set
-
isCantAttackWithLowestEndurance
public boolean isCantAttackWithLowestEndurance()- Returns:
- the CantAttackWithLowestEndurance
-
setCantAttackWithLowestEndurance
public void setCantAttackWithLowestEndurance(boolean CantAttackWithLowestEndurance) - Parameters:
CantAttackWithLowestEndurance- the CantAttackWithLowestEndurance to set
-
getBodyLocation
-
setBodyLocation
-
isBodyLocation
-
getPaletteChoices
-
setPaletteChoices
-
getSpriteName
- Returns:
- the SpriteName
-
setSpriteName
- Parameters:
SpriteName- the SpriteName to set
-
getPalettesStart
- Returns:
- the PalettesStart
-
setPalettesStart
- Parameters:
PalettesStart- the PalettesStart to set
-
getItemType
-
setItemType
-
isItemType
-
getMapID
-
getEvolvedRecipe
-
InitLoadPP
- Overrides:
InitLoadPPin classGameEntityScript
-
Load
-
InstanceItem
-
InstanceItem
-
DoParam
-
DoParam
-
reset
public void reset()- Overrides:
resetin classBaseScriptObject
-
PreReload
public void PreReload()- Overrides:
PreReloadin classGameEntityScript
-
OnScriptsLoaded
- Overrides:
OnScriptsLoadedin classGameEntityScript- Throws:
Exception
-
OnLoadedAfterLua
- Overrides:
OnLoadedAfterLuain classGameEntityScript- Throws:
Exception
-
OnPostWorldDictionaryInit
- Overrides:
OnPostWorldDictionaryInitin classGameEntityScript- Throws:
Exception
-
getLevelSkillTrained
public int getLevelSkillTrained() -
getNumLevelsTrained
public int getNumLevelsTrained() -
getMaxLevelTrained
public int getMaxLevelTrained() -
getLearnedRecipes
-
getTemperature
public float getTemperature() -
setTemperature
public void setTemperature(float temperature) -
isConditionAffectsCapacity
public boolean isConditionAffectsCapacity() -
getChanceToFall
public int getChanceToFall() -
getInsulation
public float getInsulation() -
setInsulation
public void setInsulation(float f) -
getWindresist
public float getWindresist() -
setWindresist
public void setWindresist(float w) -
getWaterresist
public float getWaterresist() -
setWaterresist
public void setWaterresist(float w) -
getObsolete
public boolean getObsolete()- Overrides:
getObsoletein classGameEntityScript
-
getAcceptItemFunction
-
getBloodClothingType
-
toString
-
getReplaceWhenUnequip
-
resolveItemTypes
public void resolveItemTypes() -
resolveModelScripts
public void resolveModelScripts() -
getRecordedMediaCat
-
isWorldRender
-
isCantEat
-
getLuaCreate
-
setLuaCreate
-
getOpeningRecipe
-
setOpeningRecipe
-
getDoubleClickRecipe
-
setDoubleClickRecipe
-
getSoundParameter
-
getVehiclePartModels
-
getItemConfigKey
-
getR
public float getR() -
getColorRed
public float getColorRed() -
getG
public float getG() -
getColorGreen
public float getColorGreen() -
getB
public float getB() -
getColorBlue
public float getColorBlue() -
setItemConfig
-
getItemConfig
-
hasTag
-
hasTag
-
getCorpseSicknessDefense
public float getCorpseSicknessDefense() -
getWithDrainable
-
getWithoutDrainable
-
getSpawnWith
-
getStaticModelsByIndex
-
getWorldStaticModelsByIndex
-
getWeaponSpritesByIndex
-
getVisionModifier
public float getVisionModifier() -
getHearingModifier
public float getHearingModifier() -
getWorldObjectSprite
-
getStrainModifier
public float getStrainModifier() -
getMaxItemSize
public float getMaxItemSize() -
getOnBreak
-
getHeadConditionLowerChanceMultiplier
public float getHeadConditionLowerChanceMultiplier() -
getDamagedSound
-
getBulletHitArmourSound
-
getWeaponHitArmourSound
-
getShoutType
-
getShoutMultiplier
public float getShoutMultiplier() -
getEatTime
public int getEatTime() -
isVisualAid
public boolean isVisualAid() -
getDiscomfortModifier
public float getDiscomfortModifier() -
getPoisonPower
public float getPoisonPower() -
getPoisonDetectionLevel
public int getPoisonDetectionLevel() -
getHerbalistType
-
getFireFuelRatio
public float getFireFuelRatio() -
isMementoLoot
public boolean isMementoLoot() -
isCookwareLoot
public boolean isCookwareLoot() -
isMaterialLoot
public boolean isMaterialLoot() -
isFarmingLoot
public boolean isFarmingLoot() -
isToolLoot
public boolean isToolLoot() -
isSurvivalGearLoot
public boolean isSurvivalGearLoot() -
isMedicalLoot
public boolean isMedicalLoot() -
isMechanicsLoot
public boolean isMechanicsLoot() -
getLootType
-
ignoreZombieDensity
public boolean ignoreZombieDensity() -
isSpice
public boolean isSpice() -
getItemAfterCleaning
-
getResearchableRecipes
-
getResearchableRecipes
-
getResearchableRecipes
-
hasResearchableRecipes
public boolean hasResearchableRecipes() -
addResearchableRecipe
-
addResearchableRecipes
-
addResearchableRecipe
-
isCraftRecipeProduct
public boolean isCraftRecipeProduct() -
setIsCraftRecipeProduct
public void setIsCraftRecipeProduct(boolean isProduct) -
setIsCraftRecipeProduct
public void setIsCraftRecipeProduct() -
canBeForaged
public boolean canBeForaged() -
setCanBeForaged
public void setCanBeForaged(boolean canBe) -
addForageFocusCategory
-
clearForageFocusCategories
public void clearForageFocusCategories() -
getForageFocusCategories
-
canSpawnAsLoot
public boolean canSpawnAsLoot() -
setCanSpawnAsLoot
public void setCanSpawnAsLoot(boolean canSpawn) -
researchRecipes
-
isUsedInRecipes
public boolean isUsedInRecipes() -
isUsedInRecipes
-
getUsedInRecipes
-
getUsedInRecipes
-
getUsedInRecipes
public ArrayList<String> getUsedInRecipes(IsoGameCharacter character, ArrayList<String> recipesList) -
getUsedInFavouriteRecipes
-
isFavouriteRecipeInput
-
getFileName
-
getNumSpawned
public int getNumSpawned() -
isUsedInBuildRecipes
public boolean isUsedInBuildRecipes() -
isUsedInBuildRecipes
-
isUnwanted
-
setUnwanted
-
setUnwanted
-
setWanted
-
getMuzzleFlashModelKey
-
isCantBeFrozen
public boolean isCantBeFrozen()
-