DIFF

class SalmonellaMdfrSource

SalmonellaMdfr ModifierBase

All members, including inherited

Constants 9

static const int AGENT_THRESHOLD_ACTIVATE = 60
static const int AGENT_THRESHOLD_DEACTIVATE = 20
static const int CHANCE_OF_VOMIT = 10

base vomit chance

Referenced by OnTick()
static const int CHANCE_OF_VOMIT_AGENT = 20

adjusted by the agent count

Referenced by OnTick()
static const int WATER_DRAIN_FROM_VOMIT = 450
Referenced by OnTick()
static const int ENERGY_DRAIN_FROM_VOMIT = 310
Referenced by OnTick()
static const float STOMACH_MIN_VOLUME = 200

min volume of stomach for vomit symptom

Referenced by OnTick()
static const float EVENT_INTERVAL_MIN = 12
Referenced by OnTick()
static const float EVENT_INTERVAL_MAX = 18
Referenced by OnTick()

Members 4

private float m_Time
Referenced by OnTick()
private float m_NextEvent
Referenced by OnTick()
private float m_ExhaustionTimer
Referenced by OnDeactivate(), and OnTick()
private bool m_Exhaustion
Referenced by OnDeactivate(), and OnTick()

Methods 7

override string GetDebugText()
override protected bool ActivateCondition(PlayerBase player)
override protected bool DeactivateCondition(PlayerBase player)