41 player.IncreaseDiseaseCount();
46 player.DecreaseDiseaseCount();
65 player.GetStatWater().Add( -water_loss );
67 float stomach_volume = player.m_PlayerStomach.GetStomachVolume();
73 SymptomBase symptom = player.GetSymptomManager().QueueUpPrimarySymptom( SymptomIDs.SYMPTOM_VOMIT );
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE
static const int CHANCE_OF_VOMIT_AGENT
static const float STOMACH_MIN_VOLUME
static const float WATER_LOSS_CHOLERA
static const int AGENT_THRESHOLD_ACTIVATE
override string GetDebugText()
static const int WATER_DRAIN_FROM_VOMIT
static const int CHANCE_OF_VOMIT
static const float WATER_LOSS_CHOLERA_MIN
override protected void OnDeactivate(PlayerBase player)
override protected bool DeactivateCondition(PlayerBase player)
static const int AGENT_THRESHOLD_DEACTIVATE
override protected void OnActivate(PlayerBase player)
override protected bool ActivateCondition(PlayerBase player)
static const int ENERGY_DRAIN_FROM_VOMIT
override protected void OnTick(PlayerBase player, float deltaT)
void SetDuration(float duration)
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].