Package zombie.characters.BodyDamage
Class BodyDamage
java.lang.Object
zombie.characters.BodyDamage.BodyDamage
-
Field Summary
Modifier 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
float
int
float
int
float
float
-
Constructor Summary
-
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.boolean
areBodyPartsBleeding
(BodyPartType partA, BodyPartType partB) Returns TRUE if either body part is bleeding.void
DamageFromWeapon
(HandWeapon weapon) When hit by another player in MPvoid
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
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
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
float
int
float
float
float
int
float
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
IsCortorised
(int BodyPartIndex) boolean
IsCortorised
(BodyPartType BodyPart) 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
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
JustDrankBooze
(Food food, float percentage) void
void
void
JustTookPill
(InventoryItem Pill) void
load
(ByteBuffer input, int WorldVersion) void
OnFire
(boolean OnFire) float
void
ReduceGeneralHealth
(float Val) void
void
void
save
(ByteBuffer output) 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
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
SetCortorised
(int BodyPartIndex, boolean Cortorised) void
SetCortorised
(BodyPartType BodyPart, boolean Cortorised) void
setCurrentNumZombiesVisible
(int CurrentNumZombiesVisible) void
SetCut
(int BodyPartIndex, boolean Cut) void
setDamageModCount
(int DamageModCount) 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
setWetness
(float Wetness) void
SetWounded
(int BodyPartIndex, boolean Wounded) void
SetWounded
(BodyPartType BodyPart, boolean Wounded) void
void
void
void
Update()
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 -
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
-
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
-
JustTookPill
-
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() -
DamageFromWeapon
When hit by another player in MP- Parameters:
weapon
-
-
AddRandomDamageFromZombie
This gonna decide the strength of the damage you'll get. Getting surrounded can also trigger an instant death animation.- Parameters:
zombie
-hitReaction
-
-
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() -
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) -
IsCortorised
-
IsCortorised
public boolean IsCortorised(int BodyPartIndex) -
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) -
SetCortorised
-
SetCortorised
public void SetCortorised(int BodyPartIndex, boolean Cortorised) -
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() -
Update
public void Update() -
getSicknessFromCorpsesRate
public static float getSicknessFromCorpsesRate(int corpseCount) -
UseBandageOnMostNeededPart
public boolean UseBandageOnMostNeededPart() -
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.- Returns:
- the inf
-
setInf
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
- Returns:
- the ParentChar
-
setParentChar
- 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
-
decreaseBodyWetness
public void decreaseBodyWetness(float amount) -
increaseBodyWetness
public void increaseBodyWetness(float amount)
-