Class BodyDamage
java.lang.Object
zombie.characters.BodyDamage.BodyDamage
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ArrayList
<BodyPartLast> float
float
boolean
float
float
float
int
int
float
float
int
int
float
float
float
boolean
float
float
float
float
float
static final float
float
float
float
float
float
float
boolean
boolean
boolean
int
int
int
int
int
float
float
float
float
float
float
float
float
int
int
int
int
int
float
int
float
int
float
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AddDamage
(int BodyPartIndex, float val) void
AddDamage
(BodyPartType BodyPart, float Val) void
AddGeneralHealth
(float Val) void
boolean
AddRandomDamageFromZombie
(IsoZombie zombie, String hitReaction) This gonna decide the strength of the damage you'll get.void
addStiffness
(BodyPart bodyPart, float float0) void
addStiffness
(BodyPartType bodyPartType, float float0) void
applyDamageFromWeapon
(int int0, float float0, int int1, float float1) boolean
areBodyPartsBleeding
(BodyPartType partA, BodyPartType partB) Returns TRUE if either body part is bleeding.void
DamageFromAnimal
(IsoAnimal isoAnimal) static void
damageFromSpikedArmor
(IsoGameCharacter isoGameCharacter0, IsoGameCharacter isoGameCharacter1, int int0, HandWeapon handWeapon) void
DamageFromWeapon
(HandWeapon handWeapon, int int0) void
decreaseBodyWetness
(float amount) void
DisableFakeInfection
(int BodyPartIndex) boolean
doBodyPartsHaveInjuries
(BodyPartType partA, BodyPartType partB) Returns TRUE if either body part is injured.boolean
void
DrawUntexturedQuad
(int X, int Y, int Width, int Height, float r, float g, float b, float a) float
float
getBodyPart
(BodyPartType type) float
getBodyPartHealth
(int BodyPartIndex) float
getBodyPartHealth
(BodyPartType BodyPart) getBodyPartName
(int BodyPartIndex) getBodyPartName
(BodyPartType BodyPart) float
float
float
float
float
float
int
int
float
float
int
int
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
float
int
int
int
int
int
int
int
int
float
float
float
float
float
float
float
float
int
float
static float
getSicknessFromCorpsesRate
(int corpseCount) float
int
int
int
int
int
float
int
float
float
float
int
float
boolean
float
boolean
void
increaseBodyWetness
(float amount) void
IncreasePanic
(int NumNewZombiesSeen) void
IncreasePanicFloat
(float delta) boolean
IsBandaged
(int BodyPartIndex) boolean
IsBandaged
(BodyPartType BodyPart) boolean
IsBitten
(int BodyPartIndex) boolean
IsBitten
(BodyPartType BodyPart) boolean
IsBleeding
(int BodyPartIndex) boolean
IsBleeding
(BodyPartType BodyPart) boolean
IsBleedingStemmed
(int BodyPartIndex) boolean
IsBleedingStemmed
(BodyPartType BodyPart) boolean
Returns TRUE if the specified body part's bleeding time is greater than 0.boolean
boolean
IsCauterized
(int int0) boolean
IsCauterized
(BodyPartType bodyPartType) boolean
IsCut
(BodyPartType BodyPart) boolean
IsDeepWounded
(BodyPartType BodyPart) boolean
boolean
IsFakeInfected
(int BodyPartIndex) boolean
boolean
isInf()
Deprecated.boolean
boolean
boolean
IsInfected
(int BodyPartIndex) boolean
IsInfected
(BodyPartType BodyPart) boolean
boolean
boolean
boolean
IsOnFire()
boolean
boolean
IsScratched
(int BodyPartIndex) boolean
IsScratched
(BodyPartType BodyPart) int
boolean
IsStitched
(int BodyPartIndex) boolean
IsStitched
(BodyPartType BodyPart) boolean
IsWounded
(int BodyPartIndex) boolean
IsWounded
(BodyPartType BodyPart) void
JustAteFood
(Food NewFood) void
JustAteFood
(Food NewFood, float percentage) void
JustAteFood
(Food food, float float1, boolean boolean0) void
JustDrankBooze
(Food food, float percentage) void
JustDrankBoozeFluid
(float float1) void
void
void
JustTookPill
(InventoryItem Pill) void
load
(ByteBuffer input, int WorldVersion) void
loadMainFields
(ByteBuffer byteBuffer, int int0) void
OnFire
(boolean OnFire) float
void
ReduceGeneralHealth
(float Val) void
void
void
save
(ByteBuffer output) void
saveMainFields
(ByteBuffer byteBuffer) void
SetBandaged
(int BodyPartIndex, boolean Bandaged, float bandageLife, boolean isAlcoholic, String bandageType) void
SetBitten
(int BodyPartIndex, boolean Bitten) void
SetBitten
(int BodyPartIndex, boolean Bitten, boolean Infected) void
SetBitten
(BodyPartType BodyPart, boolean Bitten) void
SetBleeding
(int BodyPartIndex, boolean Bleeding) void
SetBleeding
(BodyPartType BodyPart, boolean Bleeding) void
SetBleedingStemmed
(int BodyPartIndex, boolean BleedingStemmed) void
SetBleedingStemmed
(BodyPartType BodyPart, boolean BleedingStemmed) void
void
setBoredomDecreaseFromReading
(float _BoredomDecreaseFromReading) void
setBoredomLevel
(float _BoredomLevel) void
setBurntToDeath
(boolean _BurntToDeath) void
setCatchACold
(float _CatchACold) void
SetCauterized
(int int0, boolean boolean0) void
SetCauterized
(BodyPartType bodyPartType, boolean boolean0) void
setColdDamageStage
(float coldDamageStage) void
setColdProgressionRate
(float _ColdProgressionRate) void
setColdReduction
(float _coldReduction) void
setColdSneezeTimerMax
(int _ColdSneezeTimerMax) void
setColdSneezeTimerMin
(int _ColdSneezeTimerMin) void
setColdStrength
(float _ColdStrength) void
setContinualPainIncrease
(float _ContinualPainIncrease) void
setCurrentNumZombiesVisible
(int _CurrentNumZombiesVisible) void
SetCut
(int BodyPartIndex, boolean Cut) void
setDamageModCount
(int _DamageModCount) void
setDiscomfortLevel
(float float0) void
setDrunkIncreaseValue
(float _DrunkIncreaseValue) void
setDrunkReductionValue
(float _DrunkReductionValue) void
setFakeInfectionLevel
(float _FakeInfectionLevel) void
setFoodSicknessLevel
(float foodSicknessLevel) void
setHasACold
(boolean _HasACold) void
setHealthFromFood
(float _HealthFromFood) void
setHealthFromFoodTimer
(float _HealthFromFoodTimer) void
setHealthReductionFromSevereBadMoodles
(float _HealthReductionFromSevereBadMoodles) void
setInf
(boolean inf) Deprecated.void
setInfected
(boolean infected) void
setInfectionGrowthRate
(float _InfectionGrowthRate) void
setInfectionLevel
(float _InfectionLevel) void
setInfectionMortalityDuration
(float worldHours) void
setInfectionTime
(float worldHours) void
setInitialBitePain
(float _InitialBitePain) void
setInitialScratchPain
(float _InitialScratchPain) void
setInitialThumpPain
(float _InitialThumpPain) void
setInitialWoundPain
(float _InitialWoundPain) void
setIsFakeInfected
(boolean _IsFakeInfected) void
setIsOnFire
(boolean _IsOnFire) void
setMildColdSneezeTimerMax
(int _MildColdSneezeTimerMax) void
setMildColdSneezeTimerMin
(int _MildColdSneezeTimerMin) void
setNastyColdSneezeTimerMax
(int _NastyColdSneezeTimerMax) void
setNastyColdSneezeTimerMin
(int _NastyColdSneezeTimerMin) void
setOldNumZombiesVisible
(int _OldNumZombiesVisible) void
setOverallBodyHealth
(float _OverallBodyHealth) void
setPainReduction
(float _painReduction) void
setPainReductionFromMeds
(float _PainReductionFromMeds) void
setPanicIncreaseValue
(float _PanicIncreaseValue) void
setPanicReductionValue
(float _PanicReductionValue) void
setParentChar
(IsoGameCharacter _ParentChar) void
setPoisonLevel
(float poisonLevel) void
setReducedHealthAddition
(float _ReducedHealthAddition) void
setReduceFakeInfection
(boolean _reduceFakeInfection) void
setRemotePainLevel
(int painLevel) void
SetScratched
(int BodyPartIndex, boolean Scratched) void
SetScratched
(BodyPartType BodyPart, boolean Scratched) void
SetScratchedFromWeapon
(int BodyPartIndex, boolean Scratched) void
setSeverlyReducedHealthAddition
(float _SeverlyReducedHealthAddition) void
setSleepingHealthAddition
(float _SleepingHealthAddition) void
setSneezeCoughActive
(int _SneezeCoughActive) void
setSneezeCoughDelay
(int _SneezeCoughDelay) void
setSneezeCoughTime
(int _SneezeCoughTime) void
setStandardHealthAddition
(float _StandardHealthAddition) void
setStandardHealthFromFoodTime
(int _StandardHealthFromFoodTime) void
setStandardPainReductionWhenWell
(float _StandardPainReductionWhenWell) void
setTemperature
(float t) void
setTimeToSneezeOrCough
(int _TimeToSneezeOrCough) void
setUnhappynessLevel
(float _UnhappynessLevel) void
setWasDraggingCorpse
(boolean boolean0) void
setWetness
(float _Wetness) void
SetWounded
(int BodyPartIndex, boolean Wounded) void
SetWounded
(BodyPartType BodyPart, boolean Wounded) void
void
void
void
void
Update()
void
void
void
void
void
void
void
boolean
boolean
-
Field Details
-
BodyParts
-
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 -
SmokerSneezeTimerMin
public int SmokerSneezeTimerMin -
SmokerSneezeTimerMax
public int SmokerSneezeTimerMax -
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
-
InfectionLevelToZombify
public static final float InfectionLevelToZombify- See Also:
-
-
Constructor Details
-
BodyDamage
-
-
Method Details
-
getBodyPart
-
getBodyPartsLastState
-
setBodyPartsLastState
public void setBodyPartsLastState() -
load
- Throws:
IOException
-
save
- Throws:
IOException
-
saveMainFields
-
loadMainFields
-
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() -
UpdateDraggingCorpse
public void UpdateDraggingCorpse() -
UpdatePanicState
public void UpdatePanicState() -
JustDrankBooze
-
JustDrankBoozeFluid
public void JustDrankBoozeFluid(float float1) -
JustTookPill
-
JustAteFood
-
JustAteFood
-
JustAteFood
-
JustReadSomething
-
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
-
AddGeneralHealth
public void AddGeneralHealth(float Val) -
ReduceGeneralHealth
public void ReduceGeneralHealth(float Val) -
AddDamage
public void AddDamage(int BodyPartIndex, float val) -
splatBloodFloorBig
public void splatBloodFloorBig() -
damageFromSpikedArmor
public static void damageFromSpikedArmor(IsoGameCharacter isoGameCharacter0, IsoGameCharacter isoGameCharacter1, int int0, HandWeapon handWeapon) -
applyDamageFromWeapon
public void applyDamageFromWeapon(int int0, float float0, int int1, float float1) -
DamageFromWeapon
-
AddRandomDamageFromZombie
-
doesBodyPartHaveInjury
-
doBodyPartsHaveInjuries
Returns TRUE if either body part is injured. ie. A OR B -
isBodyPartBleeding
Returns TRUE if the specified body part's bleeding time is greater than 0. -
areBodyPartsBleeding
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
-
getBodyPartHealth
public float getBodyPartHealth(int BodyPartIndex) -
getBodyPartName
-
getBodyPartName
-
getHealth
public float getHealth() -
getInfectionLevel
public float getInfectionLevel() -
getApparentInfectionLevel
public float getApparentInfectionLevel() -
getNumPartsBleeding
public int getNumPartsBleeding() -
isNeckBleeding
public boolean isNeckBleeding() -
getNumPartsScratched
public int getNumPartsScratched() -
getNumPartsBitten
public int getNumPartsBitten() -
HasInjury
public boolean HasInjury() -
IsBandaged
-
IsDeepWounded
-
IsBandaged
public boolean IsBandaged(int BodyPartIndex) -
IsBitten
-
IsBitten
public boolean IsBitten(int BodyPartIndex) -
IsBleeding
-
IsBleeding
public boolean IsBleeding(int BodyPartIndex) -
IsBleedingStemmed
-
IsBleedingStemmed
public boolean IsBleedingStemmed(int BodyPartIndex) -
IsCauterized
-
IsCauterized
public boolean IsCauterized(int int0) -
IsInfected
public boolean IsInfected() -
IsInfected
-
IsInfected
public boolean IsInfected(int BodyPartIndex) -
IsFakeInfected
public boolean IsFakeInfected(int BodyPartIndex) -
DisableFakeInfection
public void DisableFakeInfection(int BodyPartIndex) -
IsScratched
-
IsCut
-
IsScratched
public boolean IsScratched(int BodyPartIndex) -
IsStitched
-
IsStitched
public boolean IsStitched(int BodyPartIndex) -
IsWounded
-
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
-
SetBitten
public void SetBitten(int BodyPartIndex, boolean Bitten) -
SetBitten
public void SetBitten(int BodyPartIndex, boolean Bitten, boolean Infected) -
SetBleeding
-
SetBleeding
public void SetBleeding(int BodyPartIndex, boolean Bleeding) -
SetBleedingStemmed
-
SetBleedingStemmed
public void SetBleedingStemmed(int BodyPartIndex, boolean BleedingStemmed) -
SetCauterized
-
SetCauterized
public void SetCauterized(int int0, boolean boolean0) -
setScratchedWindow
-
SetScratched
-
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
-
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() -
splatBloodFloor
public void splatBloodFloor() -
Update
public void Update() -
getSicknessFromCorpsesRate
public static float getSicknessFromCorpsesRate(int corpseCount) -
GetBaseCorpseSickness
public float GetBaseCorpseSickness() -
UseBandageOnMostNeededPart
public boolean UseBandageOnMostNeededPart() -
getBodyParts
-
getDamageModCount
public int getDamageModCount()- Returns:
- the DamageModCount
-
setDamageModCount
public void setDamageModCount(int _DamageModCount) -
getInfectionGrowthRate
public float getInfectionGrowthRate()- Returns:
- the InfectionGrowthRate
-
setInfectionGrowthRate
public void setInfectionGrowthRate(float _InfectionGrowthRate) -
setInfectionLevel
public void setInfectionLevel(float _InfectionLevel) -
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
-
setInf
Deprecated. -
getFakeInfectionLevel
public float getFakeInfectionLevel()- Returns:
- the FakeInfectionLevel
-
setFakeInfectionLevel
public void setFakeInfectionLevel(float _FakeInfectionLevel) -
isIsFakeInfected
public boolean isIsFakeInfected()- Returns:
- the IsFakeInfected
-
setIsFakeInfected
public void setIsFakeInfected(boolean _IsFakeInfected) -
getOverallBodyHealth
public float getOverallBodyHealth()- Returns:
- the OverallBodyHealth
-
setOverallBodyHealth
public void setOverallBodyHealth(float _OverallBodyHealth) -
getStandardHealthAddition
public float getStandardHealthAddition()- Returns:
- the StandardHealthAddition
-
setStandardHealthAddition
public void setStandardHealthAddition(float _StandardHealthAddition) -
getReducedHealthAddition
public float getReducedHealthAddition()- Returns:
- the ReducedHealthAddition
-
setReducedHealthAddition
public void setReducedHealthAddition(float _ReducedHealthAddition) -
getSeverlyReducedHealthAddition
public float getSeverlyReducedHealthAddition()- Returns:
- the SeverlyReducedHealthAddition
-
setSeverlyReducedHealthAddition
public void setSeverlyReducedHealthAddition(float _SeverlyReducedHealthAddition) -
getSleepingHealthAddition
public float getSleepingHealthAddition()- Returns:
- the SleepingHealthAddition
-
setSleepingHealthAddition
public void setSleepingHealthAddition(float _SleepingHealthAddition) -
getHealthFromFood
public float getHealthFromFood()- Returns:
- the HealthFromFood
-
setHealthFromFood
public void setHealthFromFood(float _HealthFromFood) -
getHealthReductionFromSevereBadMoodles
public float getHealthReductionFromSevereBadMoodles()- Returns:
- the HealthReductionFromSevereBadMoodles
-
setHealthReductionFromSevereBadMoodles
public void setHealthReductionFromSevereBadMoodles(float _HealthReductionFromSevereBadMoodles) -
getStandardHealthFromFoodTime
public int getStandardHealthFromFoodTime()- Returns:
- the StandardHealthFromFoodTime
-
setStandardHealthFromFoodTime
public void setStandardHealthFromFoodTime(int _StandardHealthFromFoodTime) -
getHealthFromFoodTimer
public float getHealthFromFoodTimer()- Returns:
- the HealthFromFoodTimer
-
setHealthFromFoodTimer
public void setHealthFromFoodTimer(float _HealthFromFoodTimer) -
setBoredomLevel
public void setBoredomLevel(float _BoredomLevel) -
getBoredomDecreaseFromReading
public float getBoredomDecreaseFromReading()- Returns:
- the BoredomDecreaseFromReading
-
setBoredomDecreaseFromReading
public void setBoredomDecreaseFromReading(float _BoredomDecreaseFromReading) -
getInitialThumpPain
public float getInitialThumpPain()- Returns:
- the InitialThumpPain
-
setInitialThumpPain
public void setInitialThumpPain(float _InitialThumpPain) -
getInitialScratchPain
public float getInitialScratchPain()- Returns:
- the InitialScratchPain
-
setInitialScratchPain
public void setInitialScratchPain(float _InitialScratchPain) -
getInitialBitePain
public float getInitialBitePain()- Returns:
- the InitialBitePain
-
setInitialBitePain
public void setInitialBitePain(float _InitialBitePain) -
getInitialWoundPain
public float getInitialWoundPain()- Returns:
- the InitialWoundPain
-
setInitialWoundPain
public void setInitialWoundPain(float _InitialWoundPain) -
getContinualPainIncrease
public float getContinualPainIncrease()- Returns:
- the ContinualPainIncrease
-
setContinualPainIncrease
public void setContinualPainIncrease(float _ContinualPainIncrease) -
getPainReductionFromMeds
public float getPainReductionFromMeds()- Returns:
- the PainReductionFromMeds
-
setPainReductionFromMeds
public void setPainReductionFromMeds(float _PainReductionFromMeds) -
getStandardPainReductionWhenWell
public float getStandardPainReductionWhenWell()- Returns:
- the StandardPainReductionWhenWell
-
setStandardPainReductionWhenWell
public void setStandardPainReductionWhenWell(float _StandardPainReductionWhenWell) -
getOldNumZombiesVisible
public int getOldNumZombiesVisible()- Returns:
- the OldNumZombiesVisible
-
setOldNumZombiesVisible
public void setOldNumZombiesVisible(int _OldNumZombiesVisible) -
getWasDraggingCorpse
public boolean getWasDraggingCorpse() -
setWasDraggingCorpse
public void setWasDraggingCorpse(boolean boolean0) -
getCurrentNumZombiesVisible
public int getCurrentNumZombiesVisible()- Returns:
- the CurrentNumZombiesVisible
-
setCurrentNumZombiesVisible
public void setCurrentNumZombiesVisible(int _CurrentNumZombiesVisible) -
getPanicIncreaseValue
public float getPanicIncreaseValue()- Returns:
- the PanicIncreaseValue
-
getPanicIncreaseValueFrame
public float getPanicIncreaseValueFrame() -
setPanicIncreaseValue
public void setPanicIncreaseValue(float _PanicIncreaseValue) -
getPanicReductionValue
public float getPanicReductionValue()- Returns:
- the PanicReductionValue
-
setPanicReductionValue
public void setPanicReductionValue(float _PanicReductionValue) -
getDrunkIncreaseValue
public float getDrunkIncreaseValue()- Returns:
- the DrunkIncreaseValue
-
setDrunkIncreaseValue
public void setDrunkIncreaseValue(float _DrunkIncreaseValue) -
getDrunkReductionValue
public float getDrunkReductionValue()- Returns:
- the DrunkReductionValue
-
setDrunkReductionValue
public void setDrunkReductionValue(float _DrunkReductionValue) -
isIsOnFire
public boolean isIsOnFire()- Returns:
- the IsOnFire
-
setIsOnFire
public void setIsOnFire(boolean _IsOnFire) -
isBurntToDeath
public boolean isBurntToDeath()- Returns:
- the BurntToDeath
-
setBurntToDeath
public void setBurntToDeath(boolean _BurntToDeath) -
setWetness
public void setWetness(float _Wetness) -
getCatchACold
public float getCatchACold()- Returns:
- the CatchACold
-
setCatchACold
public void setCatchACold(float _CatchACold) -
isHasACold
public boolean isHasACold()- Returns:
- the HasACold
-
setHasACold
public void setHasACold(boolean _HasACold) -
setColdStrength
public void setColdStrength(float _ColdStrength) -
getColdProgressionRate
public float getColdProgressionRate()- Returns:
- the ColdProgressionRate
-
setColdProgressionRate
public void setColdProgressionRate(float _ColdProgressionRate) -
getTimeToSneezeOrCough
public int getTimeToSneezeOrCough()- Returns:
- the TimeToSneezeOrCough
-
setTimeToSneezeOrCough
public void setTimeToSneezeOrCough(int _TimeToSneezeOrCough) -
getSmokerSneezeTimerMin
public int getSmokerSneezeTimerMin() -
getSmokerSneezeTimerMax
public int getSmokerSneezeTimerMax() -
getMildColdSneezeTimerMin
public int getMildColdSneezeTimerMin()- Returns:
- the MildColdSneezeTimerMin
-
setMildColdSneezeTimerMin
public void setMildColdSneezeTimerMin(int _MildColdSneezeTimerMin) -
getMildColdSneezeTimerMax
public int getMildColdSneezeTimerMax()- Returns:
- the MildColdSneezeTimerMax
-
setMildColdSneezeTimerMax
public void setMildColdSneezeTimerMax(int _MildColdSneezeTimerMax) -
getColdSneezeTimerMin
public int getColdSneezeTimerMin()- Returns:
- the ColdSneezeTimerMin
-
setColdSneezeTimerMin
public void setColdSneezeTimerMin(int _ColdSneezeTimerMin) -
getColdSneezeTimerMax
public int getColdSneezeTimerMax()- Returns:
- the ColdSneezeTimerMax
-
setColdSneezeTimerMax
public void setColdSneezeTimerMax(int _ColdSneezeTimerMax) -
getNastyColdSneezeTimerMin
public int getNastyColdSneezeTimerMin()- Returns:
- the NastyColdSneezeTimerMin
-
setNastyColdSneezeTimerMin
public void setNastyColdSneezeTimerMin(int _NastyColdSneezeTimerMin) -
getNastyColdSneezeTimerMax
public int getNastyColdSneezeTimerMax()- Returns:
- the NastyColdSneezeTimerMax
-
setNastyColdSneezeTimerMax
public void setNastyColdSneezeTimerMax(int _NastyColdSneezeTimerMax) -
getSneezeCoughActive
public int getSneezeCoughActive()- Returns:
- the SneezeCoughActive
-
setSneezeCoughActive
public void setSneezeCoughActive(int _SneezeCoughActive) -
getSneezeCoughTime
public int getSneezeCoughTime()- Returns:
- the SneezeCoughTime
-
setSneezeCoughTime
public void setSneezeCoughTime(int _SneezeCoughTime) -
getSneezeCoughDelay
public int getSneezeCoughDelay()- Returns:
- the SneezeCoughDelay
-
setSneezeCoughDelay
public void setSneezeCoughDelay(int _SneezeCoughDelay) -
setUnhappynessLevel
public void setUnhappynessLevel(float _UnhappynessLevel) -
getParentChar
- Returns:
- the ParentChar
-
setParentChar
-
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
-
decreaseBodyWetness
public void decreaseBodyWetness(float amount) -
increaseBodyWetness
public void increaseBodyWetness(float amount) -
DamageFromAnimal
-
getGeneralWoundInfectionLevel
public float getGeneralWoundInfectionLevel() -
UpdateDiscomfort
public void UpdateDiscomfort() -
getDiscomfortLevel
public float getDiscomfortLevel() -
setDiscomfortLevel
public void setDiscomfortLevel(float float0) -
addStiffness
-
addStiffness
-