Class BodyDamage

java.lang.Object
zombie.characters.BodyDamage.BodyDamage

public final class BodyDamage extends Object
  • Field Details

    • BodyParts

      public final ArrayList<BodyPart> BodyParts
    • BodyPartsLastState

      public final ArrayList<BodyPartLast> BodyPartsLastState
    • DamageModCount

      public int DamageModCount
    • InfectionGrowthRate

      public float InfectionGrowthRate
    • InfectionLevel

      public float InfectionLevel
    • IsInfected

      public boolean IsInfected
    • InfectionTime

      public float InfectionTime
    • InfectionMortalityDuration

      public float InfectionMortalityDuration
    • FakeInfectionLevel

      public float FakeInfectionLevel
    • IsFakeInfected

      public boolean IsFakeInfected
    • OverallBodyHealth

      public float OverallBodyHealth
    • StandardHealthAddition

      public float StandardHealthAddition
    • ReducedHealthAddition

      public float ReducedHealthAddition
    • SeverlyReducedHealthAddition

      public float SeverlyReducedHealthAddition
    • SleepingHealthAddition

      public float SleepingHealthAddition
    • HealthFromFood

      public float HealthFromFood
    • HealthReductionFromSevereBadMoodles

      public float HealthReductionFromSevereBadMoodles
    • StandardHealthFromFoodTime

      public int StandardHealthFromFoodTime
    • HealthFromFoodTimer

      public float HealthFromFoodTimer
    • BoredomLevel

      public float BoredomLevel
    • BoredomDecreaseFromReading

      public float BoredomDecreaseFromReading
    • InitialThumpPain

      public float InitialThumpPain
    • InitialScratchPain

      public float InitialScratchPain
    • InitialBitePain

      public float InitialBitePain
    • InitialWoundPain

      public float InitialWoundPain
    • ContinualPainIncrease

      public float ContinualPainIncrease
    • PainReductionFromMeds

      public float PainReductionFromMeds
    • StandardPainReductionWhenWell

      public float StandardPainReductionWhenWell
    • OldNumZombiesVisible

      public int OldNumZombiesVisible
    • CurrentNumZombiesVisible

      public int CurrentNumZombiesVisible
    • PanicIncreaseValue

      public float PanicIncreaseValue
    • PanicIncreaseValueFrame

      public float PanicIncreaseValueFrame
    • PanicReductionValue

      public float PanicReductionValue
    • DrunkIncreaseValue

      public float DrunkIncreaseValue
    • DrunkReductionValue

      public float DrunkReductionValue
    • IsOnFire

      public boolean IsOnFire
    • BurntToDeath

      public boolean BurntToDeath
    • Wetness

      public float Wetness
    • CatchACold

      public float CatchACold
    • HasACold

      public boolean HasACold
    • ColdStrength

      public float ColdStrength
    • ColdProgressionRate

      public float ColdProgressionRate
    • TimeToSneezeOrCough

      public int TimeToSneezeOrCough
    • MildColdSneezeTimerMin

      public int MildColdSneezeTimerMin
    • MildColdSneezeTimerMax

      public int MildColdSneezeTimerMax
    • ColdSneezeTimerMin

      public int ColdSneezeTimerMin
    • ColdSneezeTimerMax

      public int ColdSneezeTimerMax
    • NastyColdSneezeTimerMin

      public int NastyColdSneezeTimerMin
    • NastyColdSneezeTimerMax

      public int NastyColdSneezeTimerMax
    • SneezeCoughActive

      public int SneezeCoughActive
    • SneezeCoughTime

      public int SneezeCoughTime
    • SneezeCoughDelay

      public int SneezeCoughDelay
    • UnhappynessLevel

      public float UnhappynessLevel
    • ColdDamageStage

      public float ColdDamageStage
    • ParentChar

      public IsoGameCharacter ParentChar
    • InfectionLevelToZombify

      public static final float InfectionLevelToZombify
      See Also:
  • Constructor Details

  • Method Details

    • getBodyPart

      public BodyPart getBodyPart(BodyPartType type)
    • getBodyPartsLastState

      public BodyPartLast getBodyPartsLastState(BodyPartType type)
    • setBodyPartsLastState

      public void setBodyPartsLastState()
    • load

      public void load(ByteBuffer input, int WorldVersion) throws IOException
      Throws:
      IOException
    • save

      public void save(ByteBuffer output) throws IOException
      Throws:
      IOException
    • IsFakeInfected

      public boolean IsFakeInfected()
    • OnFire

      public void OnFire(boolean OnFire)
    • IsOnFire

      public boolean IsOnFire()
    • WasBurntToDeath

      public boolean WasBurntToDeath()
    • IncreasePanicFloat

      public void IncreasePanicFloat(float delta)
    • IncreasePanic

      public void IncreasePanic(int NumNewZombiesSeen)
    • ReducePanic

      public void ReducePanic()
    • UpdatePanicState

      public void UpdatePanicState()
    • JustDrankBooze

      public void JustDrankBooze(Food food, float percentage)
    • JustTookPill

      public void JustTookPill(InventoryItem Pill)
    • JustAteFood

      public void JustAteFood(Food NewFood, float percentage)
    • JustAteFood

      public void JustAteFood(Food NewFood)
    • JustReadSomething

      public void JustReadSomething(Literature lit)
    • JustTookPainMeds

      public void JustTookPainMeds()
    • UpdateWetness

      public void UpdateWetness()
    • TriggerSneezeCough

      public void TriggerSneezeCough()
    • IsSneezingCoughing

      public int IsSneezingCoughing()
    • UpdateCold

      public void UpdateCold()
    • getColdStrength

      public float getColdStrength()
    • getWetness

      public float getWetness()
    • AddDamage

      public void AddDamage(BodyPartType BodyPart, float Val)
    • AddGeneralHealth

      public void AddGeneralHealth(float Val)
    • ReduceGeneralHealth

      public void ReduceGeneralHealth(float Val)
    • AddDamage

      public void AddDamage(int BodyPartIndex, float val)
    • splatBloodFloorBig

      public void splatBloodFloorBig()
    • DamageFromWeapon

      public void DamageFromWeapon(HandWeapon weapon)
      When hit by another player in MP
      Parameters:
      weapon -
    • AddRandomDamageFromZombie

      public boolean AddRandomDamageFromZombie(IsoZombie zombie, String hitReaction)
      This gonna decide the strength of the damage you'll get. Getting surrounded can also trigger an instant death animation.
      Parameters:
      zombie -
      hitReaction -
    • doesBodyPartHaveInjury

      public boolean doesBodyPartHaveInjury(BodyPartType part)
    • doBodyPartsHaveInjuries

      public boolean doBodyPartsHaveInjuries(BodyPartType partA, BodyPartType partB)
      Returns TRUE if either body part is injured. ie. A OR B
    • isBodyPartBleeding

      public boolean isBodyPartBleeding(BodyPartType part)
      Returns TRUE if the specified body part's bleeding time is greater than 0.
    • areBodyPartsBleeding

      public boolean areBodyPartsBleeding(BodyPartType partA, BodyPartType partB)
      Returns TRUE if either body part is bleeding. ie. A OR B
    • DrawUntexturedQuad

      public void DrawUntexturedQuad(int X, int Y, int Width, int Height, float r, float g, float b, float a)
    • getBodyPartHealth

      public float getBodyPartHealth(BodyPartType BodyPart)
    • getBodyPartHealth

      public float getBodyPartHealth(int BodyPartIndex)
    • getBodyPartName

      public String getBodyPartName(BodyPartType BodyPart)
    • getBodyPartName

      public String getBodyPartName(int BodyPartIndex)
    • getHealth

      public float getHealth()
    • getInfectionLevel

      public float getInfectionLevel()
    • getApparentInfectionLevel

      public float getApparentInfectionLevel()
    • getNumPartsBleeding

      public int getNumPartsBleeding()
    • getNumPartsScratched

      public int getNumPartsScratched()
    • getNumPartsBitten

      public int getNumPartsBitten()
    • HasInjury

      public boolean HasInjury()
    • IsBandaged

      public boolean IsBandaged(BodyPartType BodyPart)
    • IsDeepWounded

      public boolean IsDeepWounded(BodyPartType BodyPart)
    • IsBandaged

      public boolean IsBandaged(int BodyPartIndex)
    • IsBitten

      public boolean IsBitten(BodyPartType BodyPart)
    • IsBitten

      public boolean IsBitten(int BodyPartIndex)
    • IsBleeding

      public boolean IsBleeding(BodyPartType BodyPart)
    • IsBleeding

      public boolean IsBleeding(int BodyPartIndex)
    • IsBleedingStemmed

      public boolean IsBleedingStemmed(BodyPartType BodyPart)
    • IsBleedingStemmed

      public boolean IsBleedingStemmed(int BodyPartIndex)
    • IsCortorised

      public boolean IsCortorised(BodyPartType BodyPart)
    • IsCortorised

      public boolean IsCortorised(int BodyPartIndex)
    • IsInfected

      public boolean IsInfected()
    • IsInfected

      public boolean IsInfected(BodyPartType BodyPart)
    • IsInfected

      public boolean IsInfected(int BodyPartIndex)
    • IsFakeInfected

      public boolean IsFakeInfected(int BodyPartIndex)
    • DisableFakeInfection

      public void DisableFakeInfection(int BodyPartIndex)
    • IsScratched

      public boolean IsScratched(BodyPartType BodyPart)
    • IsCut

      public boolean IsCut(BodyPartType BodyPart)
    • IsScratched

      public boolean IsScratched(int BodyPartIndex)
    • IsStitched

      public boolean IsStitched(BodyPartType BodyPart)
    • IsStitched

      public boolean IsStitched(int BodyPartIndex)
    • IsWounded

      public boolean IsWounded(BodyPartType BodyPart)
    • IsWounded

      public boolean IsWounded(int BodyPartIndex)
    • RestoreToFullHealth

      public void RestoreToFullHealth()
    • SetBandaged

      public void SetBandaged(int BodyPartIndex, boolean Bandaged, float bandageLife, boolean isAlcoholic, String bandageType)
    • SetBitten

      public void SetBitten(BodyPartType BodyPart, boolean Bitten)
    • SetBitten

      public void SetBitten(int BodyPartIndex, boolean Bitten)
    • SetBitten

      public void SetBitten(int BodyPartIndex, boolean Bitten, boolean Infected)
    • SetBleeding

      public void SetBleeding(BodyPartType BodyPart, boolean Bleeding)
    • SetBleeding

      public void SetBleeding(int BodyPartIndex, boolean Bleeding)
    • SetBleedingStemmed

      public void SetBleedingStemmed(BodyPartType BodyPart, boolean BleedingStemmed)
    • SetBleedingStemmed

      public void SetBleedingStemmed(int BodyPartIndex, boolean BleedingStemmed)
    • SetCortorised

      public void SetCortorised(BodyPartType BodyPart, boolean Cortorised)
    • SetCortorised

      public void SetCortorised(int BodyPartIndex, boolean Cortorised)
    • setScratchedWindow

      public BodyPart setScratchedWindow()
    • SetScratched

      public void SetScratched(BodyPartType BodyPart, boolean Scratched)
    • SetScratched

      public void SetScratched(int BodyPartIndex, boolean Scratched)
    • SetScratchedFromWeapon

      public void SetScratchedFromWeapon(int BodyPartIndex, boolean Scratched)
    • SetCut

      public void SetCut(int BodyPartIndex, boolean Cut)
    • SetWounded

      public void SetWounded(BodyPartType BodyPart, boolean Wounded)
    • SetWounded

      public void SetWounded(int BodyPartIndex, boolean Wounded)
    • ShowDebugInfo

      public void ShowDebugInfo()
    • UpdateBoredom

      public void UpdateBoredom()
    • getUnhappynessLevel

      public float getUnhappynessLevel()
    • getBoredomLevel

      public float getBoredomLevel()
    • UpdateStrength

      public void UpdateStrength()
    • pickMortalityDuration

      public float pickMortalityDuration()
    • Update

      public void Update()
    • getSicknessFromCorpsesRate

      public static float getSicknessFromCorpsesRate(int corpseCount)
    • UseBandageOnMostNeededPart

      public boolean UseBandageOnMostNeededPart()
    • getBodyParts

      public ArrayList<BodyPart> getBodyParts()
      Returns:
      the BodyParts
    • getDamageModCount

      public int getDamageModCount()
      Returns:
      the DamageModCount
    • setDamageModCount

      public void setDamageModCount(int DamageModCount)
      Parameters:
      DamageModCount - the DamageModCount to set
    • getInfectionGrowthRate

      public float getInfectionGrowthRate()
      Returns:
      the InfectionGrowthRate
    • setInfectionGrowthRate

      public void setInfectionGrowthRate(float InfectionGrowthRate)
      Parameters:
      InfectionGrowthRate - the InfectionGrowthRate to set
    • setInfectionLevel

      public void setInfectionLevel(float InfectionLevel)
      Parameters:
      InfectionLevel - the InfectionLevel to set
    • isInfected

      public boolean isInfected()
    • setInfected

      public void setInfected(boolean infected)
    • getInfectionTime

      public float getInfectionTime()
    • setInfectionTime

      public void setInfectionTime(float worldHours)
    • getInfectionMortalityDuration

      public float getInfectionMortalityDuration()
    • setInfectionMortalityDuration

      public void setInfectionMortalityDuration(float worldHours)
    • isInf

      @Deprecated public boolean isInf()
      Deprecated.
      Returns:
      the inf
    • setInf

      @Deprecated public void setInf(boolean inf)
      Deprecated.
      Parameters:
      inf - the inf to set
    • getFakeInfectionLevel

      public float getFakeInfectionLevel()
      Returns:
      the FakeInfectionLevel
    • setFakeInfectionLevel

      public void setFakeInfectionLevel(float FakeInfectionLevel)
      Parameters:
      FakeInfectionLevel - the FakeInfectionLevel to set
    • isIsFakeInfected

      public boolean isIsFakeInfected()
      Returns:
      the IsFakeInfected
    • setIsFakeInfected

      public void setIsFakeInfected(boolean IsFakeInfected)
      Parameters:
      IsFakeInfected - the IsFakeInfected to set
    • getOverallBodyHealth

      public float getOverallBodyHealth()
      Returns:
      the OverallBodyHealth
    • setOverallBodyHealth

      public void setOverallBodyHealth(float OverallBodyHealth)
      Parameters:
      OverallBodyHealth - the OverallBodyHealth to set
    • getStandardHealthAddition

      public float getStandardHealthAddition()
      Returns:
      the StandardHealthAddition
    • setStandardHealthAddition

      public void setStandardHealthAddition(float StandardHealthAddition)
      Parameters:
      StandardHealthAddition - the StandardHealthAddition to set
    • getReducedHealthAddition

      public float getReducedHealthAddition()
      Returns:
      the ReducedHealthAddition
    • setReducedHealthAddition

      public void setReducedHealthAddition(float ReducedHealthAddition)
      Parameters:
      ReducedHealthAddition - the ReducedHealthAddition to set
    • getSeverlyReducedHealthAddition

      public float getSeverlyReducedHealthAddition()
      Returns:
      the SeverlyReducedHealthAddition
    • setSeverlyReducedHealthAddition

      public void setSeverlyReducedHealthAddition(float SeverlyReducedHealthAddition)
      Parameters:
      SeverlyReducedHealthAddition - the SeverlyReducedHealthAddition to set
    • getSleepingHealthAddition

      public float getSleepingHealthAddition()
      Returns:
      the SleepingHealthAddition
    • setSleepingHealthAddition

      public void setSleepingHealthAddition(float SleepingHealthAddition)
      Parameters:
      SleepingHealthAddition - the SleepingHealthAddition to set
    • getHealthFromFood

      public float getHealthFromFood()
      Returns:
      the HealthFromFood
    • setHealthFromFood

      public void setHealthFromFood(float HealthFromFood)
      Parameters:
      HealthFromFood - the HealthFromFood to set
    • getHealthReductionFromSevereBadMoodles

      public float getHealthReductionFromSevereBadMoodles()
      Returns:
      the HealthReductionFromSevereBadMoodles
    • setHealthReductionFromSevereBadMoodles

      public void setHealthReductionFromSevereBadMoodles(float HealthReductionFromSevereBadMoodles)
      Parameters:
      HealthReductionFromSevereBadMoodles - the HealthReductionFromSevereBadMoodles to set
    • getStandardHealthFromFoodTime

      public int getStandardHealthFromFoodTime()
      Returns:
      the StandardHealthFromFoodTime
    • setStandardHealthFromFoodTime

      public void setStandardHealthFromFoodTime(int StandardHealthFromFoodTime)
      Parameters:
      StandardHealthFromFoodTime - the StandardHealthFromFoodTime to set
    • getHealthFromFoodTimer

      public float getHealthFromFoodTimer()
      Returns:
      the HealthFromFoodTimer
    • setHealthFromFoodTimer

      public void setHealthFromFoodTimer(float HealthFromFoodTimer)
      Parameters:
      HealthFromFoodTimer - the HealthFromFoodTimer to set
    • setBoredomLevel

      public void setBoredomLevel(float BoredomLevel)
      Parameters:
      BoredomLevel - the BoredomLevel to set
    • getBoredomDecreaseFromReading

      public float getBoredomDecreaseFromReading()
      Returns:
      the BoredomDecreaseFromReading
    • setBoredomDecreaseFromReading

      public void setBoredomDecreaseFromReading(float BoredomDecreaseFromReading)
      Parameters:
      BoredomDecreaseFromReading - the BoredomDecreaseFromReading to set
    • getInitialThumpPain

      public float getInitialThumpPain()
      Returns:
      the InitialThumpPain
    • setInitialThumpPain

      public void setInitialThumpPain(float InitialThumpPain)
      Parameters:
      InitialThumpPain - the InitialThumpPain to set
    • getInitialScratchPain

      public float getInitialScratchPain()
      Returns:
      the InitialScratchPain
    • setInitialScratchPain

      public void setInitialScratchPain(float InitialScratchPain)
      Parameters:
      InitialScratchPain - the InitialScratchPain to set
    • getInitialBitePain

      public float getInitialBitePain()
      Returns:
      the InitialBitePain
    • setInitialBitePain

      public void setInitialBitePain(float InitialBitePain)
      Parameters:
      InitialBitePain - the InitialBitePain to set
    • getInitialWoundPain

      public float getInitialWoundPain()
      Returns:
      the InitialWoundPain
    • setInitialWoundPain

      public void setInitialWoundPain(float InitialWoundPain)
      Parameters:
      InitialWoundPain - the InitialWoundPain to set
    • getContinualPainIncrease

      public float getContinualPainIncrease()
      Returns:
      the ContinualPainIncrease
    • setContinualPainIncrease

      public void setContinualPainIncrease(float ContinualPainIncrease)
      Parameters:
      ContinualPainIncrease - the ContinualPainIncrease to set
    • getPainReductionFromMeds

      public float getPainReductionFromMeds()
      Returns:
      the PainReductionFromMeds
    • setPainReductionFromMeds

      public void setPainReductionFromMeds(float PainReductionFromMeds)
      Parameters:
      PainReductionFromMeds - the PainReductionFromMeds to set
    • getStandardPainReductionWhenWell

      public float getStandardPainReductionWhenWell()
      Returns:
      the StandardPainReductionWhenWell
    • setStandardPainReductionWhenWell

      public void setStandardPainReductionWhenWell(float StandardPainReductionWhenWell)
      Parameters:
      StandardPainReductionWhenWell - the StandardPainReductionWhenWell to set
    • getOldNumZombiesVisible

      public int getOldNumZombiesVisible()
      Returns:
      the OldNumZombiesVisible
    • setOldNumZombiesVisible

      public void setOldNumZombiesVisible(int OldNumZombiesVisible)
      Parameters:
      OldNumZombiesVisible - the OldNumZombiesVisible to set
    • getCurrentNumZombiesVisible

      public int getCurrentNumZombiesVisible()
      Returns:
      the CurrentNumZombiesVisible
    • setCurrentNumZombiesVisible

      public void setCurrentNumZombiesVisible(int CurrentNumZombiesVisible)
      Parameters:
      CurrentNumZombiesVisible - the CurrentNumZombiesVisible to set
    • getPanicIncreaseValue

      public float getPanicIncreaseValue()
      Returns:
      the PanicIncreaseValue
    • getPanicIncreaseValueFrame

      public float getPanicIncreaseValueFrame()
    • setPanicIncreaseValue

      public void setPanicIncreaseValue(float PanicIncreaseValue)
      Parameters:
      PanicIncreaseValue - the PanicIncreaseValue to set
    • getPanicReductionValue

      public float getPanicReductionValue()
      Returns:
      the PanicReductionValue
    • setPanicReductionValue

      public void setPanicReductionValue(float PanicReductionValue)
      Parameters:
      PanicReductionValue - the PanicReductionValue to set
    • getDrunkIncreaseValue

      public float getDrunkIncreaseValue()
      Returns:
      the DrunkIncreaseValue
    • setDrunkIncreaseValue

      public void setDrunkIncreaseValue(float DrunkIncreaseValue)
      Parameters:
      DrunkIncreaseValue - the DrunkIncreaseValue to set
    • getDrunkReductionValue

      public float getDrunkReductionValue()
      Returns:
      the DrunkReductionValue
    • setDrunkReductionValue

      public void setDrunkReductionValue(float DrunkReductionValue)
      Parameters:
      DrunkReductionValue - the DrunkReductionValue to set
    • isIsOnFire

      public boolean isIsOnFire()
      Returns:
      the IsOnFire
    • setIsOnFire

      public void setIsOnFire(boolean IsOnFire)
      Parameters:
      IsOnFire - the IsOnFire to set
    • isBurntToDeath

      public boolean isBurntToDeath()
      Returns:
      the BurntToDeath
    • setBurntToDeath

      public void setBurntToDeath(boolean BurntToDeath)
      Parameters:
      BurntToDeath - the BurntToDeath to set
    • setWetness

      public void setWetness(float Wetness)
      Parameters:
      Wetness - the Wetness to set
    • getCatchACold

      public float getCatchACold()
      Returns:
      the CatchACold
    • setCatchACold

      public void setCatchACold(float CatchACold)
      Parameters:
      CatchACold - the CatchACold to set
    • isHasACold

      public boolean isHasACold()
      Returns:
      the HasACold
    • setHasACold

      public void setHasACold(boolean HasACold)
      Parameters:
      HasACold - the HasACold to set
    • setColdStrength

      public void setColdStrength(float ColdStrength)
      Parameters:
      ColdStrength - the ColdStrength to set
    • getColdProgressionRate

      public float getColdProgressionRate()
      Returns:
      the ColdProgressionRate
    • setColdProgressionRate

      public void setColdProgressionRate(float ColdProgressionRate)
      Parameters:
      ColdProgressionRate - the ColdProgressionRate to set
    • getTimeToSneezeOrCough

      public int getTimeToSneezeOrCough()
      Returns:
      the TimeToSneezeOrCough
    • setTimeToSneezeOrCough

      public void setTimeToSneezeOrCough(int TimeToSneezeOrCough)
      Parameters:
      TimeToSneezeOrCough - the TimeToSneezeOrCough to set
    • getMildColdSneezeTimerMin

      public int getMildColdSneezeTimerMin()
      Returns:
      the MildColdSneezeTimerMin
    • setMildColdSneezeTimerMin

      public void setMildColdSneezeTimerMin(int MildColdSneezeTimerMin)
      Parameters:
      MildColdSneezeTimerMin - the MildColdSneezeTimerMin to set
    • getMildColdSneezeTimerMax

      public int getMildColdSneezeTimerMax()
      Returns:
      the MildColdSneezeTimerMax
    • setMildColdSneezeTimerMax

      public void setMildColdSneezeTimerMax(int MildColdSneezeTimerMax)
      Parameters:
      MildColdSneezeTimerMax - the MildColdSneezeTimerMax to set
    • getColdSneezeTimerMin

      public int getColdSneezeTimerMin()
      Returns:
      the ColdSneezeTimerMin
    • setColdSneezeTimerMin

      public void setColdSneezeTimerMin(int ColdSneezeTimerMin)
      Parameters:
      ColdSneezeTimerMin - the ColdSneezeTimerMin to set
    • getColdSneezeTimerMax

      public int getColdSneezeTimerMax()
      Returns:
      the ColdSneezeTimerMax
    • setColdSneezeTimerMax

      public void setColdSneezeTimerMax(int ColdSneezeTimerMax)
      Parameters:
      ColdSneezeTimerMax - the ColdSneezeTimerMax to set
    • getNastyColdSneezeTimerMin

      public int getNastyColdSneezeTimerMin()
      Returns:
      the NastyColdSneezeTimerMin
    • setNastyColdSneezeTimerMin

      public void setNastyColdSneezeTimerMin(int NastyColdSneezeTimerMin)
      Parameters:
      NastyColdSneezeTimerMin - the NastyColdSneezeTimerMin to set
    • getNastyColdSneezeTimerMax

      public int getNastyColdSneezeTimerMax()
      Returns:
      the NastyColdSneezeTimerMax
    • setNastyColdSneezeTimerMax

      public void setNastyColdSneezeTimerMax(int NastyColdSneezeTimerMax)
      Parameters:
      NastyColdSneezeTimerMax - the NastyColdSneezeTimerMax to set
    • getSneezeCoughActive

      public int getSneezeCoughActive()
      Returns:
      the SneezeCoughActive
    • setSneezeCoughActive

      public void setSneezeCoughActive(int SneezeCoughActive)
      Parameters:
      SneezeCoughActive - the SneezeCoughActive to set
    • getSneezeCoughTime

      public int getSneezeCoughTime()
      Returns:
      the SneezeCoughTime
    • setSneezeCoughTime

      public void setSneezeCoughTime(int SneezeCoughTime)
      Parameters:
      SneezeCoughTime - the SneezeCoughTime to set
    • getSneezeCoughDelay

      public int getSneezeCoughDelay()
      Returns:
      the SneezeCoughDelay
    • setSneezeCoughDelay

      public void setSneezeCoughDelay(int SneezeCoughDelay)
      Parameters:
      SneezeCoughDelay - the SneezeCoughDelay to set
    • setUnhappynessLevel

      public void setUnhappynessLevel(float UnhappynessLevel)
      Parameters:
      UnhappynessLevel - the UnhappynessLevel to set
    • getParentChar

      public IsoGameCharacter getParentChar()
      Returns:
      the ParentChar
    • setParentChar

      public void setParentChar(IsoGameCharacter ParentChar)
      Parameters:
      ParentChar - the ParentChar to set
    • getTemperature

      public float getTemperature()
      Returns:
      the body temperature (updated by lua)
    • setTemperature

      public void setTemperature(float t)
    • getTemperatureChangeTick

      public float getTemperatureChangeTick()
    • setPoisonLevel

      public void setPoisonLevel(float poisonLevel)
    • getPoisonLevel

      public float getPoisonLevel()
    • getFoodSicknessLevel

      public float getFoodSicknessLevel()
    • setFoodSicknessLevel

      public void setFoodSicknessLevel(float foodSicknessLevel)
    • isReduceFakeInfection

      public boolean isReduceFakeInfection()
    • setReduceFakeInfection

      public void setReduceFakeInfection(boolean reduceFakeInfection)
    • AddRandomDamage

      public void AddRandomDamage()
    • getPainReduction

      public float getPainReduction()
    • setPainReduction

      public void setPainReduction(float painReduction)
    • getColdReduction

      public float getColdReduction()
    • setColdReduction

      public void setColdReduction(float coldReduction)
    • getRemotePainLevel

      public int getRemotePainLevel()
    • setRemotePainLevel

      public void setRemotePainLevel(int painLevel)
    • getColdDamageStage

      public float getColdDamageStage()
    • setColdDamageStage

      public void setColdDamageStage(float coldDamageStage)
    • getThermoregulator

      public Thermoregulator getThermoregulator()
    • decreaseBodyWetness

      public void decreaseBodyWetness(float amount)
    • increaseBodyWetness

      public void increaseBodyWetness(float amount)