Class IsoGameCharacter

All Implemented Interfaces:
fmod.fmod.IFMODParameterUpdater, Serializable, Mover, IStateCharacter, IActionStateChanged, CharacterInputComponentEntity, ECSEntity, ILuaGameCharacter, ILuaGameCharacterAttachedItems, ILuaGameCharacterClothing, ILuaGameCharacterDamage, ILuaGameCharacterHealth, ILuaVariableSource, Talker, ChatElementOwner, IAnimEventCallback, IAnimEventListener, IAnimEventWrappedBroadcaster, IAnimatable, IAnimationVariableMap, IAnimationVariableRegistry, IAnimationVariableSource, IAnimationVariableSourceContainer, IGrappleable, IGrappleableWrapper, IClothingItemListener, ILuaIsoObject, IsoRenderable, Thumpable
Direct Known Subclasses:
IsoDummyCameraCharacter, IsoLivingCharacter, IsoLuaCharacter, IsoLuaMover, IsoZombie, RandomizedBuildingBase.HumanCorpse

  • Field Details

    • GlovesStrengthBonus

      public static final int GlovesStrengthBonus
      See Also:
    • AwkwardGlovesStrengthDivisor

      public static final int AwkwardGlovesStrengthDivisor
      See Also:
    • HUMANOID_WORLD_CHEST_HEIGHT

      public static final float HUMANOID_WORLD_CHEST_HEIGHT
      See Also:
    • HUMANOID_SCREEN_CHEST_HEIGHT

      public static final float HUMANOID_SCREEN_CHEST_HEIGHT
      See Also:
    • doDirtBloodEtc

      public boolean doDirtBloodEtc
    • RENDER_OFFSET_X

      public static final int RENDER_OFFSET_X
      See Also:
    • RENDER_OFFSET_Y

      public static final int RENDER_OFFSET_Y
      See Also:
    • s_maxPossibleTwist

      public static final float s_maxPossibleTwist
      See Also:
    • vocalEvent

      public long vocalEvent
    • removedFromWorldMs

      public long removedFromWorldMs
    • WALK_SPEED_SLOW

      public static final float WALK_SPEED_SLOW
      See Also:
    • WALK_SPEED_DEFAULT

      public static final float WALK_SPEED_DEFAULT
      See Also:
    • amputations

      public final ArrayList<String> amputations
    • hair

      public ModelInstance hair
    • beard

      public ModelInstance beard
    • primaryHandModel

      public ModelInstance primaryHandModel
    • secondaryHandModel

      public ModelInstance secondaryHandModel
    • emitter

      public final BaseCharacterSoundEmitter emitter
    • callOut

      public boolean callOut
    • reanimatedCorpse

      public IsoGameCharacter reanimatedCorpse
    • reanimatedCorpseId

      public int reanimatedCorpseId
    • bumpNbr

      public int bumpNbr
    • asleep

      public boolean asleep
    • isResting

      public boolean isResting
    • blockTurning

      public boolean blockTurning
    • wasKnockedDown

      public boolean wasKnockedDown
    • speedMod

      public float speedMod
    • legsSprite

      public IsoSprite legsSprite
    • knockbackAttackMod

      public float knockbackAttackMod
    • isVisibleToPlayer

      public final boolean[] isVisibleToPlayer
    • savedVehicleX

      public float savedVehicleX
    • savedVehicleY

      public float savedVehicleY
    • savedVehicleSeat

      public short savedVehicleSeat
    • savedVehicleRunning

      public boolean savedVehicleRunning
    • bagsWorn

      public final ArrayList<InventoryContainer> bagsWorn
    • cheats

      public PlayerCheats cheats
    • lightInfo

      public final IsoGameCharacter.LightInfo lightInfo
    • updateEquippedTextures

      public boolean updateEquippedTextures
    • realx

      public float realx
    • realy

      public float realy
    • realz

      public byte realz
    • realState

      public NetworkVariables.ZombieState realState
    • overridePrimaryHandModel

      public String overridePrimaryHandModel
    • overrideSecondaryHandModel

      public String overrideSecondaryHandModel
    • forceNullOverride

      public boolean forceNullOverride
    • usernameDisguised

      public boolean usernameDisguised
    • invRadioFreq

      @Deprecated public ArrayList<Integer> invRadioFreq
      Deprecated.
    • lastAnimalPet

      public long lastAnimalPet
    • vbdebugHitTarget

      public IsoGameCharacter vbdebugHitTarget
    • networkCharacter

      public final NetworkCharacter networkCharacter
    • onFireLightSource

      public IsoLightSource onFireLightSource
  • Constructor Details

    • IsoGameCharacter

      public IsoGameCharacter(IsoCell cell, float x, float y, float z)
  • Method Details

    • registerECSComponents

      public void registerECSComponents()
      Specified by:
      registerECSComponents in interface ECSEntity
    • isFalling

      public final boolean isFalling()
    • isShoveStompAnim

      public boolean isShoveStompAnim()
    • setShoveStompAnim

      public void setShoveStompAnim(boolean val)
    • canUseCurrentPoseForCorpse

      public boolean canUseCurrentPoseForCorpse()
    • getRecoilVarX

      public float getRecoilVarX()
    • setRecoilVarX

      public void setRecoilVarX(float recoilVarX)
    • getRecoilVarY

      public float getRecoilVarY()
    • setRecoilVarY

      public void setRecoilVarY(float recoilVarY)
    • setGrappleThrowOutWindow

      public void setGrappleThrowOutWindow(boolean newValue)
    • isGrappleThrowOutWindow

      public boolean isGrappleThrowOutWindow()
    • setGrappleThrowOverFence

      public void setGrappleThrowOverFence(boolean newValue)
    • isGrappleThrowOverFence

      public boolean isGrappleThrowOverFence()
    • setGrappleThrowIntoContainer

      public void setGrappleThrowIntoContainer(boolean newValue)
    • isGrappleThrowIntoContainer

      public boolean isGrappleThrowIntoContainer()
    • updateRecoilVar

      public void updateRecoilVar()
    • setVehicleHitLocation

      public void setVehicleHitLocation(BaseVehicle vehicle)
    • getMomentumScalar

      public float getMomentumScalar()
    • setMomentumScalar

      public void setMomentumScalar(float val)
    • getDeferredMovement

      public Vector2 getDeferredMovement(Vector2 result)
    • getDeferredMovementFromRagdoll

      public Vector3 getDeferredMovementFromRagdoll(Vector3 result)
    • getDeferredAngleDelta

      public float getDeferredAngleDelta()
    • getDeferredRotationWeight

      public float getDeferredRotationWeight()
    • getTargetGrapplePos

      public org.joml.Vector3f getTargetGrapplePos(org.joml.Vector3f result)
      Specified by:
      getTargetGrapplePos in interface IGrappleable
      Specified by:
      getTargetGrapplePos in interface IGrappleableWrapper
    • getTargetGrapplePos

      public Vector3 getTargetGrapplePos(Vector3 result)
      Specified by:
      getTargetGrapplePos in interface IGrappleable
      Specified by:
      getTargetGrapplePos in interface IGrappleableWrapper
    • setTargetGrapplePos

      public void setTargetGrapplePos(float x, float y, float z)
      Specified by:
      setTargetGrapplePos in interface IGrappleable
      Specified by:
      setTargetGrapplePos in interface IGrappleableWrapper
    • getTargetGrappleRotation

      public Vector2 getTargetGrappleRotation(Vector2 result)
      Specified by:
      getTargetGrappleRotation in interface IGrappleable
      Specified by:
      getTargetGrappleRotation in interface IGrappleableWrapper
    • isStrafing

      public boolean isStrafing()
    • isPerformingNoAimShortStrafe

      public boolean isPerformingNoAimShortStrafe()
    • dbgGetAnimTrack

      public AnimationTrack dbgGetAnimTrack(int layerIdx, int trackIdx)
    • dbgGetAnimTrackName

      public String dbgGetAnimTrackName(int layerIdx, int trackIdx)
    • dbgGetAnimTrackTime

      public float dbgGetAnimTrackTime(int layerIdx, int trackIdx)
    • dbgGetAnimTrackWeight

      public float dbgGetAnimTrackWeight(int layerIdx, int trackIdx)
    • getTwist

      public float getTwist()
    • getShoulderTwist

      public float getShoulderTwist()
    • getMaxTwist

      public float getMaxTwist()
    • setMaxTwist

      public void setMaxTwist(float degrees)
    • getExcessTwist

      public float getExcessTwist()
    • getNumTwistBones

      public int getNumTwistBones()
    • getAbsoluteExcessTwist

      public float getAbsoluteExcessTwist()
    • getAnimAngleTwistDelta

      public float getAnimAngleTwistDelta()
    • getAnimAngleStepDelta

      public float getAnimAngleStepDelta()
    • getTargetTwist

      public float getTargetTwist()
    • isRangedWeaponEmpty

      public boolean isRangedWeaponEmpty()
      Specified by:
      isRangedWeaponEmpty in interface ILuaGameCharacter
    • setRangedWeaponEmpty

      public void setRangedWeaponEmpty(boolean val)
      Specified by:
      setRangedWeaponEmpty in interface ILuaGameCharacter
    • hasFootInjury

      public boolean hasFootInjury()
    • isInTrees2

      public boolean isInTrees2(boolean ignoreBush)
    • isInTreesNoBush

      public boolean isInTreesNoBush()
    • isInTrees

      public boolean isInTrees()
    • getSurvivorMap

      public static HashMap<Integer, SurvivorDesc> getSurvivorMap()
    • getLevelUpLevels

      public static int[] getLevelUpLevels()
    • getTempo

      public static Vector2 getTempo()
    • getTempo2

      public static Vector2 getTempo2()
    • getInf

      public static ColorInfo getInf()
    • getEmitter

      public BaseCharacterSoundEmitter getEmitter()
      Specified by:
      getEmitter in interface ILuaGameCharacter
    • updateEmitter

      public void updateEmitter()
    • doDeferredMovementFromRagdoll

      public void doDeferredMovementFromRagdoll(Vector3 dMovement)
    • getActionContext

      public ActionContext getActionContext()
      Specified by:
      getActionContext in interface IAnimatable
    • getStateMachineComponent

      public final StateMachineComponent getStateMachineComponent()
    • getPreviousActionContextStateName

      public String getPreviousActionContextStateName()
    • getCurrentActionContextStateName

      public String getCurrentActionContextStateName()
    • hasAnimationPlayer

      public boolean hasAnimationPlayer()
      Specified by:
      hasAnimationPlayer in interface IAnimatable
    • getAnimationPlayer

      public AnimationPlayer getAnimationPlayer()
      Specified by:
      getAnimationPlayer in interface IAnimatable
    • releaseAnimationPlayer

      public void releaseAnimationPlayer()
    • getAdvancedAnimator

      public AdvancedAnimator getAdvancedAnimator()
      Specified by:
      getAdvancedAnimator in interface IAnimatable
    • getModelInstance

      public ModelInstance getModelInstance()
      Specified by:
      getModelInstance in interface IAnimatable
    • getCurrentStateName

      public String getCurrentStateName()
    • getPreviousStateName

      public String getPreviousStateName()
    • getAnimationDebug

      public String getAnimationDebug()
    • getStatisticsDebug

      public String getStatisticsDebug()
    • getTalkerType

      public String getTalkerType()
      Specified by:
      getTalkerType in interface Talker
    • spinToZeroAllAnimNodes

      public void spinToZeroAllAnimNodes()
    • isAnimForecasted

      public boolean isAnimForecasted()
    • setAnimForecasted

      public void setAnimForecasted(int timeMs)
    • resetModel

      public void resetModel()
      Specified by:
      resetModel in interface ILuaGameCharacter
    • resetModelNextFrame

      public void resetModelNextFrame()
      Specified by:
      resetModelNextFrame in interface ILuaGameCharacter
    • clothingItemChanged

      public void clothingItemChanged(String itemGuid)
      Specified by:
      clothingItemChanged in interface IClothingItemListener
    • reloadOutfit

      public void reloadOutfit()
    • setSceneCulled

      public void setSceneCulled(boolean isCulled)
      Specified by:
      setSceneCulled in interface IsoRenderable
      Overrides:
      setSceneCulled in class IsoObject
    • setAddedToModelManager

      public void setAddedToModelManager(ModelManager modelManager, boolean isAdded)
    • isAddedToModelManager

      public boolean isAddedToModelManager()
    • dressInRandomOutfit

      public void dressInRandomOutfit()
    • dressInRandomNonSillyOutfit

      public void dressInRandomNonSillyOutfit()
    • dressInNamedOutfit

      public void dressInNamedOutfit(String outfitName)
      Specified by:
      dressInNamedOutfit in interface ILuaGameCharacterClothing
    • dressInPersistentOutfit

      public void dressInPersistentOutfit(String outfitName)
      Specified by:
      dressInPersistentOutfit in interface ILuaGameCharacterClothing
    • dressInPersistentOutfitID

      public void dressInPersistentOutfitID(int outfitID)
      Specified by:
      dressInPersistentOutfitID in interface ILuaGameCharacterClothing
    • getOutfitName

      public String getOutfitName()
      Specified by:
      getOutfitName in interface ILuaGameCharacterClothing
    • dressInClothingItem

      public void dressInClothingItem(String itemGUID)
    • getRandomDefaultOutfit

      public Outfit getRandomDefaultOutfit()
    • getModel

      public ModelInstance getModel()
    • hasActiveModel

      public boolean hasActiveModel()
    • hasItems

      public boolean hasItems(String type, int count)
      Specified by:
      hasItems in interface ILuaGameCharacter
    • getLevelUpLevels

      public int getLevelUpLevels(int level)
    • getLevelMaxForXp

      public int getLevelMaxForXp()
    • getXpForLevel

      public int getXpForLevel(int level)
      Specified by:
      getXpForLevel in interface ILuaGameCharacter
    • DoDeath

      public final void DoDeath(HandWeapon weapon, IsoGameCharacter wielder)
    • DoDeath

      public void DoDeath(HandWeapon weapon, IsoGameCharacter wielder, boolean isGory)
    • doDeathSplatterAndSounds

      public void doDeathSplatterAndSounds(HandWeapon weapon, IsoGameCharacter wielder, boolean isGory)
    • onDeath_ShouldDoSplatterAndSounds

      public boolean onDeath_ShouldDoSplatterAndSounds(HandWeapon weapon, IsoGameCharacter wielder, boolean isGory)
    • clearFallDamage

      public void clearFallDamage()
    • getImpactIsoSpeed

      public float getImpactIsoSpeed()
    • DoLand

      public void DoLand(float impactIsoSpeed)
    • getContextWorldContainers

      public <T> PZArrayList<ItemContainer> getContextWorldContainers(T paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> isValidPredicate)
    • getContextWorldContainers

      public <T> PZArrayList<ItemContainer> getContextWorldContainers(T paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> isValidPredicate, PZArrayList<ItemContainer> containerList)
    • getContextWorldContainersInObjects

      public <T> PZArrayList<ItemContainer> getContextWorldContainersInObjects(IsoObject[] contextObjects, T paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> isValidPredicate, PZArrayList<ItemContainer> containerList)
    • getContextWorldSuitableContainersToDropCorpseInObjects

      public PZArrayList<ItemContainer> getContextWorldSuitableContainersToDropCorpseInObjects(IsoObject[] contextObjects)
    • getSuitableContainersToDropCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpseInSquare(IsoGridSquare square)
    • getSuitableContainersToDropCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpseInSquare(IsoGridSquare square, PZArrayList<ItemContainer> foundContainers)
    • getSuitableContainersToDropCorpse

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpse()
    • getSuitableContainersToDropCorpse

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpse(PZArrayList<ItemContainer> foundContainers)
    • getContextWorldContainersWithHumanCorpse

      public PZArrayList<ItemContainer> getContextWorldContainersWithHumanCorpse(IsoObject[] contextObjects)
    • getSuitableContainersWithHumanCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersWithHumanCorpseInSquare(IsoGridSquare square)
    • getSuitableContainersWithHumanCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersWithHumanCorpseInSquare(IsoGridSquare square, PZArrayList<ItemContainer> foundContainers)
    • canDropCorpseInto

      public static boolean canDropCorpseInto(IsoGameCharacter chr, ItemContainer container)
    • canGrabCorpseFrom

      public static boolean canGrabCorpseFrom(IsoGameCharacter chr, ItemContainer container)
    • canAccessContainer

      public boolean canAccessContainer(ItemContainer container)
    • getContainerToolTip

      public String getContainerToolTip(ItemContainer container)
    • getFollowingTarget

      public IsoGameCharacter getFollowingTarget()
    • setFollowingTarget

      public void setFollowingTarget(IsoGameCharacter followingTarget)
    • getLocalList

      public ArrayList<IsoMovingObject> getLocalList()
    • getLocalNeutralList

      public ArrayList<IsoMovingObject> getLocalNeutralList()
    • getLocalGroupList

      public ArrayList<IsoMovingObject> getLocalGroupList()
    • getLocalRelevantEnemyList

      public ArrayList<IsoMovingObject> getLocalRelevantEnemyList()
    • getDangerLevels

      public float getDangerLevels()
    • setDangerLevels

      public void setDangerLevels(float dangerLevels)
    • getPerkList

      public ArrayList<IsoGameCharacter.PerkInfo> getPerkList()
    • getLeaveBodyTimedown

      public float getLeaveBodyTimedown()
    • setLeaveBodyTimedown

      public void setLeaveBodyTimedown(float leaveBodyTimedown)
    • isAllowConversation

      public boolean isAllowConversation()
    • setAllowConversation

      public void setAllowConversation(boolean allowConversation)
    • getReanimateTimer

      public float getReanimateTimer()
    • setReanimateTimer

      public void setReanimateTimer(float reanimateTimer)
    • getReanimAnimFrame

      public int getReanimAnimFrame()
    • setReanimAnimFrame

      public void setReanimAnimFrame(int reanimAnimFrame)
    • getReanimAnimDelay

      public int getReanimAnimDelay()
    • setReanimAnimDelay

      public void setReanimAnimDelay(int reanimAnimDelay)
    • isReanim

      public boolean isReanim()
    • setReanim

      public void setReanim(boolean reanim)
    • isVisibleToNPCs

      public boolean isVisibleToNPCs()
    • setVisibleToNPCs

      public void setVisibleToNPCs(boolean visibleToNpcs)
    • getDieCount

      public int getDieCount()
    • setDieCount

      public void setDieCount(int dieCount)
    • getLlx

      public float getLlx()
    • setLlx

      public void setLlx(float llx)
    • getLly

      public float getLly()
    • setLly

      public void setLly(float lly)
    • getLlz

      public float getLlz()
    • setLlz

      public void setLlz(float llz)
    • getRemoteID

      public int getRemoteID()
    • setRemoteID

      public void setRemoteID(int remoteId)
    • getNumSurvivorsInVicinity

      public int getNumSurvivorsInVicinity()
    • setNumSurvivorsInVicinity

      public void setNumSurvivorsInVicinity(int numSurvivorsInVicinity)
    • getLevelUpMultiplier

      public float getLevelUpMultiplier()
    • setLevelUpMultiplier

      public void setLevelUpMultiplier(float levelUpMultiplier)
    • getXp

      public IsoGameCharacter.XP getXp()
      Specified by:
      getXp in interface ILuaGameCharacter
    • setXp

      @Deprecated public void setXp(IsoGameCharacter.XP xp)
      Deprecated.
    • getLastLocalEnemies

      public int getLastLocalEnemies()
    • setLastLocalEnemies

      public void setLastLocalEnemies(int lastLocalEnemies)
    • getVeryCloseEnemyList

      public ArrayList<IsoMovingObject> getVeryCloseEnemyList()
    • getLastKnownLocation

      public HashMap<String, IsoGameCharacter.Location> getLastKnownLocation()
    • getAttackedBy

      public IsoGameCharacter getAttackedBy()
    • setAttackedBy

      public void setAttackedBy(IsoGameCharacter attackedBy)
    • isIgnoreStaggerBack

      public boolean isIgnoreStaggerBack()
    • setIgnoreStaggerBack

      public void setIgnoreStaggerBack(boolean ignoreStaggerBack)
    • getTimeThumping

      public int getTimeThumping()
    • setTimeThumping

      public void setTimeThumping(int timeThumping)
    • getPatienceMax

      public int getPatienceMax()
    • setPatienceMax

      public void setPatienceMax(int patienceMax)
    • getPatienceMin

      public int getPatienceMin()
    • setPatienceMin

      public void setPatienceMin(int patienceMin)
    • getPatience

      public int getPatience()
    • setPatience

      public void setPatience(int patience)
    • getCharacterActions

      public Stack<BaseAction> getCharacterActions()
      Specified by:
      getCharacterActions in interface ILuaGameCharacter
    • hasTimedActions

      public boolean hasTimedActions()
    • isCurrentActionPathfinding

      public boolean isCurrentActionPathfinding()
    • isCurrentActionAllowedWhileDraggingCorpses

      public boolean isCurrentActionAllowedWhileDraggingCorpses()
    • checkCurrentAction

      public boolean checkCurrentAction(Invokers.Params1.Boolean.ICallback<BaseAction> checkPredicate)
    • isImpactFromBehind

      public boolean isImpactFromBehind(Vector2 impactDir)
    • isImpactFromBehind

      public boolean isImpactFromBehind(float impactDirX, float impactDirY)
    • isImpactFromBehind

      public static boolean isImpactFromBehind(float chrForwardX, float chrForwardY, float impactDirX, float impactDirY)
    • getForwardDirection

      @Deprecated public Vector2 getForwardDirection()
      Deprecated.
    • getForwardDirectionX

      public float getForwardDirectionX()
    • getForwardDirectionY

      public float getForwardDirectionY()
    • getForwardDirection

      public Vector2 getForwardDirection(Vector2 forwardDirection)
    • setForwardDirection

      public void setForwardDirection(Vector2 dir)
    • setTargetAndCurrentDirection

      public void setTargetAndCurrentDirection(float directionX, float directionY)
      Specified by:
      setTargetAndCurrentDirection in interface IGrappleable
      Specified by:
      setTargetAndCurrentDirection in interface IGrappleableWrapper
    • setForwardDirection

      public void setForwardDirection(float directionX, float directionY)
      Specified by:
      setForwardDirection in interface IGrappleable
    • zeroForwardDirectionX

      public void zeroForwardDirectionX()
    • zeroForwardDirectionY

      public void zeroForwardDirectionY()
    • getDirectionAngleRadians

      public float getDirectionAngleRadians()
    • getDirectionAngle

      public float getDirectionAngle()
    • setDirectionAngle

      public void setDirectionAngle(float angleDegrees)
    • getAnimAngle

      public float getAnimAngle()
    • getAnimAngleRadians

      public float getAnimAngleRadians()
    • getAnimVector

      @Deprecated public Vector2 getAnimVector(Vector2 animForwardDirection)
      Deprecated.
    • getAnimForwardDirection

      public Vector2 getAnimForwardDirection(Vector2 forwardDirection)
      Specified by:
      getAnimForwardDirection in interface IGrappleable
    • getLookAngleRadians

      public float getLookAngleRadians()
    • getLookVector

      public Vector2 getLookVector(Vector2 vector2)
    • getLookDirectionX

      public float getLookDirectionX()
    • getLookDirectionY

      public float getLookDirectionY()
    • isAnimatingBackwards

      public boolean isAnimatingBackwards()
    • getForwardMovementIsoDirection

      public IsoDirections getForwardMovementIsoDirection()
      Overrides:
      getForwardMovementIsoDirection in class IsoObject
    • setAnimatingBackwards

      public void setAnimatingBackwards(boolean isAnimatingBackwards)
    • isDraggingCorpse

      public boolean isDraggingCorpse()
    • getOwner

      public UdpConnection getOwner()
    • setOwner

      public void setOwner(UdpConnection connection)
    • getOwnerPlayer

      public IsoPlayer getOwnerPlayer()
    • setOwnerPlayer

      public void setOwnerPlayer(IsoPlayer player)
    • getDotWithForwardDirection

      public float getDotWithForwardDirection(Vector3 bonePos)
    • getDotWithForwardDirection

      public float getDotWithForwardDirection(float targetX, float targetY)
    • getCardinalDirection

      public IsoDirections getCardinalDirection()
    • isAsleep

      public boolean isAsleep()
      Specified by:
      isAsleep in interface ILuaGameCharacter
    • setAsleep

      public void setAsleep(boolean asleep)
      Specified by:
      setAsleep in interface ILuaGameCharacter
    • isResting

      public boolean isResting()
      Specified by:
      isResting in interface ILuaGameCharacter
    • setIsResting

      public void setIsResting(boolean isResting)
      Specified by:
      setIsResting in interface ILuaGameCharacter
    • getZombieKills

      public int getZombieKills()
      Specified by:
      getZombieKills in interface ILuaGameCharacter
    • setZombieKills

      public void setZombieKills(int zombieKills)
    • getLastZombieKills

      public int getLastZombieKills()
    • setLastZombieKills

      public void setLastZombieKills(int lastZombieKills)
    • getForceWakeUpTime

      public float getForceWakeUpTime()
    • setForceWakeUpTime

      public void setForceWakeUpTime(float forceWakeUpTime)
      Specified by:
      setForceWakeUpTime in interface ILuaGameCharacter
    • forceAwake

      public void forceAwake()
    • getBodyDamage

      public BodyDamage getBodyDamage()
      Specified by:
      getBodyDamage in interface ILuaGameCharacterDamage
    • getBodyDamageRemote

      public BodyDamage getBodyDamageRemote()
      Specified by:
      getBodyDamageRemote in interface ILuaGameCharacterDamage
    • resetBodyDamageRemote

      public void resetBodyDamageRemote()
    • getDefaultState

      public State getDefaultState()
    • setDefaultState

      public void setDefaultState(State defaultState)
    • getDescriptor

      public SurvivorDesc getDescriptor()
      Specified by:
      getDescriptor in interface ILuaGameCharacter
    • setDescriptor

      public void setDescriptor(SurvivorDesc descriptor)
      Specified by:
      setDescriptor in interface ILuaGameCharacter
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface ILuaGameCharacter
    • getVisual

      public BaseVisual getVisual()
      Specified by:
      getVisual in interface ILuaGameCharacter
    • getItemVisuals

      public ItemVisuals getItemVisuals()
    • getItemVisuals

      public void getItemVisuals(ItemVisuals itemVisuals)
    • isUsingWornItems

      public boolean isUsingWornItems()
    • getFamiliarBuildings

      public Stack<IsoBuilding> getFamiliarBuildings()
    • getFinder

      public AStarPathFinderResult getFinder()
    • getFireKillRate

      public float getFireKillRate()
    • setFireKillRate

      public void setFireKillRate(float fireKillRate)
    • getFireSpreadProbability

      public int getFireSpreadProbability()
    • setFireSpreadProbability

      public void setFireSpreadProbability(int fireSpreadProbability)
    • getHealth

      public float getHealth()
      Specified by:
      getHealth in interface ILuaGameCharacterDamage
    • setHealth

      public void setHealth(float health)
      Specified by:
      setHealth in interface ILuaGameCharacterDamage
    • isOnDeathDone

      public boolean isOnDeathDone()
      Specified by:
      isOnDeathDone in interface ILuaGameCharacterDamage
    • setOnDeathDone

      public void setOnDeathDone(boolean done)
      Specified by:
      setOnDeathDone in interface ILuaGameCharacterDamage
    • isOnKillDone

      public boolean isOnKillDone()
      Specified by:
      isOnKillDone in interface ILuaGameCharacterDamage
    • setOnKillDone

      public void setOnKillDone(boolean done)
      Specified by:
      setOnKillDone in interface ILuaGameCharacterDamage
    • isDeathDragDown

      public boolean isDeathDragDown()
      Specified by:
      isDeathDragDown in interface ILuaGameCharacterDamage
    • setDeathDragDown

      public void setDeathDragDown(boolean dragDown)
      Specified by:
      setDeathDragDown in interface ILuaGameCharacterDamage
    • isPlayingDeathSound

      public boolean isPlayingDeathSound()
      Specified by:
      isPlayingDeathSound in interface ILuaGameCharacterDamage
    • setPlayingDeathSound

      public void setPlayingDeathSound(boolean playing)
      Specified by:
      setPlayingDeathSound in interface ILuaGameCharacterDamage
    • getHurtSound

      public String getHurtSound()
    • setHurtSound

      public void setHurtSound(String hurtSound)
    • isIgnoreMovementForDirection

      @Deprecated public boolean isIgnoreMovementForDirection()
      Deprecated.
    • getInventory

      public ItemContainer getInventory()
      Specified by:
      getInventory in interface ILuaGameCharacter
    • setInventory

      public void setInventory(ItemContainer inventory)
    • isPrimaryEquipped

      public boolean isPrimaryEquipped(String item)
    • getPrimaryHandItem

      public InventoryItem getPrimaryHandItem()
      Specified by:
      getPrimaryHandItem in interface ILuaGameCharacter
    • setPrimaryHandItem

      public void setPrimaryHandItem(InventoryItem leftHandItem)
      Specified by:
      setPrimaryHandItem in interface ILuaGameCharacter
    • getAttackingWeapon

      public HandWeapon getAttackingWeapon()
    • initWornItems

      public void initWornItems(String bodyLocationGroupName)
    • getWornItems

      public WornItems getWornItems()
      Specified by:
      getWornItems in interface ILuaGameCharacterClothing
    • setWornItems

      public void setWornItems(WornItems other)
      Specified by:
      setWornItems in interface ILuaGameCharacterClothing
    • getWornItem

      public InventoryItem getWornItem(ItemBodyLocation itemBodyLocation)
      Specified by:
      getWornItem in interface ILuaGameCharacterClothing
    • setWornItem

      public void setWornItem(ItemBodyLocation location, InventoryItem item)
      Specified by:
      setWornItem in interface ILuaGameCharacterClothing
    • setWornItem

      public void setWornItem(ItemBodyLocation location, InventoryItem item, boolean forceDropTooHeavy)
    • removeWornItem

      public void removeWornItem(InventoryItem item)
      Specified by:
      removeWornItem in interface ILuaGameCharacterClothing
    • removeWornItem

      public void removeWornItem(InventoryItem item, boolean forceDropTooHeavy)
      Specified by:
      removeWornItem in interface ILuaGameCharacterClothing
    • clearWornItems

      public void clearWornItems()
      Specified by:
      clearWornItems in interface ILuaGameCharacterClothing
    • getBodyLocationGroup

      public BodyLocationGroup getBodyLocationGroup()
      Specified by:
      getBodyLocationGroup in interface ILuaGameCharacterClothing
    • onWornItemsChanged

      public void onWornItemsChanged()
    • initAttachedItems

      public void initAttachedItems(String groupName)
    • getAttachedItems

      public AttachedItems getAttachedItems()
      Specified by:
      getAttachedItems in interface ILuaGameCharacterAttachedItems
    • setAttachedItems

      public void setAttachedItems(AttachedItems other)
      Specified by:
      setAttachedItems in interface ILuaGameCharacterAttachedItems
    • getAttachedItem

      public InventoryItem getAttachedItem(String location)
      Specified by:
      getAttachedItem in interface ILuaGameCharacterAttachedItems
    • setAttachedItem

      public void setAttachedItem(String location, InventoryItem item)
      Specified by:
      setAttachedItem in interface ILuaGameCharacterAttachedItems
    • removeAttachedItem

      public void removeAttachedItem(InventoryItem item)
      Specified by:
      removeAttachedItem in interface ILuaGameCharacterAttachedItems
    • clearAttachedItems

      public void clearAttachedItems()
      Specified by:
      clearAttachedItems in interface ILuaGameCharacterAttachedItems
    • getAttachedLocationGroup

      public AttachedLocationGroup getAttachedLocationGroup()
      Specified by:
      getAttachedLocationGroup in interface ILuaGameCharacterAttachedItems
    • getClothingWetness

      public ClothingWetness getClothingWetness()
    • getClothingWetnessSync

      public ClothingWetnessSync getClothingWetnessSync()
    • getClothingItem_Head

      public InventoryItem getClothingItem_Head()
    • setClothingItem_Head

      public void setClothingItem_Head(InventoryItem item)
      Specified by:
      setClothingItem_Head in interface ILuaGameCharacterClothing
    • getClothingItem_Torso

      public InventoryItem getClothingItem_Torso()
    • setClothingItem_Torso

      public void setClothingItem_Torso(InventoryItem item)
      Specified by:
      setClothingItem_Torso in interface ILuaGameCharacterClothing
    • getClothingItem_Back

      public InventoryItem getClothingItem_Back()
    • setClothingItem_Back

      public void setClothingItem_Back(InventoryItem item)
      Specified by:
      setClothingItem_Back in interface ILuaGameCharacterClothing
    • getClothingItem_Hands

      public InventoryItem getClothingItem_Hands()
    • setClothingItem_Hands

      public void setClothingItem_Hands(InventoryItem item)
      Specified by:
      setClothingItem_Hands in interface ILuaGameCharacterClothing
    • getClothingItem_Legs

      public InventoryItem getClothingItem_Legs()
    • setClothingItem_Legs

      public void setClothingItem_Legs(InventoryItem item)
      Specified by:
      setClothingItem_Legs in interface ILuaGameCharacterClothing
    • getClothingItem_Feet

      public InventoryItem getClothingItem_Feet()
    • setClothingItem_Feet

      public void setClothingItem_Feet(InventoryItem item)
      Specified by:
      setClothingItem_Feet in interface ILuaGameCharacterClothing
    • getNextWander

      public int getNextWander()
    • setNextWander

      public void setNextWander(int nextWander)
    • isOnFire

      public boolean isOnFire()
      Specified by:
      isOnFire in interface ILuaGameCharacterDamage
    • setOnFire

      public void setOnFire(boolean onFire)
    • removeFromWorld

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoMovingObject
    • getPathIndex

      public int getPathIndex()
    • setPathIndex

      public void setPathIndex(int pathIndex)
    • getPathTargetX

      public int getPathTargetX()
    • getPathTargetY

      public int getPathTargetY()
    • getPathTargetZ

      public int getPathTargetZ()
    • getSecondaryHandItem

      public InventoryItem getSecondaryHandItem()
      Specified by:
      getSecondaryHandItem in interface ILuaGameCharacter
    • setSecondaryHandItem

      public void setSecondaryHandItem(InventoryItem rightHandItem)
      Specified by:
      setSecondaryHandItem in interface ILuaGameCharacter
    • isHandItem

      public boolean isHandItem(InventoryItem item)
      Specified by:
      isHandItem in interface ILuaGameCharacter
    • isPrimaryHandItem

      public boolean isPrimaryHandItem(InventoryItem item)
      Specified by:
      isPrimaryHandItem in interface ILuaGameCharacter
    • isSecondaryHandItem

      public boolean isSecondaryHandItem(InventoryItem item)
      Specified by:
      isSecondaryHandItem in interface ILuaGameCharacter
    • isItemInBothHands

      public boolean isItemInBothHands(InventoryItem item)
      Specified by:
      isItemInBothHands in interface ILuaGameCharacter
    • removeFromHands

      public boolean removeFromHands(InventoryItem item)
      Specified by:
      removeFromHands in interface ILuaGameCharacter
    • getSpeakColour

      public Color getSpeakColour()
    • setSpeakColour

      public void setSpeakColour(Color speakColour)
    • setSpeakColourInfo

      public void setSpeakColourInfo(ColorInfo info)
      Specified by:
      setSpeakColourInfo in interface ILuaGameCharacter
    • getSlowFactor

      public float getSlowFactor()
    • setSlowFactor

      public void setSlowFactor(float slowFactor)
    • getSlowTimer

      public float getSlowTimer()
    • setSlowTimer

      public void setSlowTimer(float slowTimer)
    • isbUseParts

      public boolean isbUseParts()
    • setbUseParts

      public void setbUseParts(boolean useParts)
    • isSpeaking

      public boolean isSpeaking()
      Specified by:
      isSpeaking in interface ILuaGameCharacter
    • setSpeaking

      public void setSpeaking(boolean speaking)
    • getSpeakTime

      public float getSpeakTime()
    • setSpeakTime

      public void setSpeakTime(int speakTime)
    • getSpeedMod

      public float getSpeedMod()
    • setSpeedMod

      public void setSpeedMod(float speedMod)
    • getStaggerTimeMod

      public float getStaggerTimeMod()
    • setStaggerTimeMod

      public void setStaggerTimeMod(float staggerTimeMod)
    • getStateMachine

      public StateMachine getStateMachine()
    • getMoodles

      public Moodles getMoodles()
      Specified by:
      getMoodles in interface ILuaGameCharacter
    • getStats

      public Stats getStats()
      Specified by:
      getStats in interface ILuaGameCharacter
    • getUsedItemsOn

      public Stack<String> getUsedItemsOn()
    • getUseHandWeapon

      public HandWeapon getUseHandWeapon()
    • setUseHandWeapon

      public void setUseHandWeapon(HandWeapon useHandWeapon)
    • getLegsSprite

      public IsoSprite getLegsSprite()
    • setLegsSprite

      public void setLegsSprite(IsoSprite legsSprite)
    • getAttackTargetSquare

      public IsoGridSquare getAttackTargetSquare()
    • setAttackTargetSquare

      public void setAttackTargetSquare(IsoGridSquare attackTargetSquare)
    • getBloodImpactX

      public float getBloodImpactX()
    • setBloodImpactX

      public void setBloodImpactX(float bloodImpactX)
    • getBloodImpactY

      public float getBloodImpactY()
    • setBloodImpactY

      public void setBloodImpactY(float bloodImpactY)
    • getBloodImpactZ

      public float getBloodImpactZ()
    • setBloodImpactZ

      public void setBloodImpactZ(float bloodImpactZ)
    • getBloodSplat

      public IsoSprite getBloodSplat()
    • setBloodSplat

      public void setBloodSplat(IsoSprite bloodSplat)
    • isbOnBed

      @Deprecated public boolean isbOnBed()
      Deprecated.
    • setbOnBed

      @Deprecated public void setbOnBed(boolean onBed)
      Deprecated.
    • isOnBed

      public boolean isOnBed()
    • setOnBed

      public void setOnBed(boolean bOnBed)
    • getMoveForwardVec

      public Vector2 getMoveForwardVec()
    • setMoveForwardVec

      public void setMoveForwardVec(Vector2 moveForwardVec)
    • isPathing

      public boolean isPathing()
    • setPathing

      public void setPathing(boolean pathing)
    • getLocalEnemyList

      public Stack<IsoGameCharacter> getLocalEnemyList()
    • getEnemyList

      public Stack<IsoGameCharacter> getEnemyList()
    • getCharacterTraits

      public CharacterTraits getCharacterTraits()
      Specified by:
      getCharacterTraits in interface ILuaGameCharacter
    • getMaxWeight

      public int getMaxWeight()
      Specified by:
      getMaxWeight in interface ILuaGameCharacter
    • setMaxWeight

      public void setMaxWeight(int maxWeight)
    • getMaxWeightBase

      public int getMaxWeightBase()
    • setMaxWeightBase

      public void setMaxWeightBase(int maxWeightBase)
    • getSleepingTabletDelta

      public float getSleepingTabletDelta()
    • setSleepingTabletDelta

      public void setSleepingTabletDelta(float sleepingTabletDelta)
    • getBetaEffect

      public float getBetaEffect()
    • setBetaEffect

      public void setBetaEffect(float betaEffect)
    • getDepressEffect

      public float getDepressEffect()
    • setDepressEffect

      public void setDepressEffect(float depressEffect)
    • getSleepingTabletEffect

      public float getSleepingTabletEffect()
      Specified by:
      getSleepingTabletEffect in interface ILuaGameCharacterHealth
    • setSleepingTabletEffect

      public void setSleepingTabletEffect(float sleepingTabletEffect)
      Specified by:
      setSleepingTabletEffect in interface ILuaGameCharacterHealth
    • getBetaDelta

      public float getBetaDelta()
    • setBetaDelta

      public void setBetaDelta(float betaDelta)
    • getDepressDelta

      public float getDepressDelta()
    • setDepressDelta

      public void setDepressDelta(float depressDelta)
    • getPainEffect

      public float getPainEffect()
    • setPainEffect

      public void setPainEffect(float painEffect)
    • getPainDelta

      public float getPainDelta()
    • setPainDelta

      public void setPainDelta(float painDelta)
    • isbDoDefer

      public boolean isbDoDefer()
    • setbDoDefer

      public void setbDoDefer(boolean doDefer)
    • getLastHeardSound

      public IsoGameCharacter.Location getLastHeardSound()
    • setLastHeardSound

      public void setLastHeardSound(int x, int y, int z)
    • isClimbing

      public boolean isClimbing()
    • setbClimbing

      public void setbClimbing(boolean climbing)
    • isLastCollidedW

      public boolean isLastCollidedW()
    • setLastCollidedW

      public void setLastCollidedW(boolean lastCollidedW)
    • isLastCollidedN

      public boolean isLastCollidedN()
    • setLastCollidedN

      public void setLastCollidedN(boolean lastCollidedN)
    • getFallTime

      public float getFallTime()
    • getFallSpeedSeverity

      public FallSeverity getFallSpeedSeverity()
    • setFallTime

      public void setFallTime(float fallTime)
    • getLastFallSpeed

      public float getLastFallSpeed()
    • setLastFallSpeed

      public void setLastFallSpeed(float lastFallSpeed)
    • isbFalling

      public boolean isbFalling()
    • setbFalling

      public void setbFalling(boolean falling)
    • getCurrentBuildingDef

      public BuildingDef getCurrentBuildingDef()
    • getCurrentRoomDef

      public RoomDef getCurrentRoomDef()
    • getTorchStrength

      public float getTorchStrength()
    • getAnimEventBroadcaster

      public AnimEventBroadcaster getAnimEventBroadcaster()
      Specified by:
      getAnimEventBroadcaster in interface IAnimEventWrappedBroadcaster
    • OnAnimEvent

      public void OnAnimEvent(AnimLayer sender, AnimationTrack track, AnimEvent event)
      Specified by:
      OnAnimEvent in interface IAnimEventCallback
    • onRagdollSimulationStarted

      public void onRagdollSimulationStarted()
    • getHammerSoundMod

      public float getHammerSoundMod()
      Specified by:
      getHammerSoundMod in interface ILuaGameCharacter
    • getWeldingSoundMod

      public float getWeldingSoundMod()
      Specified by:
      getWeldingSoundMod in interface ILuaGameCharacter
    • getBarricadeTimeMod

      public float getBarricadeTimeMod()
    • getMetalBarricadeStrengthMod

      public float getMetalBarricadeStrengthMod()
    • getBarricadeStrengthMod

      public float getBarricadeStrengthMod()
    • getSneakSpotMod

      public float getSneakSpotMod()
    • getNimbleMod

      public float getNimbleMod()
    • getFatigueMod

      public float getFatigueMod()
      Specified by:
      getFatigueMod in interface ILuaGameCharacterHealth
    • getLightfootMod

      public float getLightfootMod()
    • getPacingMod

      public float getPacingMod()
    • getHyperthermiaMod

      public float getHyperthermiaMod()
    • getHittingMod

      public float getHittingMod()
    • getShovingMod

      public float getShovingMod()
    • getRecoveryMod

      public float getRecoveryMod()
    • getWeightMod

      public float getWeightMod()
    • getHitChancesMod

      public int getHitChancesMod()
    • getSprintMod

      public float getSprintMod()
    • getPerkLevel

      public int getPerkLevel(PerkFactory.Perk perks)
      Specified by:
      getPerkLevel in interface ILuaGameCharacter
    • setPerkLevelDebug

      public void setPerkLevelDebug(PerkFactory.Perk perks, int level)
      Specified by:
      setPerkLevelDebug in interface ILuaGameCharacter
    • LoseLevel

      public void LoseLevel(PerkFactory.Perk perk)
      Specified by:
      LoseLevel in interface ILuaGameCharacter
    • LevelPerk

      public void LevelPerk(PerkFactory.Perk perk, boolean removePick)
      Specified by:
      LevelPerk in interface ILuaGameCharacter
    • LevelPerk

      public void LevelPerk(PerkFactory.Perk perk)
      Specified by:
      LevelPerk in interface ILuaGameCharacter
    • level0

      public void level0(PerkFactory.Perk perk)
    • getLastKnownLocationOf

      public IsoGameCharacter.Location getLastKnownLocationOf(String character)
    • ReadLiterature

      public void ReadLiterature(Literature literature)
      Specified by:
      ReadLiterature in interface ILuaGameCharacter
    • OnDeath

      public void OnDeath()
    • splatBloodFloorBig

      public void splatBloodFloorBig()
    • splatBloodFloor

      public void splatBloodFloor()
    • getThreatLevel

      public int getThreatLevel()
    • isDead

      public boolean isDead()
    • isAlive

      public boolean isAlive()
    • isEditingRagdoll

      public boolean isEditingRagdoll()
    • setEditingRagdoll

      public void setEditingRagdoll(boolean value)
    • isRagdoll

      public boolean isRagdoll()
    • isFullyRagdolling

      public boolean isFullyRagdolling()
    • setRagdollFall

      public void setRagdollFall(boolean value)
    • isRagdollFall

      public boolean isRagdollFall()
    • isVehicleCollision

      public boolean isVehicleCollision()
    • setVehicleCollision

      public void setVehicleCollision(boolean value)
    • useRagdollVehicleCollision

      public boolean useRagdollVehicleCollision()
    • isUpright

      public boolean isUpright()
    • isOnBack

      public boolean isOnBack()
    • usePhysicHitReaction

      public boolean usePhysicHitReaction()
    • setUsePhysicHitReaction

      public void setUsePhysicHitReaction(boolean usePhysicHitReaction)
    • isRagdollSimulationActive

      public boolean isRagdollSimulationActive()
    • Seen

      public void Seen(Stack<IsoMovingObject> seenList)
    • CanSee

      public boolean CanSee(IsoMovingObject obj)
    • CanSee

      public boolean CanSee(IsoObject obj)
    • getLowDangerInVicinity

      public IsoGridSquare getLowDangerInVicinity(int attempts, int range)
    • hasEquipped

      public boolean hasEquipped(String string)
      Specified by:
      hasEquipped in interface ILuaGameCharacter
    • hasEquippedTag

      public boolean hasEquippedTag(ItemTag itemTag)
      Specified by:
      hasEquippedTag in interface ILuaGameCharacter
    • hasWornTag

      public boolean hasWornTag(ItemTag itemTag)
      Specified by:
      hasWornTag in interface ILuaGameCharacter
    • setForwardIsoDirection

      public void setForwardIsoDirection(IsoDirections directions)
      Specified by:
      setForwardIsoDirection in interface ILuaIsoObject
      Overrides:
      setForwardIsoDirection in class IsoObject
    • setForwardDirectionFromIsoDirection

      public void setForwardDirectionFromIsoDirection()
    • setForwardDirectionFromAnimAngle

      public void setForwardDirectionFromAnimAngle()
    • Callout

      public void Callout(boolean doAnim)
    • Callout

      public void Callout()
      Specified by:
      Callout in interface ILuaGameCharacter
    • load

      public void load(ByteBuffer input, int worldVersion, boolean isDebugSave) throws IOException
      Overrides:
      load in class IsoMovingObject
      Throws:
      IOException
    • getDescription

      public String getDescription(String separatorStr)
      Overrides:
      getDescription in class IsoMovingObject
    • save

      public void save(ByteBuffer output, boolean isDebugSave) throws IOException
      Overrides:
      save in class IsoMovingObject
      Throws:
      IOException
    • getChatElement

      public ChatElement getChatElement()
    • StartAction

      public void StartAction(BaseAction act)
      Specified by:
      StartAction in interface ILuaGameCharacter
    • QueueAction

      public void QueueAction(BaseAction act)
    • StopAllActionQueue

      public void StopAllActionQueue()
      Specified by:
      StopAllActionQueue in interface ILuaGameCharacter
    • StopAllActionQueueRunning

      public void StopAllActionQueueRunning()
    • StopAllActionQueueAiming

      public void StopAllActionQueueAiming()
    • StopAllActionQueueWalking

      public void StopAllActionQueueWalking()
    • GetAnimSetName

      public String GetAnimSetName()
      Specified by:
      GetAnimSetName in interface IAnimatable
    • SleepingTablet

      public void SleepingTablet(float sleepingTabletDelta)
    • BetaBlockers

      public void BetaBlockers(float delta)
    • BetaAntiDepress

      public void BetaAntiDepress(float delta)
    • PainMeds

      public void PainMeds(float delta)
    • initSpritePartsEmpty

      public void initSpritePartsEmpty()
      Specified by:
      initSpritePartsEmpty in interface ILuaGameCharacter
    • InitSpriteParts

      public void InitSpriteParts(SurvivorDesc desc)
    • hasTrait

      public boolean hasTrait(CharacterTrait characterTrait)
      Specified by:
      hasTrait in interface ILuaGameCharacter
    • hasTrait

      public boolean hasTrait(CharacterTrait... characterTrait)
    • ApplyInBedOffset

      public void ApplyInBedOffset(boolean apply)
    • Dressup

      public void Dressup(SurvivorDesc desc)
      Specified by:
      Dressup in interface ILuaGameCharacterClothing
    • setPathSpeed

      public void setPathSpeed(float speed)
    • PlayAnim

      public void PlayAnim(String string)
      Specified by:
      PlayAnim in interface ILuaGameCharacter
    • PlayAnimWithSpeed

      public void PlayAnimWithSpeed(String string, float framesSpeedPerFrame)
      Specified by:
      PlayAnimWithSpeed in interface ILuaGameCharacter
    • PlayAnimUnlooped

      public void PlayAnimUnlooped(String string)
      Specified by:
      PlayAnimUnlooped in interface ILuaGameCharacter
    • DirectionFromVector

      public void DirectionFromVector(Vector2 vecA)
    • DoFootstepSound

      public void DoFootstepSound(String type)
    • DoFootstepSound

      public void DoFootstepSound(float volume)
    • Eat

      public boolean Eat(InventoryItem info, float percentage)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • EatOnClient

      public boolean EatOnClient(InventoryItem info, float percentage)
    • Eat

      public boolean Eat(InventoryItem info, float percentage, boolean useUtensil)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • Eat

      public boolean Eat(InventoryItem info)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info, float percentage)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info, float percentage, boolean useUtensil)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(FluidContainer fluidCont, float percentage)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(FluidContainer fluidCont, float percentage, boolean useUtensil)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • FireCheck

      public void FireCheck()
    • getPrimaryHandType

      public String getPrimaryHandType()
    • getChestHeight

      public float getChestHeight()
    • getAimOriginPosX

      public float getAimOriginPosX()
    • getAimOriginPosY

      public float getAimOriginPosY()
    • getAimOriginPosZ

      public float getAimOriginPosZ()
    • getGlobalMovementMod

      public float getGlobalMovementMod(boolean bDoNoises)
      Overrides:
      getGlobalMovementMod in class IsoMovingObject
    • getMovementSpeed

      public float getMovementSpeed()
    • getSecondaryHandType

      public String getSecondaryHandType()
    • HasItem

      public boolean HasItem(String string)
    • changeState

      public void changeState(State state)
      Specified by:
      changeState in interface IStateCharacter
    • getCurrentState

      public State getCurrentState()
      Specified by:
      getCurrentState in interface IStateCharacter
    • isCurrentState

      public boolean isCurrentState(State state)
      Specified by:
      isCurrentState in interface IStateCharacter
    • isCurrentGameClientState

      public boolean isCurrentGameClientState(State state)
    • set

      public <T> void set(State.Param<T> state, T value)
    • get

      public <T> T get(State.Param<T> state)
    • get

      public <T> T get(State.Param<T> state, T defaultT)
    • remove

      public <T> T remove(State.Param<T> state)
    • clear

      public void clear(State state)
    • clear

      public void clear(Class<? extends State> clazz)
    • getStateMachineParams

      public Map<State.Param<?>, Object> getStateMachineParams(Class<?> clazz)
    • setStateMachineLocked

      public void setStateMachineLocked(boolean val)
    • Hit

      public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
      Overrides:
      Hit in class IsoMovingObject
    • Hit

      public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta, boolean bRemote)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
    • processHitDamage

      public float processHitDamage(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
    • hitConsequences

      public void hitConsequences(HandWeapon weapon, IsoGameCharacter wielder, boolean bIgnoreDamage, float damage, boolean bRemote)
    • IsAttackRange

      public boolean IsAttackRange(float x, float y, float z)
    • isMeleeAttackRange

      public boolean isMeleeAttackRange(HandWeapon handWeapon, IsoMovingObject isoMovingObject, Vector3 bonePos)
    • IsSpeaking

      public boolean IsSpeaking()
      Specified by:
      IsSpeaking in interface ILuaGameCharacter
      Specified by:
      IsSpeaking in interface Talker
    • IsSpeakingNPC

      public boolean IsSpeakingNPC()
    • MoveForward

      public void MoveForward(float dist, float x, float y, float soundDelta)
    • pathToCharacter

      public void pathToCharacter(IsoGameCharacter target)
    • pathToLocation

      public void pathToLocation(int x, int y, int z)
      Specified by:
      pathToLocation in interface ILuaGameCharacter
    • pathToLocationF

      public void pathToLocationF(float x, float y, float z)
      Specified by:
      pathToLocationF in interface ILuaGameCharacter
    • pathToSound

      public void pathToSound(int x, int y, int z)
    • CanAttack

      public boolean CanAttack()
    • isEnduranceSufficientForAction

      public boolean isEnduranceSufficientForAction()
      Specified by:
      isEnduranceSufficientForAction in interface ILuaGameCharacter
    • ReduceHealthWhenBurning

      public void ReduceHealthWhenBurning()
    • DrawSneezeText

      @Deprecated public void DrawSneezeText()
      Deprecated.
    • getSpriteDef

      public IsoSpriteInstance getSpriteDef()
      Specified by:
      getSpriteDef in interface ILuaGameCharacter
    • render

      public void render(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader)
      Specified by:
      render in interface IsoRenderable
      Overrides:
      render in class IsoObject
    • renderServerGUI

      public void renderServerGUI()
    • isSeatedInVehicle

      public boolean isSeatedInVehicle()
    • renderObjectPicker

      public void renderObjectPicker(float x, float y, float z, ColorInfo lightInfo)
      Overrides:
      renderObjectPicker in class IsoObject
    • calculateShadowParams

      public ShadowParams calculateShadowParams(ShadowParams sp)
    • calculateShadowParams

      public static ShadowParams calculateShadowParams(AnimationPlayer animationPlayer, float animalSize, boolean bRagdoll, ShadowParams sp)
    • renderShadow

      public void renderShadow(float x, float y, float z)
    • checkUpdateModelTextures

      public void checkUpdateModelTextures()
    • isMaskClicked

      public boolean isMaskClicked(int x, int y, boolean flip)
      Overrides:
      isMaskClicked in class IsoObject
    • setHaloNote

      public void setHaloNote(String str)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • setHaloNote

      public void setHaloNote(String str, float dispTime)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • setHaloNote

      public void setHaloNote(String str, int r, int g, int b, float dispTime)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • transmitHaloNote

      public void transmitHaloNote(String str)
      Specified by:
      transmitHaloNote in interface ILuaGameCharacter
    • transmitHaloNote

      public void transmitHaloNote(String str, float dispTime)
      Specified by:
      transmitHaloNote in interface ILuaGameCharacter
    • transmitHaloNote

      public void transmitHaloNote(String str, int r, int g, int b, float dispTime)
      Specified by:
      transmitHaloNote in interface ILuaGameCharacter
    • getHaloTimerCount

      public float getHaloTimerCount()
    • DoSneezeText

      public void DoSneezeText()
    • getSayLine

      public String getSayLine()
      Specified by:
      getSayLine in interface Talker
    • setSayLine

      public void setSayLine(String sayLine)
    • getLastChatMessage

      public ChatMessage getLastChatMessage()
    • setLastChatMessage

      public void setLastChatMessage(ChatMessage lastChatMessage)
    • getLastSpokenLine

      public String getLastSpokenLine()
    • setLastSpokenLine

      public void setLastSpokenLine(String line)
    • SayDebug

      public void SayDebug(String text)
    • SayDebug

      public void SayDebug(int n, String text)
    • getMaxChatLines

      public int getMaxChatLines()
    • Say

      public void Say(String line)
      Specified by:
      Say in interface ILuaGameCharacter
      Specified by:
      Say in interface Talker
    • Say

      public void Say(String line, float r, float g, float b, UIFont font, float baseRange, String customTag)
      Specified by:
      Say in interface ILuaGameCharacter
    • SayWhisper

      public void SayWhisper(String line)
    • SayShout

      public void SayShout(String line)
    • SayRadio

      public void SayRadio(String line, float r, float g, float b, UIFont font, float baseRange, int channel, String customTag)
    • addLineChatElement

      public void addLineChatElement(String line)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b, UIFont font, float baseRange, String customTag)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b, UIFont font, float baseRange, String customTag, boolean bbcode, boolean img, boolean icons, boolean colors, boolean fonts, boolean equalizeHeights)
    • getUserNameHeight

      public int getUserNameHeight()
    • updateTextObjects

      public void updateTextObjects()
    • getNameCoords

      public static void getNameCoords(float x, float y, float z, float offX, float offY, float zoom, Vector2 coord)
    • renderlast

      public void renderlast()
      Overrides:
      renderlast in class IsoMovingObject
    • drawLine

      public void drawLine(Vector2 startPos, Vector2 dir, float length, float r, float g, float b)
    • calcCarForwardVector

      public Vector2 calcCarForwardVector()
    • carMovingBackward

      public boolean carMovingBackward(Vector2 carSpeed)
    • calcCarPositionOffset

      public Vector2 calcCarPositionOffset(boolean movingBackward)
    • calcLengthMultiplier

      public float calcLengthMultiplier(Vector2 carSpeed, boolean movingBackward)
    • calcCarSpeedVector

      public Vector2 calcCarSpeedVector(Vector2 offset)
    • calcCarSpeedVector

      public Vector2 calcCarSpeedVector()
    • calcCarToPlayerVector

      public Vector2 calcCarToPlayerVector(IsoGameCharacter target, Vector2 offset)
    • calcCarToPlayerVector

      public Vector2 calcCarToPlayerVector(IsoGameCharacter target)
    • calcConeAngleOffset

      public float calcConeAngleOffset(IsoGameCharacter target, boolean movingBackward)
    • calcConeAngleMultiplier

      public float calcConeAngleMultiplier(IsoGameCharacter target, boolean movingBackward)
    • drawDirectionLine

      public void drawDirectionLine(Vector2 dir, float length, float r, float g, float b)
    • drawDirectionLine

      public void drawDirectionLine(Vector3 dir, float length, float r, float g, float b)
    • drawDebugTextBelow

      public void drawDebugTextBelow(String text)
    • getEquipedRadio

      public Radio getEquipedRadio()
    • setDefaultState

      public void setDefaultState()
    • SetOnFire

      public void SetOnFire()
    • StopBurning

      public void StopBurning()
      Specified by:
      StopBurning in interface ILuaGameCharacterDamage
    • SpreadFireMP

      public void SpreadFireMP()
    • SpreadFire

      public void SpreadFire()
    • Throw

      public void Throw(HandWeapon weapon)
    • helmetFall

      public boolean helmetFall(boolean hitHead)
    • smashCarWindow

      public void smashCarWindow(VehiclePart part)
      Specified by:
      smashCarWindow in interface ILuaGameCharacter
    • smashWindow

      public void smashWindow(IsoWindow w)
      Specified by:
      smashWindow in interface ILuaGameCharacter
    • openWindow

      public void openWindow(IsoWindow w)
      Specified by:
      openWindow in interface ILuaGameCharacter
    • closeWindow

      public void closeWindow(IsoWindow w)
      Specified by:
      closeWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoWindow w)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoWindow w, Integer startingFrame)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • isClosingWindow

      public boolean isClosingWindow(IsoWindow window)
    • isClimbingThroughWindow

      public boolean isClimbingThroughWindow(IsoWindow window)
    • climbThroughWindowFrame

      public void climbThroughWindowFrame(IsoWindowFrame windowFrame)
      Specified by:
      climbThroughWindowFrame in interface ILuaGameCharacter
    • climbSheetRope

      public void climbSheetRope()
      Specified by:
      climbSheetRope in interface ILuaGameCharacter
    • climbDownSheetRope

      public void climbDownSheetRope()
      Specified by:
      climbDownSheetRope in interface ILuaGameCharacter
    • canClimbSheetRope

      public boolean canClimbSheetRope(IsoGridSquare sq)
      Specified by:
      canClimbSheetRope in interface ILuaGameCharacter
    • canClimbDownSheetRopeInCurrentSquare

      public boolean canClimbDownSheetRopeInCurrentSquare()
      Specified by:
      canClimbDownSheetRopeInCurrentSquare in interface ILuaGameCharacter
    • canClimbDownSheetRope

      public boolean canClimbDownSheetRope(IsoGridSquare sq)
      Specified by:
      canClimbDownSheetRope in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoThumpable w)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoThumpable w, Integer startingFrame)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbOverFence

      public void climbOverFence(IsoDirections dir)
      Specified by:
      climbOverFence in interface ILuaGameCharacter
    • isAboveTopOfStairs

      public boolean isAboveTopOfStairs()
      Specified by:
      isAboveTopOfStairs in interface ILuaGameCharacter
    • throwGrappledTargetOutWindow

      public void throwGrappledTargetOutWindow(IsoObject windowObject)
    • throwGrappledOverFence

      public void throwGrappledOverFence(IsoObject hoppableObject, IsoDirections dir)
    • throwGrappledIntoInventory

      public void throwGrappledIntoInventory(ItemContainer targetContainer)
    • pickUpCorpseItem

      public void pickUpCorpseItem(InventoryItem item)
    • pickUpCorpse

      public void pickUpCorpse(IsoDeadBody body, String dragType)
    • calculateGrappleEffectivenessFromTraits

      public float calculateGrappleEffectivenessFromTraits()
    • preupdate

      public void preupdate()
      Overrides:
      preupdate in class IsoMovingObject
    • allowsInvisibleAnimationSkips

      public boolean allowsInvisibleAnimationSkips()
    • updateHandEquips

      public void updateHandEquips()
    • update

      public void update()
      Overrides:
      update in class IsoMovingObject
    • isPushedByForSeparate

      public boolean isPushedByForSeparate(IsoMovingObject other)
      Overrides:
      isPushedByForSeparate in class IsoMovingObject
    • setHitDir

      public void setHitDir(Vector2 hitDir)
      Overrides:
      setHitDir in class IsoMovingObject
    • getMinimumSimulationLevel

      public UpdateSchedulerSimulationLevel getMinimumSimulationLevel()
      Overrides:
      getMinimumSimulationLevel in class IsoMovingObject
    • getHitDirEnum

      public HitDirEnum getHitDirEnum()
    • getHoursSurvived

      public double getHoursSurvived()
      Specified by:
      getHoursSurvived in interface ILuaGameCharacter
    • shouldSnapZToCurrentSquare

      public boolean shouldSnapZToCurrentSquare()
      Overrides:
      shouldSnapZToCurrentSquare in class IsoMovingObject
    • shouldBeFalling

      public boolean shouldBeFalling()
    • getHeightAboveFloor

      public float getHeightAboveFloor()
    • calculateBaseSpeed

      public float calculateBaseSpeed()
    • calculateCombatSpeed

      public float calculateCombatSpeed()
    • updateSpeedModifiers

      public void updateSpeedModifiers()
    • updateDiscomfortModifiers

      public void updateDiscomfortModifiers()
    • DoFloorSplat

      public void DoFloorSplat(IsoGridSquare sq, String id, boolean bFlip, float offZ, float alpha)
    • onMouseLeftClick

      public boolean onMouseLeftClick(int x, int y)
      Overrides:
      onMouseLeftClick in class IsoObject
    • faceDirection

      public void faceDirection(IsoDirections dir)
    • faceLocation

      public final boolean faceLocation(float x, float y)
    • faceLocationF

      public boolean faceLocationF(float x, float y)
    • isFacingLocation

      public boolean isFacingLocation(float x, float y, float dot)
    • isFacingObject

      public boolean isFacingObject(IsoObject object, float dot)
    • splatBlood

      public void splatBlood(int dist, float alpha)
    • isOutside

      public boolean isOutside()
      Specified by:
      isOutside in interface ILuaGameCharacter
      Overrides:
      isOutside in class GameEntity
    • isFemale

      public final boolean isFemale()
      Specified by:
      isFemale in interface ILuaGameCharacter
    • setFemale

      public final void setFemale(boolean isFemale)
      Specified by:
      setFemale in interface ILuaGameCharacter
    • setCharacterGender

      public final void setCharacterGender(CharacterGender characterGender)
    • getCharacterGender

      public final CharacterGender getCharacterGender()
    • isZombie

      public boolean isZombie()
      Specified by:
      isZombie in interface ILuaGameCharacter
      Overrides:
      isZombie in class IsoObject
    • getLastHitCount

      public int getLastHitCount()
      Specified by:
      getLastHitCount in interface ILuaGameCharacterDamage
    • setLastHitCount

      public void setLastHitCount(int hitCount)
      Specified by:
      setLastHitCount in interface ILuaGameCharacterDamage
    • getSurvivorKills

      public int getSurvivorKills()
    • setSurvivorKills

      public void setSurvivorKills(int survivorKills)
    • getAge

      public int getAge()
    • setAge

      public void setAge(int age)
    • exert

      public void exert(float f)
    • getPerkInfo

      public IsoGameCharacter.PerkInfo getPerkInfo(PerkFactory.Perk perk)
      Specified by:
      getPerkInfo in interface ILuaGameCharacter
    • isEquipped

      public boolean isEquipped(InventoryItem item)
      Specified by:
      isEquipped in interface ILuaGameCharacter
    • isEquippedClothing

      public boolean isEquippedClothing(InventoryItem item)
      Specified by:
      isEquippedClothing in interface ILuaGameCharacter
    • isAttachedItem

      public boolean isAttachedItem(InventoryItem item)
      Specified by:
      isAttachedItem in interface ILuaGameCharacter
    • faceThisObject

      public void faceThisObject(IsoObject object)
      Specified by:
      faceThisObject in interface ILuaGameCharacter
    • facePosition

      public void facePosition(int x, int y)
      Specified by:
      facePosition in interface ILuaGameCharacter
    • faceThisObjectAlt

      public void faceThisObjectAlt(IsoObject object)
      Specified by:
      faceThisObjectAlt in interface ILuaGameCharacter
    • setAnimated

      public void setAnimated(boolean b)
    • playHurtSound

      public long playHurtSound()
    • playDeadSound

      public void playDeadSound()
    • saveChange

      public void saveChange(IsoObjectChange change, se.krka.kahlua.vm.KahluaTable tbl, ByteBufferWriter bb)
      Overrides:
      saveChange in class IsoObject
    • loadChange

      public void loadChange(IsoObjectChange change, ByteBufferReader bb)
      Overrides:
      loadChange in class IsoObject
    • getAlreadyReadPages

      public int getAlreadyReadPages(String fullType)
      Specified by:
      getAlreadyReadPages in interface ILuaGameCharacter
    • setAlreadyReadPages

      public void setAlreadyReadPages(String fullType, int pages)
      Specified by:
      setAlreadyReadPages in interface ILuaGameCharacter
    • updateLightInfo

      public void updateLightInfo()
    • initLightInfo2

      public IsoGameCharacter.LightInfo initLightInfo2()
    • getLightInfo2

      public IsoGameCharacter.LightInfo getLightInfo2()
    • postupdate

      public void postupdate()
      Overrides:
      postupdate in class IsoMovingObject
    • getAnimationTimeDelta

      public float getAnimationTimeDelta()
      Specified by:
      getAnimationTimeDelta in interface ILuaGameCharacter
    • updateForServerGui

      public void updateForServerGui()
    • isAnimationUpdatingThisFrame

      public boolean isAnimationUpdatingThisFrame()
    • clearHitInfo

      public void clearHitInfo()
    • shouldBeTurning

      public boolean shouldBeTurning()
    • shouldBeTurning90

      public boolean shouldBeTurning90()
    • shouldBeTurningAround

      public boolean shouldBeTurningAround()
    • isTurning

      public boolean isTurning()
    • isTurningAround

      public boolean isTurningAround()
    • isTurning90

      public boolean isTurning90()
    • hasPath

      public boolean hasPath()
    • getMeleeDelay

      public float getMeleeDelay()
      Specified by:
      getMeleeDelay in interface ILuaGameCharacter
    • setMeleeDelay

      public void setMeleeDelay(float delay)
      Specified by:
      setMeleeDelay in interface ILuaGameCharacter
    • getRecoilDelay

      public float getRecoilDelay()
      Specified by:
      getRecoilDelay in interface ILuaGameCharacter
    • setRecoilDelay

      public void setRecoilDelay(float recoilDelay)
      Specified by:
      setRecoilDelay in interface ILuaGameCharacter
    • getAimingDelay

      public float getAimingDelay()
    • setAimingDelay

      public void setAimingDelay(float aimingDelay)
    • resetAimingDelay

      public void resetAimingDelay()
    • updateAimingDelay

      public void updateAimingDelay()
    • getBeenMovingFor

      public float getBeenMovingFor()
    • setBeenMovingFor

      public void setBeenMovingFor(float beenMovingFor)
    • getClickSound

      public String getClickSound()
    • setClickSound

      public void setClickSound(String clickSound)
    • getMeleeCombatMod

      public int getMeleeCombatMod()
    • getWeaponLevel

      public int getWeaponLevel()
      Specified by:
      getWeaponLevel in interface ILuaGameCharacter
    • getWeaponLevel

      public int getWeaponLevel(HandWeapon weapon)
      Specified by:
      getWeaponLevel in interface ILuaGameCharacter
    • getMaintenanceMod

      public int getMaintenanceMod()
      Specified by:
      getMaintenanceMod in interface ILuaGameCharacter
    • getVehicle

      public BaseVehicle getVehicle()
      Specified by:
      getVehicle in interface ILuaGameCharacter
    • setVehicle

      public void setVehicle(BaseVehicle v)
      Specified by:
      setVehicle in interface ILuaGameCharacter
    • isUnderVehicle

      public boolean isUnderVehicle()
    • isUnderVehicleRadius

      public boolean isUnderVehicleRadius(float radius)
    • isBeingSteppedOn

      public boolean isBeingSteppedOn()
    • getReduceInfectionPower

      public float getReduceInfectionPower()
      Specified by:
      getReduceInfectionPower in interface ILuaGameCharacterHealth
    • setReduceInfectionPower

      public void setReduceInfectionPower(float reduceInfectionPower)
      Specified by:
      setReduceInfectionPower in interface ILuaGameCharacterHealth
    • getInventoryWeight

      public float getInventoryWeight()
      Specified by:
      getInventoryWeight in interface ILuaGameCharacter
    • dropHandItems

      public void dropHandItems()
    • dropHeldItems

      public void dropHeldItems(int x, int y, int z, boolean heavy, boolean isThrow)
    • shouldBecomeZombieAfterDeath

      public boolean shouldBecomeZombieAfterDeath()
    • modifyTraitXPBoost

      public void modifyTraitXPBoost(CharacterTrait characterTrait, boolean isRemovingTrait)
      Specified by:
      modifyTraitXPBoost in interface ILuaGameCharacter
    • modifyTraitXPBoost

      public void modifyTraitXPBoost(CharacterTraitDefinition trait, boolean isRemovingTrait)
      Specified by:
      modifyTraitXPBoost in interface ILuaGameCharacter
    • applyTraits

      public void applyTraits(List<CharacterTrait> luaTraits)
    • applyProfessionRecipes

      public void applyProfessionRecipes()
    • applyCharacterTraitsRecipes

      public void applyCharacterTraitsRecipes()
    • createKeyRing

      public InventoryItem createKeyRing()
    • createKeyRing

      public InventoryItem createKeyRing(ItemKey itemKey)
    • autoDrink

      public void autoDrink()
    • getWaterSource

      public InventoryItem getWaterSource(ArrayList<InventoryItem> items)
    • getKnownRecipes

      public List<String> getKnownRecipes()
      Specified by:
      getKnownRecipes in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(Recipe recipe)
      Specified by:
      isRecipeKnown in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(CraftRecipe recipe)
    • isRecipeKnown

      public boolean isRecipeKnown(CraftRecipe recipe, boolean ignoreSandbox)
    • isRecipeKnown

      public boolean isRecipeKnown(String name)
      Specified by:
      isRecipeKnown in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(String name, boolean ignoreSandbox)
    • isRecipeActuallyKnown

      public boolean isRecipeActuallyKnown(CraftRecipe recipe)
    • isRecipeActuallyKnown

      public boolean isRecipeActuallyKnown(String name)
    • learnRecipe

      public boolean learnRecipe(String name)
    • learnRecipe

      public boolean learnRecipe(String name, boolean checkMetaRecipe)
    • addKnownMediaLine

      public void addKnownMediaLine(String guid)
      Specified by:
      addKnownMediaLine in interface ILuaGameCharacter
    • removeKnownMediaLine

      public void removeKnownMediaLine(String guid)
      Specified by:
      removeKnownMediaLine in interface ILuaGameCharacter
    • clearKnownMediaLines

      public void clearKnownMediaLines()
      Specified by:
      clearKnownMediaLines in interface ILuaGameCharacter
    • isKnownMediaLine

      public boolean isKnownMediaLine(String guid)
      Specified by:
      isKnownMediaLine in interface ILuaGameCharacter
    • isMoving

      public boolean isMoving()
      Specified by:
      isMoving in interface IGrappleable
    • isBehaviourMoving

      public boolean isBehaviourMoving()
    • isPlayerMoving

      public boolean isPlayerMoving()
    • setMoving

      public void setMoving(boolean val)
    • isAttacking

      public boolean isAttacking()
    • isZombieAttacking

      public boolean isZombieAttacking()
    • isZombieAttacking

      public boolean isZombieAttacking(IsoMovingObject other)
    • compareMovePriority

      public int compareMovePriority(IsoGameCharacter other)
    • playSound

      public long playSound(String file)
      Specified by:
      playSound in interface ILuaGameCharacter
    • playSoundLocal

      public long playSoundLocal(String file)
      Specified by:
      playSoundLocal in interface ILuaGameCharacter
    • stopOrTriggerSound

      public void stopOrTriggerSound(long eventInstance)
      Specified by:
      stopOrTriggerSound in interface ILuaGameCharacter
    • playDropItemSound

      public long playDropItemSound(InventoryItem item)
    • playWeaponHitArmourSound

      public long playWeaponHitArmourSound(int partIndex, boolean bullet)
    • addWorldSoundUnlessInvisible

      public void addWorldSoundUnlessInvisible(int radius, int volume, boolean bStressHumans)
      Specified by:
      addWorldSoundUnlessInvisible in interface ILuaGameCharacter
    • isKnownPoison

      public boolean isKnownPoison(InventoryItem item)
      Specified by:
      isKnownPoison in interface ILuaGameCharacter
    • isKnownPoison

      public boolean isKnownPoison(Item item)
      Specified by:
      isKnownPoison in interface ILuaGameCharacter
    • getLastHourSleeped

      public int getLastHourSleeped()
      Specified by:
      getLastHourSleeped in interface ILuaGameCharacterHealth
    • setLastHourSleeped

      public void setLastHourSleeped(int lastHourSleeped)
      Specified by:
      setLastHourSleeped in interface ILuaGameCharacterHealth
    • setTimeOfSleep

      public void setTimeOfSleep(float timeOfSleep)
      Specified by:
      setTimeOfSleep in interface ILuaGameCharacterHealth
    • setDelayToSleep

      public void setDelayToSleep(float delay)
    • getBedType

      public String getBedType()
      Specified by:
      getBedType in interface ILuaGameCharacter
    • setBedType

      public void setBedType(String bedType)
      Specified by:
      setBedType in interface ILuaGameCharacter
    • enterVehicle

      public void enterVehicle(BaseVehicle v, int seat, org.joml.Vector3f offset)
    • Hit

      public float Hit(BaseVehicle vehicle, float speed, boolean isHitFromBehind, float hitDirX, float hitDirY, boolean pushedBack, float collisionPosOnVehicleX, float collisionPosOnVehicleY)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
    • getPath2

      public Path getPath2()
      Specified by:
      getPath2 in interface ILuaGameCharacter
    • setPath2

      public void setPath2(Path path)
      Specified by:
      setPath2 in interface ILuaGameCharacter
    • getPathFindBehavior2

      public PathFindBehavior2 getPathFindBehavior2()
      Specified by:
      getPathFindBehavior2 in interface ILuaGameCharacter
    • getMapKnowledge

      public MapKnowledge getMapKnowledge()
    • getBed

      public IsoObject getBed()
      Specified by:
      getBed in interface ILuaGameCharacter
    • setBed

      public void setBed(IsoObject bed)
      Specified by:
      setBed in interface ILuaGameCharacter
    • avoidDamage

      public boolean avoidDamage()
    • setAvoidDamage

      public void setAvoidDamage(boolean avoid)
    • isReading

      public boolean isReading()
      Specified by:
      isReading in interface ILuaGameCharacter
    • setReading

      public void setReading(boolean isReading)
      Specified by:
      setReading in interface ILuaGameCharacter
    • getTimeSinceLastSmoke

      public float getTimeSinceLastSmoke()
      Specified by:
      getTimeSinceLastSmoke in interface ILuaGameCharacter
    • setTimeSinceLastSmoke

      public void setTimeSinceLastSmoke(float timeSinceLastSmoke)
      Specified by:
      setTimeSinceLastSmoke in interface ILuaGameCharacter
    • isInvisible

      public boolean isInvisible()
      Specified by:
      isInvisible in interface ILuaGameCharacter
    • setInvisible

      public void setInvisible(boolean b)
      Specified by:
      setInvisible in interface ILuaGameCharacter
    • setInvisible

      public void setInvisible(boolean b, boolean isForced)
    • isCanUseBrushTool

      public boolean isCanUseBrushTool()
    • setCanUseBrushTool

      public void setCanUseBrushTool(boolean b)
    • canUseLootZed

      public boolean canUseLootZed()
    • setCanUseLootZed

      public void setCanUseLootZed(boolean b)
    • canUseLootLog

      public boolean canUseLootLog()
    • setCanUseLootLog

      public void setCanUseLootLog(boolean b)
    • canUseDebugContextMenu

      public boolean canUseDebugContextMenu()
    • setCanUseDebugContextMenu

      public void setCanUseDebugContextMenu(boolean b)
    • isDriving

      public boolean isDriving()
      Specified by:
      isDriving in interface ILuaGameCharacter
    • isInARoom

      public boolean isInARoom()
      Specified by:
      isInARoom in interface ILuaGameCharacter
    • isGodMod

      public boolean isGodMod()
      Specified by:
      isGodMod in interface ILuaGameCharacter
    • isInvulnerable

      public boolean isInvulnerable()
    • setInvulnerable

      public void setInvulnerable(boolean invulnerable)
    • setZombiesDontAttack

      public void setZombiesDontAttack(boolean b)
    • isZombiesDontAttack

      public boolean isZombiesDontAttack()
    • setGodMod

      public void setGodMod(boolean b, boolean isForced)
    • setGodMod

      public void setGodMod(boolean b)
      Specified by:
      setGodMod in interface ILuaGameCharacter
    • isUnlimitedCarry

      public boolean isUnlimitedCarry()
      Specified by:
      isUnlimitedCarry in interface ILuaGameCharacter
    • setUnlimitedCarry

      public void setUnlimitedCarry(boolean unlimitedCarry)
      Specified by:
      setUnlimitedCarry in interface ILuaGameCharacter
    • isBuildCheat

      public boolean isBuildCheat()
      Specified by:
      isBuildCheat in interface ILuaGameCharacter
    • setBuildCheat

      public void setBuildCheat(boolean buildCheat)
      Specified by:
      setBuildCheat in interface ILuaGameCharacter
    • isFarmingCheat

      public boolean isFarmingCheat()
      Specified by:
      isFarmingCheat in interface ILuaGameCharacter
    • setFarmingCheat

      public void setFarmingCheat(boolean b)
      Specified by:
      setFarmingCheat in interface ILuaGameCharacter
    • isFishingCheat

      public boolean isFishingCheat()
      Specified by:
      isFishingCheat in interface ILuaGameCharacter
    • setFishingCheat

      public void setFishingCheat(boolean b)
      Specified by:
      setFishingCheat in interface ILuaGameCharacter
    • isHealthCheat

      public boolean isHealthCheat()
      Specified by:
      isHealthCheat in interface ILuaGameCharacter
    • setHealthCheat

      public void setHealthCheat(boolean healthCheat)
      Specified by:
      setHealthCheat in interface ILuaGameCharacter
    • isMechanicsCheat

      public boolean isMechanicsCheat()
      Specified by:
      isMechanicsCheat in interface ILuaGameCharacter
    • setMechanicsCheat

      public void setMechanicsCheat(boolean mechanicsCheat)
      Specified by:
      setMechanicsCheat in interface ILuaGameCharacter
    • isFastMoveCheat

      public boolean isFastMoveCheat()
    • setFastMoveCheat

      public void setFastMoveCheat(boolean b)
    • isMovablesCheat

      public boolean isMovablesCheat()
      Specified by:
      isMovablesCheat in interface ILuaGameCharacter
    • setMovablesCheat

      public void setMovablesCheat(boolean b)
      Specified by:
      setMovablesCheat in interface ILuaGameCharacter
    • isAnimalCheat

      public boolean isAnimalCheat()
      Specified by:
      isAnimalCheat in interface ILuaGameCharacter
    • setAnimalCheat

      public void setAnimalCheat(boolean b)
      Specified by:
      setAnimalCheat in interface ILuaGameCharacter
    • isAnimalExtraValuesCheat

      public boolean isAnimalExtraValuesCheat()
      Specified by:
      isAnimalExtraValuesCheat in interface ILuaGameCharacter
    • setAnimalExtraValuesCheat

      public void setAnimalExtraValuesCheat(boolean b)
      Specified by:
      setAnimalExtraValuesCheat in interface ILuaGameCharacter
    • isAlwaysDayCheat

      public boolean isAlwaysDayCheat()
      Specified by:
      isAlwaysDayCheat in interface ILuaGameCharacter
    • setAlwaysDayCheat

      public void setAlwaysDayCheat(boolean b)
      Specified by:
      setAlwaysDayCheat in interface ILuaGameCharacter
    • isTimedActionInstantCheat

      public boolean isTimedActionInstantCheat()
      Specified by:
      isTimedActionInstantCheat in interface ILuaGameCharacter
    • setTimedActionInstantCheat

      public void setTimedActionInstantCheat(boolean b)
      Specified by:
      setTimedActionInstantCheat in interface ILuaGameCharacter
    • isTimedActionInstant

      public boolean isTimedActionInstant()
      Specified by:
      isTimedActionInstant in interface ILuaGameCharacter
    • isShowAdminTag

      public boolean isShowAdminTag()
      Specified by:
      isShowAdminTag in interface ILuaGameCharacter
    • setShowAdminTag

      public void setShowAdminTag(boolean showAdminTag)
      Specified by:
      setShowAdminTag in interface ILuaGameCharacter
    • isCheatSet

      public boolean isCheatSet(CheatType cheat)
    • getGameVariables

      public Iterable<IAnimationVariableSlot> getGameVariables()
      Specified by:
      getGameVariables in interface IAnimationVariableSource
      Specified by:
      getGameVariables in interface IAnimationVariableSourceContainer
    • getVariable

      public IAnimationVariableSlot getVariable(AnimationVariableHandle handle)
      Specified by:
      getVariable in interface IAnimationVariableSource
      Specified by:
      getVariable in interface IAnimationVariableSourceContainer
    • setVariable

      public void setVariable(IAnimationVariableSlot var)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, String value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, boolean value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, float value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariableEnum

      public <EnumType extends Enum<EnumType>> IAnimationVariableSlot setVariableEnum(String key, EnumType value)
      Specified by:
      setVariableEnum in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(AnimationVariableHandle handle, boolean value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • clearVariable

      public void clearVariable(String key)
      Specified by:
      clearVariable in interface IAnimationVariableMap
    • clearVariables

      public void clearVariables()
      Specified by:
      clearVariables in interface IAnimationVariableMap
    • getSubVariableSource

      public IAnimationVariableSource getSubVariableSource(String subVariableSourceName)
      Specified by:
      getSubVariableSource in interface IAnimationVariableSource
    • getGameVariablesInternal

      public AnimationVariableSource getGameVariablesInternal()
      Specified by:
      getGameVariablesInternal in interface IAnimationVariableRegistry
      Specified by:
      getGameVariablesInternal in interface IAnimationVariableSourceContainer
    • startPlaybackGameVariables

      public AnimationVariableSource startPlaybackGameVariables()
    • endPlaybackGameVariables

      public void endPlaybackGameVariables(AnimationVariableSource playbackVars)
    • playbackSetCurrentStateSnapshot

      public void playbackSetCurrentStateSnapshot(ActionStateSnapshot snapshot)
    • playbackRecordCurrentStateSnapshot

      public ActionStateSnapshot playbackRecordCurrentStateSnapshot()
    • GetVariable

      public String GetVariable(String key)
      Specified by:
      GetVariable in interface ILuaVariableSource
    • SetVariable

      public void SetVariable(String key, String value)
      Specified by:
      SetVariable in interface ILuaVariableSource
    • ClearVariable

      public void ClearVariable(String key)
      Specified by:
      ClearVariable in interface ILuaVariableSource
    • actionStateChanged

      public void actionStateChanged(ActionContext sender)
      Specified by:
      actionStateChanged in interface IActionStateChanged
    • isFallOnFront

      public boolean isFallOnFront()
      Specified by:
      isFallOnFront in interface IGrappleable
    • setFallOnFront

      public void setFallOnFront(boolean fallOnFront)
      Specified by:
      setFallOnFront in interface IGrappleable
    • isHitFromBehind

      public boolean isHitFromBehind()
    • setHitFromBehind

      public void setHitFromBehind(boolean hitFromBehind)
    • isKilledBySlicingWeapon

      public boolean isKilledBySlicingWeapon()
    • testCollideWithVehicles

      public boolean testCollideWithVehicles(BaseVehicle vehicle, BaseVehicle.HitVars hitVars)
    • shouldBePushedBackByVehicleHit

      public boolean shouldBePushedBackByVehicleHit()
    • onHitByVehicle

      public float onHitByVehicle(BaseVehicle vehicle, float impactSpeed, Vector2 hitDir, Vector2 impactPosOnVehicle)
    • onHitByVehicleApplyDamage

      public float onHitByVehicleApplyDamage(BaseVehicle vehicle, float impactSpeed)
    • applyDamageFromVehicleHit

      public void applyDamageFromVehicleHit(BaseVehicle vehicle, float vehicleSpeed, float damage)
    • reportEvent

      public void reportEvent(String name)
      Specified by:
      reportEvent in interface ILuaGameCharacter
    • StartTimedActionAnim

      public void StartTimedActionAnim(String event)
      Specified by:
      StartTimedActionAnim in interface ILuaGameCharacter
    • StartTimedActionAnim

      public void StartTimedActionAnim(String event, String type)
      Specified by:
      StartTimedActionAnim in interface ILuaGameCharacter
    • StopTimedActionAnim

      public void StopTimedActionAnim()
      Specified by:
      StopTimedActionAnim in interface ILuaGameCharacter
    • hasHitReaction

      public boolean hasHitReaction()
    • getHitReaction

      public String getHitReaction()
    • setHitReaction

      public void setHitReaction(String hitReaction)
    • CacheEquipped

      public void CacheEquipped()
    • GetPrimaryEquippedCache

      public InventoryItem GetPrimaryEquippedCache()
    • GetSecondaryEquippedCache

      public InventoryItem GetSecondaryEquippedCache()
    • ClearEquippedCache

      public void ClearEquippedCache()
    • isObjectBehind

      public boolean isObjectBehind(IsoObject obj)
    • isBehind

      public boolean isBehind(IsoGameCharacter chr)
    • resetEquippedHandsModels

      public void resetEquippedHandsModels()
    • getDebugMonitor

      public AnimatorDebugMonitor getDebugMonitor()
      Specified by:
      getDebugMonitor in interface ILuaGameCharacter
    • setDebugMonitor

      public void setDebugMonitor(AnimatorDebugMonitor monitor)
      Specified by:
      setDebugMonitor in interface ILuaGameCharacter
    • isAimAtFloor

      public boolean isAimAtFloor()
    • setAimAtFloor

      public void setAimAtFloor(boolean aimAtFloor)
    • setAimAtFloor

      public void setAimAtFloor(boolean aimAtFloor, float targetDistance)
    • aimAtFloorTargetDistance

      public float aimAtFloorTargetDistance()
    • getAimAtFloorAmount

      public float getAimAtFloorAmount()
    • getCurrentVerticalAimAngle

      public float getCurrentVerticalAimAngle()
    • setCurrentVerticalAimAngle

      public void setCurrentVerticalAimAngle(float verticalAimAngleDegrees)
    • setTargetVerticalAimAngle

      public void setTargetVerticalAimAngle(float verticalAimAngleDegrees)
    • getTargetVerticalAimAngle

      public float getTargetVerticalAimAngle()
    • isDeferredMovementEnabled

      public boolean isDeferredMovementEnabled()
    • setDeferredMovementEnabled

      public void setDeferredMovementEnabled(boolean deferredMovementEnabled)
    • testDotSide

      public String testDotSide(IsoMovingObject target)
    • testDotSideEnum

      public Side testDotSideEnum(IsoMovingObject target)
    • addBasicPatch

      public void addBasicPatch(BloodBodyPartType part)
    • addHole

      public boolean addHole(BloodBodyPartType part)
      Specified by:
      addHole in interface ILuaGameCharacterDamage
    • addHole

      public boolean addHole(BloodBodyPartType part, boolean allLayers)
    • addDirt

      public void addDirt(BloodBodyPartType part, Integer nbr, boolean allLayers)
    • addLotsOfDirt

      public void addLotsOfDirt(BloodBodyPartType part, Integer nbr, boolean allLayers)
    • addBlood

      public void addBlood(BloodBodyPartType part, boolean scratched, boolean bitten, boolean allLayers)
      Specified by:
      addBlood in interface ILuaGameCharacterDamage
    • bodyPartIsSpiked

      public boolean bodyPartIsSpiked(Integer part)
    • bodyPartIsSpikedBehind

      public boolean bodyPartIsSpikedBehind(Integer part)
    • getBodyPartClothingDefense

      public float getBodyPartClothingDefense(Integer part, boolean bite, boolean bullet)
    • isBumped

      public boolean isBumped()
      Specified by:
      isBumped in interface ILuaGameCharacterDamage
    • isBumpDone

      public boolean isBumpDone()
    • setBumpDone

      public void setBumpDone(boolean val)
    • isBumpFall

      public boolean isBumpFall()
    • setBumpFall

      public void setBumpFall(boolean val)
    • isBumpStaggered

      public boolean isBumpStaggered()
    • setBumpStaggered

      public void setBumpStaggered(boolean val)
    • getBumpType

      public String getBumpType()
      Specified by:
      getBumpType in interface ILuaGameCharacterDamage
    • setBumpType

      public void setBumpType(String bumpType)
    • getBumpFallType

      public String getBumpFallType()
    • setBumpFallType

      public void setBumpFallType(String val)
    • getBumpedChr

      public IsoGameCharacter getBumpedChr()
    • setBumpedChr

      public void setBumpedChr(IsoGameCharacter bumpedChr)
    • getLastBump

      public long getLastBump()
    • setLastBump

      public void setLastBump(long lastBump)
    • postAnimationFinishing

      public void postAnimationFinishing(String state)
    • isSitOnGround

      public boolean isSitOnGround()
    • setSitOnGround

      public void setSitOnGround(boolean sitOnGround)
    • isSittingOnFurniture

      public boolean isSittingOnFurniture()
    • setSittingOnFurniture

      public void setSittingOnFurniture(boolean isSittingOnFurniture)
    • isSitting

      public boolean isSitting()
    • getSitOnFurnitureObject

      public IsoObject getSitOnFurnitureObject()
    • setSitOnFurnitureObject

      public void setSitOnFurnitureObject(IsoObject object)
    • getSitOnFurnitureDirection

      public IsoDirections getSitOnFurnitureDirection()
    • setSitOnFurnitureDirection

      public void setSitOnFurnitureDirection(IsoDirections dir)
    • isSitOnFurnitureObject

      public boolean isSitOnFurnitureObject(IsoObject object)
    • shouldIgnoreCollisionWithSquare

      public boolean shouldIgnoreCollisionWithSquare(IsoGridSquare square)
      Overrides:
      shouldIgnoreCollisionWithSquare in class IsoMovingObject
    • canStandAt

      public boolean canStandAt(float x, float y, float z)
    • tryGetAIState

      public State tryGetAIState(String stateName)
    • isRunning

      public boolean isRunning()
    • setRunning

      public void setRunning(boolean bRunning)
    • isSprinting

      public boolean isSprinting()
    • setSprinting

      public void setSprinting(boolean bSprinting)
    • canSprint

      public boolean canSprint()
    • postUpdateModelTextures

      public void postUpdateModelTextures()
    • getTextureCreator

      public ModelInstanceTextureCreator getTextureCreator()
    • setTextureCreator

      public void setTextureCreator(ModelInstanceTextureCreator textureCreator)
    • postUpdateEquippedTextures

      public void postUpdateEquippedTextures()
    • getReadyModelData

      public ArrayList<ModelInstance> getReadyModelData()
    • getIgnoreMovement

      public boolean getIgnoreMovement()
    • setIgnoreMovement

      public void setIgnoreMovement(boolean ignoreMovement)
    • isAutoWalk

      public boolean isAutoWalk()
    • setAutoWalk

      public void setAutoWalk(boolean b)
    • setAutoWalkDirection

      public void setAutoWalkDirection(Vector2 v)
    • getAutoWalkDirection

      public Vector2 getAutoWalkDirection(Vector2 out)
    • isSneaking

      public boolean isSneaking()
    • setSneaking

      public void setSneaking(boolean bSneaking)
    • getSneakLimpSpeedScale

      public float getSneakLimpSpeedScale()
    • setSneakLimpSpeedScale

      public void setSneakLimpSpeedScale(float sneakLimpSpeedScale)
    • getMoveDelta

      public float getMoveDelta()
    • setMoveDelta

      public void setMoveDelta(float moveDelta)
    • getTurnDelta

      public float getTurnDelta()
    • setTurnDelta

      public void setTurnDelta(float turnDelta)
    • getChopTreeSpeed

      public float getChopTreeSpeed()
    • testDefense

      public boolean testDefense(IsoZombie zomb)
    • getSurroundingAttackingZombies

      public int getSurroundingAttackingZombies()
    • getSurroundingAttackingZombies

      public int getSurroundingAttackingZombies(boolean includeCrawlers)
    • checkIsNearVehicle

      public boolean checkIsNearVehicle()
    • checkIsNearWall

      public float checkIsNearWall()
    • setNearWallCrouching

      public void setNearWallCrouching(boolean value)
    • isNearWallCrouching

      public boolean isNearWallCrouching()
    • getBeenSprintingFor

      public float getBeenSprintingFor()
    • setBeenSprintingFor

      public void setBeenSprintingFor(float beenSprintingFor)
    • isHideWeaponModel

      public boolean isHideWeaponModel()
    • setHideWeaponModel

      public void setHideWeaponModel(boolean hideWeaponModel)
    • isHideEquippedHandL

      public boolean isHideEquippedHandL()
    • setHideEquippedHandL

      public void setHideEquippedHandL(boolean hideEquippedHandL)
    • isHideEquippedHandR

      public boolean isHideEquippedHandR()
    • setHideEquippedHandR

      public void setHideEquippedHandR(boolean hideEquippedHandR)
    • setIsAiming

      public void setIsAiming(boolean isAiming)
    • setFireMode

      public void setFireMode(String fireMode)
    • getFireMode

      public String getFireMode()
    • isAiming

      public boolean isAiming()
      Specified by:
      isAiming in interface ILuaGameCharacter
    • isTwisting

      public boolean isTwisting()
      Specified by:
      isTwisting in interface ILuaGameCharacter
    • allowsTwist

      public boolean allowsTwist()
      Specified by:
      allowsTwist in interface ILuaGameCharacter
    • getShoulderTwistWeight

      public float getShoulderTwistWeight()
    • resetBeardGrowingTime

      public void resetBeardGrowingTime()
      Specified by:
      resetBeardGrowingTime in interface ILuaGameCharacter
    • resetHairGrowingTime

      public void resetHairGrowingTime()
      Specified by:
      resetHairGrowingTime in interface ILuaGameCharacter
    • fallenOnKnees

      public void fallenOnKnees()
    • fallenOnKnees

      public void fallenOnKnees(boolean hardFall)
    • addVisualDamage

      public void addVisualDamage(String itemType)
    • addBodyVisualFromItemType

      public ItemVisual addBodyVisualFromItemType(String itemType)
    • isCriticalHit

      public boolean isCriticalHit()
    • setCriticalHit

      public void setCriticalHit(boolean isCrit)
    • getRunSpeedModifier

      public float getRunSpeedModifier()
    • isNpc

      public boolean isNpc()
    • setMetabolicTarget

      public void setMetabolicTarget(Metabolics m)
    • setMetabolicTarget

      public void setMetabolicTarget(float target)
    • getThirstMultiplier

      public double getThirstMultiplier()
    • getHungerMultiplier

      public double getHungerMultiplier()
    • getFatiqueMultiplier

      public double getFatiqueMultiplier()
    • getTimedActionTimeModifier

      public float getTimedActionTimeModifier()
    • addHoleFromZombieAttacks

      public boolean addHoleFromZombieAttacks(BloodBodyPartType part, boolean scratch)
    • getTotalBlood

      public float getTotalBlood()
    • attackFromWindowsLunge

      public void attackFromWindowsLunge(IsoZombie zombie)
    • DoSwingCollisionBoneCheck

      public boolean DoSwingCollisionBoneCheck(IsoGameCharacter zombie, int bone, float tempoLengthTest)
    • isInvincible

      public boolean isInvincible()
    • setInvincible

      public void setInvincible(boolean invincible)
    • getNearVehicle

      public BaseVehicle getNearVehicle()
    • isNearSirenVehicle

      public boolean isNearSirenVehicle()
    • dropHeavyItems

      public void dropHeavyItems()
    • isHeavyItem

      public boolean isHeavyItem(InventoryItem item)
    • isCanShout

      public boolean isCanShout()
    • setCanShout

      public void setCanShout(boolean canShout)
    • isKnowAllRecipes

      public boolean isKnowAllRecipes()
    • setKnowAllRecipes

      public void setKnowAllRecipes(boolean knowAllRecipes)
    • isUnlimitedAmmo

      public boolean isUnlimitedAmmo()
    • setUnlimitedAmmo

      public void setUnlimitedAmmo(boolean unlimitedAmmo)
    • isUnlimitedEndurance

      public boolean isUnlimitedEndurance()
    • setUnlimitedEndurance

      public void setUnlimitedEndurance(boolean unlimitedEndurance)
    • getActiveLightItems

      public ArrayList<InventoryItem> getActiveLightItems(ArrayList<InventoryItem> items)
    • getOrCreateSleepingEventData

      public SleepingEventData getOrCreateSleepingEventData()
    • playEmote

      public void playEmote(String emote)
    • getAnimationStateName

      public String getAnimationStateName()
    • getActionStateName

      public String getActionStateName()
    • shouldWaitToStartTimedAction

      public boolean shouldWaitToStartTimedAction()
    • setPersistentOutfitID

      public void setPersistentOutfitID(int outfitID)
    • setPersistentOutfitID

      public void setPersistentOutfitID(int outfitID, boolean init)
    • getPersistentOutfitID

      public int getPersistentOutfitID()
    • isPersistentOutfitInit

      public boolean isPersistentOutfitInit()
    • isDoingActionThatCanBeCancelled

      public boolean isDoingActionThatCanBeCancelled()
      Specified by:
      isDoingActionThatCanBeCancelled in interface IStateCharacter
    • causesDamageToVehicleWhenHit

      public boolean causesDamageToVehicleWhenHit(BaseVehicle impactingVehicle)
      Specified by:
      causesDamageToVehicleWhenHit in interface IStateCharacter
    • isDoDeathSound

      public boolean isDoDeathSound()
    • setDoDeathSound

      public void setDoDeathSound(boolean doDeathSound)
    • isKilledByFall

      public boolean isKilledByFall()
      Specified by:
      isKilledByFall in interface IGrappleable
    • setKilledByFall

      public void setKilledByFall(boolean killedByFall)
      Specified by:
      setKilledByFall in interface IGrappleable
    • updateEquippedRadioFreq

      public void updateEquippedRadioFreq()
    • updateEquippedItemSounds

      public void updateEquippedItemSounds()
    • getFMODParameters

      public FMODParameterList getFMODParameters()
      Specified by:
      getFMODParameters in interface fmod.fmod.IFMODParameterUpdater
    • startEvent

      public void startEvent(long eventInstance, GameSoundClip clip, boolean remote, BitSet parameterSet)
      Specified by:
      startEvent in interface fmod.fmod.IFMODParameterUpdater
    • updateEvent

      public void updateEvent(long eventInstance, GameSoundClip clip)
      Specified by:
      updateEvent in interface fmod.fmod.IFMODParameterUpdater
    • stopEvent

      public void stopEvent(long eventInstance, GameSoundClip clip, boolean remote, BitSet parameterSet)
      Specified by:
      stopEvent in interface fmod.fmod.IFMODParameterUpdater
    • playBloodSplatterSound

      public void playBloodSplatterSound()
    • setHeadLookAround

      public void setHeadLookAround(boolean b)
    • isHeadLookAround

      public boolean isHeadLookAround()
    • setHeadLookAroundDirection

      public void setHeadLookAroundDirection(float lookHorizontal, float lookVertical)
    • getHeadLookHorizontal

      public float getHeadLookHorizontal()
    • getHeadLookVertical

      public float getHeadLookVertical()
    • getHeadLookAngleMax

      public float getHeadLookAngleMax()
    • addBloodFromVehicleImpact

      public void addBloodFromVehicleImpact(float speed)
    • isKnockedDown

      public boolean isKnockedDown()
    • setKnockedDown

      public void setKnockedDown(boolean knockedDown)
    • isStaggerBack

      public boolean isStaggerBack()
    • readInventory

      public void readInventory(ByteBufferReader b)
    • Kill

      public final void Kill(IsoGameCharacter killer)
    • Kill

      public final void Kill(HandWeapon handWeapon, IsoGameCharacter killer)
    • Kill

      public final void Kill(IsoGameCharacter killer, boolean bGory)
    • Kill

      public final void Kill(IsoGameCharacter killer, HandWeapon attackingWeapon, boolean isGory, CharacterDiedListener onDiedListener)
    • onKilled

      public void onKilled(IsoGameCharacter killer, HandWeapon attackingWeapon, boolean isGory)
    • die

      public final void die()
    • dieNetwork

      public final IsoDeadBody dieNetwork(IsoGameCharacter killer, HandWeapon attackingWeapon, boolean isGory, CharacterDiedListener onDiedListener)
    • addOnDiedListener

      public void addOnDiedListener(CharacterDiedListener onDiedListener, boolean autoRemoveOnInvoke)
    • clearDiedBody

      public final void clearDiedBody()
    • becomeCorpseItem

      public InventoryItem becomeCorpseItem(ItemContainer placeInContainer, IsoGameCharacter chr)
    • getMass

      public float getMass()
    • getWeightAsCorpse

      public static int getWeightAsCorpse()
    • getHitReactionNetworkAI

      public HitReactionNetworkAI getHitReactionNetworkAI()
    • getNetworkCharacterAI

      public NetworkCharacterAI getNetworkCharacterAI()
    • wasLocal

      public boolean wasLocal()
    • isLocal

      public final boolean isLocal()
    • isRemote

      public final boolean isRemote()
    • isNetworkVehicleCollisionActive

      public boolean isNetworkVehicleCollisionActive(BaseVehicle testVehicle)
    • doNetworkHitByVehicle

      public void doNetworkHitByVehicle(BaseVehicle hitByVehicle, BaseVehicle.HitVars hitVars)
    • isSkipResolveCollision

      public boolean isSkipResolveCollision()
    • isPerformingAttackAnimation

      public boolean isPerformingAttackAnimation()
    • setPerformingAttackAnimation

      public void setPerformingAttackAnimation(boolean attackAnim)
    • isPerformingShoveAnimation

      public boolean isPerformingShoveAnimation()
    • setPerformingShoveAnimation

      public void setPerformingShoveAnimation(boolean shoveAnim)
    • isPerformingStompAnimation

      public boolean isPerformingStompAnimation()
    • setPerformingStompAnimation

      public void setPerformingStompAnimation(boolean stompAnim)
    • isPerformingHostileAnimation

      public boolean isPerformingHostileAnimation()
    • getNextAnimationTranslationLength

      public Float getNextAnimationTranslationLength()
    • getCurrentAnimationTranslationTarget

      public Vector3 getCurrentAnimationTranslationTarget(Vector3 outTargetPos)
    • calcHitDir

      public void calcHitDir(IsoGameCharacter wielder, HandWeapon weapon, Vector2 out)
    • calcHitDir

      public void calcHitDir(Vector2 out)
    • getSafety

      public Safety getSafety()
      Specified by:
      getSafety in interface ILuaGameCharacter
    • setSafety

      public void setSafety(Safety safety)
      Specified by:
      setSafety in interface ILuaGameCharacter
    • burnCorpse

      public void burnCorpse(IsoDeadBody corpse)
    • setIsAnimal

      public void setIsAnimal(boolean v)
    • isAnimal

      public boolean isAnimal()
    • isAnimalRunningToDeathPosition

      public boolean isAnimalRunningToDeathPosition()
    • getPerkToUnit

      public float getPerkToUnit(PerkFactory.Perk perk)
      Specified by:
      getPerkToUnit in interface ILuaGameCharacter
    • getReadLiterature

      public HashMap<String,Integer> getReadLiterature()
      Specified by:
      getReadLiterature in interface ILuaGameCharacter
    • isLiteratureRead

      public boolean isLiteratureRead(String name)
      Specified by:
      isLiteratureRead in interface ILuaGameCharacter
    • addReadLiterature

      public void addReadLiterature(String name)
      Specified by:
      addReadLiterature in interface ILuaGameCharacter
    • addReadLiterature

      public void addReadLiterature(String name, int day)
      Specified by:
      addReadLiterature in interface ILuaGameCharacter
    • addReadPrintMedia

      public void addReadPrintMedia(String mediaId)
      Specified by:
      addReadPrintMedia in interface ILuaGameCharacter
    • isPrintMediaRead

      public boolean isPrintMediaRead(String mediaId)
      Specified by:
      isPrintMediaRead in interface ILuaGameCharacter
    • getReadPrintMedia

      public HashSet<String> getReadPrintMedia()
      Specified by:
      getReadPrintMedia in interface ILuaGameCharacter
    • hasReadMap

      public boolean hasReadMap(InventoryItem item)
      Specified by:
      hasReadMap in interface ILuaGameCharacter
    • addReadMap

      public void addReadMap(InventoryItem item)
      Specified by:
      addReadMap in interface ILuaGameCharacter
    • setMusicIntensityEventModData

      public void setMusicIntensityEventModData(String key, Object value)
    • getMusicIntensityEventModData

      public Object getMusicIntensityEventModData(String key)
    • isWearingTag

      public boolean isWearingTag(ItemTag itemTag)
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense()
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense(float rate)
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense(float rate, boolean drain)
    • isProtectedFromToxic

      public boolean isProtectedFromToxic()
    • isProtectedFromToxic

      public boolean isProtectedFromToxic(boolean drain)
    • isOverEncumbered

      public boolean isOverEncumbered()
    • updateWornItemsVisionModifier

      public void updateWornItemsVisionModifier()
    • getWornItemsVisionModifier

      public float getWornItemsVisionModifier()
    • getWornItemsVisionMultiplier

      public float getWornItemsVisionMultiplier()
    • updateWornItemsHearingModifier

      public void updateWornItemsHearingModifier()
    • getWornItemsHearingModifier

      public float getWornItemsHearingModifier()
    • getWornItemsHearingMultiplier

      public float getWornItemsHearingMultiplier()
    • getHearDistanceModifier

      public float getHearDistanceModifier()
    • getWeatherHearingMultiplier

      public float getWeatherHearingMultiplier()
    • getEffectiveFatigue

      public float getEffectiveFatigue()
    • getDetectionRange

      public float getDetectionRange()
    • setLastHitCharacter

      public void setLastHitCharacter(IsoGameCharacter character)
    • getLastHitCharacter

      public IsoGameCharacter getLastHitCharacter()
    • triggerCough

      public void triggerCough()
    • hasDirtyClothing

      public boolean hasDirtyClothing(Integer part)
    • hasBloodyClothing

      public boolean hasBloodyClothing(Integer part)
    • getAnimatable

      public IAnimatable getAnimatable()
      Specified by:
      getAnimatable in interface IGrappleable
    • getGrappleable

      public IGrappleable getGrappleable()
      Specified by:
      getGrappleable in interface IAnimatable
    • getWrappedGrappleable

      public BaseGrappleable getWrappedGrappleable()
      Specified by:
      getWrappedGrappleable in interface IGrappleableWrapper
    • canBeGrappled

      public boolean canBeGrappled()
      Specified by:
      canBeGrappled in interface IGrappleable
      Specified by:
      canBeGrappled in interface IGrappleableWrapper
    • isPerformingGrappleAnimation

      public boolean isPerformingGrappleAnimation()
      Specified by:
      isPerformingGrappleAnimation in interface IGrappleable
    • getShoutType

      public String getShoutType()
    • getShoutItemModel

      public String getShoutItemModel()
    • isWearingGlasses

      public boolean isWearingGlasses()
    • isWearingVisualAid

      public boolean isWearingVisualAid()
    • getClothingDiscomfortModifier

      public float getClothingDiscomfortModifier()
    • getVehicleDiscomfortModifier

      public float getVehicleDiscomfortModifier()
    • updateVisionEffectTargets

      public void updateVisionEffectTargets()
    • updateVisionEffects

      public void updateVisionEffects()
    • getBlurFactor

      public float getBlurFactor()
    • isDisguised

      public boolean isDisguised()
    • updateDisguisedState

      public void updateDisguisedState()
    • OnClothingUpdated

      public void OnClothingUpdated()
    • OnEquipmentUpdated

      public void OnEquipmentUpdated()
    • getCorpseSicknessRate

      public float getCorpseSicknessRate()
    • setCorpseSicknessRate

      public void setCorpseSicknessRate(float rate)
    • spikePartIndex

      public void spikePartIndex(int bodyPartIndex)
    • spikePart

      public void spikePart(BodyPartType partType)
    • getReanimatedCorpse

      public IsoGameCharacter getReanimatedCorpse()
    • applyDamage

      public void applyDamage(float damageAmount)
    • canRagdoll

      public boolean canRagdoll()
    • getRagdollController

      public RagdollController getRagdollController()
    • releaseRagdollController

      public void releaseRagdollController()
    • getBallisticsController

      public BallisticsController getBallisticsController()
    • updateBallistics

      public void updateBallistics()
    • releaseBallisticsController

      public void releaseBallisticsController()
    • getBallisticsTarget

      public BallisticsTarget getBallisticsTarget()
    • ensureExistsBallisticsTarget

      public BallisticsTarget ensureExistsBallisticsTarget(IsoGameCharacter isoGameCharacter)
    • releaseBallisticsTarget

      public void releaseBallisticsTarget()
    • canReachTo

      public boolean canReachTo(IsoGridSquare square)
    • canUseAsGenericCraftingSurface

      public boolean canUseAsGenericCraftingSurface(IsoObject object)
    • getHitInfoList

      public PZArrayList<HitInfo> getHitInfoList()
    • getAimingMode

      public AimingMode getAimingMode()
    • updateHasTargetFlag

      public void updateHasTargetFlag()
    • isUnarmed

      public boolean isUnarmed()
    • isMeleeWeaponEquipped

      public boolean isMeleeWeaponEquipped()
    • isRangedWeaponEquipped

      public boolean isRangedWeaponEquipped()
    • isAimingFirearmEquipped

      public boolean isAimingFirearmEquipped()
    • getAttackVars

      public AttackVars getAttackVars()
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem weapon)
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem weapon, int hitCount)
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem item, int hitCount, float multiplier)
    • addRightLegMuscleStrain

      public void addRightLegMuscleStrain(float painfactor)
    • addBackMuscleStrain

      public void addBackMuscleStrain(float painfactor)
    • addNeckMuscleStrain

      public void addNeckMuscleStrain(float painfactor)
    • addArmMuscleStrain

      public void addArmMuscleStrain(float painfactor)
    • addLeftArmMuscleStrain

      public void addLeftArmMuscleStrain(float painfactor)
    • addBothArmMuscleStrain

      public void addBothArmMuscleStrain(float painfactor)
    • addStiffness

      public void addStiffness(BodyPartType partType, float stiffness)
    • getClimbingFailChanceInt

      public int getClimbingFailChanceInt()
    • getClimbingFailChanceFloat

      public float getClimbingFailChanceFloat()
    • nearbyZombieClimbPenalty

      public float nearbyZombieClimbPenalty()
    • isClimbingRope

      public boolean isClimbingRope()
    • fallFromRope

      public void fallFromRope()
    • isWearingGloves

      public boolean isWearingGloves()
    • isWearingAwkwardGloves

      public boolean isWearingAwkwardGloves()
    • getClimbRopeSpeed

      public float getClimbRopeSpeed(boolean down)
    • setClimbRopeTime

      public void setClimbRopeTime(float time)
    • getClimbRopeTime

      public float getClimbRopeTime()
    • hasAwkwardHands

      public boolean hasAwkwardHands()
    • triggerContextualAction

      public void triggerContextualAction(String action)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2, Object param3)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2, Object param3, Object param4)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • isActuallyAttackingWithMeleeWeapon

      public boolean isActuallyAttackingWithMeleeWeapon()
    • isDoStomp

      public boolean isDoStomp()
    • isShoving

      public boolean isShoving()
    • teleportTo

      public void teleportTo(int newX, int newY)
    • teleportTo

      public void teleportTo(float newX, float newY)
    • teleportTo

      public void teleportTo(float newX, float newY, int newZ)
    • teleportTo

      public void teleportTo(int newX, int newY, int newZ)
    • ensureNotInVehicle

      public void ensureNotInVehicle()
    • forgetRecipes

      public void forgetRecipes()
    • isWeaponReady

      public boolean isWeaponReady()
    • climbThroughWindow

      public void climbThroughWindow(IsoObject isoObject)
    • getClimbData

      public ClimbSheetRopeState.ClimbData getClimbData()
    • setClimbData

      public void setClimbData(ClimbSheetRopeState.ClimbData climbData)
    • getIdleSquareTime

      public float getIdleSquareTime()
    • isCurrentlyIdle

      public boolean isCurrentlyIdle()
    • isCurrentlyBusy

      public boolean isCurrentlyBusy()
    • flagForHotSave

      public void flagForHotSave()
      Overrides:
      flagForHotSave in class IsoObject
    • getContainers

      public ArrayList<ItemContainer> getContainers()
    • hasRecipeAtHand

      public boolean hasRecipeAtHand(CraftRecipe recipe)
    • getCheats

      public PlayerCheats getCheats()
    • calculateVisibilityData

      public VisibilityData calculateVisibilityData()
    • hasFullInventory

      public boolean hasFullInventory()
    • getFreeInventoryCapacity

      public float getFreeInventoryCapacity()
    • onFireLightSourceCheck

      public void onFireLightSourceCheck()
    • removeOnFireLightSource

      public void removeOnFireLightSource()
    • isInventive

      public boolean isInventive()