52 player.IncreaseDiseaseCount();
62 player.DecreaseDiseaseCount();
67 int agent_max = PluginTransmissionAgents.GetAgentMaxCount(
eAgents.FOOD_POISON);
68 int agent_count = player.m_AgentPool.GetSingleAgentCount(
eAgents.FOOD_POISON);
69 float stomach_volume = player.m_PlayerStomach.GetStomachVolume();
74 chance = (chance / 3600) * deltaT;
78 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
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
static float EaseInCirc(float t)
override bool DeactivateCondition(PlayerBase player)
override void OnReconnect(PlayerBase player)
override void OnActivate(PlayerBase player)
static const int AGENT_THRESHOLD_ACTIVATE
override string GetDebugText()
static const int WATER_DRAIN_FROM_VOMIT
static const int VOMIT_OCCURRENCES_PER_HOUR_MAX
override void OnTick(PlayerBase player, float deltaT)
static const int AGENT_THRESHOLD_DEACTIVATE
override bool ActivateCondition(PlayerBase player)
override void OnDeactivate(PlayerBase player)
static const int ENERGY_DRAIN_FROM_VOMIT
static const int VOMIT_OCCURRENCES_PER_HOUR_MIN
void SetDuration(float duration)
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
class HumanMovementState OnActivate()
HumanCommandScript fully scriptable command.