37 player.IncreaseDiseaseCount();
42 player.DecreaseDiseaseCount();
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
void OnTick(PlayerBase player, float deltaT)
static const int CHANCE_OF_VOMIT
static const float WATER_LOSS_CHOLERA
static const int AGENT_THRESHOLD_DEACTIVATE
bool ActivateCondition(PlayerBase player)
static const float WATER_LOSS_CHOLERA_MIN
void OnActivate(PlayerBase player)
override string GetDebugText()
void OnDeactivate(PlayerBase player)
bool DeactivateCondition(PlayerBase player)
static const int AGENT_THRESHOLD_ACTIVATE
static const int WATER_DRAIN_FROM_VOMIT
static const int CHANCE_OF_VOMIT_AGENT
static const int ENERGY_DRAIN_FROM_VOMIT
static const float STOMACH_MIN_VOLUME
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].