DIFF

class PortableGasStoveSource

PortableGasStove ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constants 10

protected const string FLAME_BUTANE_ON = "dz\\gear\\cooking\\data\\flame_butane_ca.paa"
Referenced by RefreshFlameVisual()
protected const string FLAME_BUTANE_OFF = ""
Referenced by RefreshFlameVisual()
protected const float PARAM_COOKING_TIME_INC_COEF = 0.5

cooking time increase coeficient, can be used when balancing how fast a food can be cooked

Referenced by CookWithEquipment()
protected const float PARAM_COOKING_TARGET_TEMP = 400

target temperature for general item heating

const string SOUND_BURNING = "portablegasstove_burn_SoundSet"
Referenced by SoundBurningStart()
const string SOUND_TURN_ON = "portablegasstove_turn_on_SoundSet"
Referenced by SoundTurnOn()
const string SOUND_TURN_OFF = "portablegasstove_turn_off_SoundSet"
Referenced by SoundTurnOff()
protected const float PARAM_COOKING_TEMP_THRESHOLD = 100

DEPRECATED

protected const float PARAM_COOKING_EQUIP_MAX_TEMP = 400

DEPRECATED

protected const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10

DEPRECATED

Members 13

StoveLight m_Light
Referenced by OnWorkStart(), and OnWorkStop()
typename ATTACHMENT_COOKING_POT = Pot
typename ATTACHMENT_FRYING_PAN = FryingPan
typename ATTACHMENT_CAULDRON = Cauldron
private float m_TimeFactor
Referenced by CookWithEquipment(), and OnWork()
ref Cooking m_CookingProcess
Referenced by ClearCookingEquipment(), CookWithEquipment(), EEInit()
Show 1 more, OnSwitchOff()
ItemBase m_CookingEquipment
protected EffectSound m_SoundBurningLoop
protected EffectSound m_SoundTurnOn
Referenced by SoundTurnOn()
protected EffectSound m_SoundTurnOff
Referenced by SoundTurnOff()
protected ref UniversalTemperatureSource m_UTSource
Referenced by EEInit(), OnSwitchOff(), OnSwitchOn()
Show 1 more, OnWork()
protected ref UniversalTemperatureSourceSettings m_UTSSettings
Referenced by EEInit(), and OnWork()
Referenced by EEInit(), and OnWork()

Methods 30

ItemBase GetCookingEquipment()
void SetCookingEquipment(ItemBase equipment)
void ClearCookingEquipment(ItemBase pItem)
Referenced by EEItemDetached()
void DestroyFireplace()
override void OnWorkStop()
void CookWithEquipment()

damaging of cookware

Referenced by OnWork()
override bool GetCookingTargetTemperature(out float temperature)
Referenced by OnWork()
protected void RefreshFlameVisual(bool working = false, bool hasAttachment = false)
Referenced by EEItemAttached(), EEItemDetached(), OnWorkStart()
Show 1 more, OnWorkStop()
protected void RemoveCookingAudioVisuals()

shrinked flame selection

Referenced by EEItemDetached(), and OnWorkStop()
protected void SoundBurningStart()
Referenced by OnWorkStart()
protected void SoundBurningStop()
Referenced by OnWorkStop()
protected void SoundTurnOn()
Referenced by OnSwitchOn()
protected void SoundTurnOff()
Referenced by OnSwitchOff()
override bool IsSelfAdjustingTemperature()
override bool CanRemoveFromCargo(EntityAI parent)
override bool IsIgnited()
override bool CanIgniteItem(EntityAI ignite_target = NULL)
override void SetActions()