DIFF

class Bottle_BaseSource

Bottle_Base Edible_Base ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 2

Constants 2

const string SOUND_BOILING_EMPTY = "Boiling_SoundSet"
Referenced by RefreshAudioVisuals()
private const float QUANTITY_EMPTIED_PER_SEC_DEFAULT = 200

default

Referenced by Bottle_Base()

Members 17

protected Particle m_ParticleCooking
protected int m_ParticlePlaying = ParticleList.INVALID
protected int PARTICLE_BOILING_EMPTY = ParticleList.COOKING_BOILING_EMPTY
Referenced by RefreshAudioVisuals()
protected int PARTICLE_BOILING_START = ParticleList.COOKING_BOILING_START
Referenced by RefreshAudioVisuals()
protected int PARTICLE_BOILING_DONE = ParticleList.COOKING_BOILING_DONE
Referenced by RefreshAudioVisuals()
protected int PARTICLE_BAKING_START = ParticleList.COOKING_BAKING_START
Referenced by RefreshAudioVisuals()
protected int PARTICLE_BAKING_DONE = ParticleList.COOKING_BAKING_DONE
Referenced by RefreshAudioVisuals()
protected int PARTICLE_DRYING_START = ParticleList.COOKING_DRYING_START
Referenced by RefreshAudioVisuals()
protected int PARTICLE_DRYING_DONE = ParticleList.COOKING_DRYING_DONE
Referenced by RefreshAudioVisuals()
protected int PARTICLE_BURNING_DONE = ParticleList.COOKING_BURNING_DONE
Referenced by RefreshAudioVisuals()
protected EffectSound m_PouringLoopSound
protected EffectSound m_EmptyingLoopSound
protected bool m_CookingIsDone
protected bool m_CookingIsEmpty
protected bool m_CookingIsBurned
float m_LiquidEmptyRate

Methods 29

override void EEDelete(EntityAI parent)
override int GetConsumptionPenaltyContext()
override void Synchronize()

no penalty while drinking

override void RemoveAudioVisualsOnClient()
override void RefreshAudioVisualsOnClient(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)
void RefreshAudioVisuals(CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned)

Remnants of old, responsible for particles and some (empty) sounds. Cooked items take care of the rest themselves

void RemoveAudioVisuals()
void ParticleCookingStop()
void PlayPouringLoopSound()
Referenced by OnRPC()
void StopPouringLoopSound()
Referenced by OnRPC()
void PlayEmptyingLoopSound()
Referenced by OnRPC()
string GetPouringSoundset()
string GetEmptyingLoopSoundsetHard()
string GetEmptyingLoopSoundsetSoft()
string GetEmptyingLoopSoundsetWater()
string GetEmptyingEndSoundsetHard()
string GetEmptyingEndSoundsetSoft()
string GetEmptyingEndSoundsetWater()
float GetLiquidEmptyRate()

Returns base liquid empty rate (absolute)..preferrably use the 'GetLiquidThroughputCoef' instead

override void SetActions()
override void OnDebugSpawn()