Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
fireplacebase.c File Reference

Go to the source code of this file.

Enumerations

enum  FireplaceFireState {
  NO_FIRE = 1, START_FIRE = 2, SMALL_FIRE = 3, NORMAL_FIRE = 4,
  END_FIRE = 5, EXTINGUISHING_FIRE = 6, EXTINGUISHED_FIRE = 7, REIGNITED_FIRE = 8,
  COUNT = 9
}
 

Functions

protected void FireplaceBase ()
 
protected void ~FireplaceBase ()
 
override void EEInit ()
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void OnAttachmentRuined (EntityAI attachment)
 
override void EEDelete (EntityAI parent)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void AfterStoreLoad ()
 
void Synchronize ()
 
override void OnVariablesSynchronized ()
 
override bool IsFireplace ()
 
bool IsBaseFireplace ()
 
bool IsBarrelWithHoles ()
 
bool IsFireplaceIndoor ()
 
bool IsIndoorOven ()
 
override bool CanHaveWetness ()
 
override bool CanHaveTemperature ()
 
ItemBase GetCookingEquipment ()
 
void SetCookingEquipment (ItemBase equipment)
 
void ClearCookingEquipment (ItemBase pItem)
 
void ClearCookingEquipment ()
 DEPRECATED. More...
 
bool DirectCookingSlotsInUse ()
 
bool SmokingSlotsInUse ()
 
void DestroyFireplace ()
 [DEPRECATED] More...
 
override bool IsPrepareToDelete ()
 
override void EECargoOut (EntityAI item)
 
void RefreshFireplaceVisuals ()
 
protected void SetBurntFirewood ()
 
void RefreshFireplacePhysics ()
 
protected void RefreshFireParticlesAndSounds (bool force_refresh)
 
protected void StopAllParticlesAndSounds ()
 
bool CanShowSmoke ()
 
void RefreshFireState ()
 
protected bool PlayParticle (out Particle particle, int particle_type, vector pos, bool worldpos=false)
 
protected bool StopParticle (out Particle particle)
 
protected void ParticleFireStartStart ()
 
protected void ParticleFireStartStop ()
 
protected void ParticleSmallFireStart ()
 
protected void ParticleSmallFireStop ()
 
protected void ParticleNormalFireStart ()
 
protected void ParticleNormalFireStop ()
 
protected void ParticleSmallSmokeStart ()
 
protected void ParticleSmallSmokeStop ()
 
protected void ParticleNormalSmokeStart ()
 
protected void ParticleNormalSmokeStop ()
 
protected void ParticleFireEndStart ()
 
protected void ParticleFireEndStop ()
 
protected void ParticleFireWindyNoIgniteStart ()
 
protected void ParticleSteamExtinguishingStart ()
 
protected void ParticleSteamExtinguishingStop ()
 
protected void ParticleSteamEndStart ()
 
protected void ParticleSteamEndStop ()
 
protected void ParticleWetNoIgniteStart ()
 
protected void ParticleWetNoIgniteStop ()
 
bool GetCeilingHeight (out float actual_height)
 
float GetAirResistanceForSmokeParticles (float actual_height)
 
protected vector GetFireEffectPosition ()
 
protected vector GetSmokeEffectPosition ()
 
protected void SoundFireLightStart ()
 
protected void SoundFireHeavyStart ()
 
protected void SoundFireNoFireStart ()
 
protected void SoundFireExtinguishedStart ()
 
protected void SoundFireWetNoIgniteStart ()
 
protected void SoundFireExtinguishingStart ()
 
protected void SoundFireWindyNoIgniteStart ()
 
protected void SoundFireStop ()
 
protected void AddToFireConsumables (ItemBase item)
 
protected float GetFireConsumableTypeEnergy (ItemBase item)
 
protected void RemoveFromFireConsumables (FireConsumable fire_consumable)
 
protected FireConsumable GetFireConsumableByItem (ItemBase item)
 
protected FireConsumable SetItemToConsume ()
 
protected FireConsumable GetItemToConsume ()
 
protected void SpendFireConsumable (float amount)
 
protected int GetKindlingCount ()
 Returns count of all kindling type items (define in 'm_KindlingTypes') attached to fireplace. More...
 
protected int GetFuelCount ()
 Returns count of all fuel type items (define in 'm_FuelTypes') attached to fireplace. More...
 
protected bool IsKindling (ItemBase item)
 Returns if item attached to fireplace is kindling. More...
 
protected bool IsFuel (ItemBase item)
 Returns if item attached to fireplace is fuel. More...
 
bool IsItemTypeAttached (typename item_type)
 
bool IsItemAttachedQuantity (typename item_type, float quantity)
 
bool HasLastAttachment ()
 
bool HasLastFuelKindlingAttached ()
 
bool IsBurning ()
 
protected void SetBurningState (bool is_burning)
 
bool HasAshes ()
 
protected void SetAshesState (bool has_ashes)
 
bool IsOven ()
 
bool HasStoneCircle ()
 
bool HasStones ()
 
int GetAttachedStonesCount ()
 
void SetOvenState (bool is_oven)
 
void SetStoneCircleState (bool has_stonecircle)
 
protected float GetTemperatureLossMP ()
 
protected void SetTemperatureLossMP (float value)
 
protected float GetFuelBurnRateMP ()
 
protected void SetFuelBurnRateMP (float value)
 
protected int GetFireState ()
 
protected void SetFireState (FireplaceFireState state)
 
void SetExtinguishingState ()
 
void StartFire (bool force_start=false)
 
protected void StartHeating ()
 
protected void Heating ()
 
void StopFire (FireplaceFireState fire_state=FireplaceFireState.END_FIRE)
 
protected void StopHeating ()
 
protected void StartCooling ()
 
protected void Cooling ()
 
protected void StopCooling ()
 
protected void CookWithEquipment ()
 
Cooking GetCookingProcess ()
 
protected void CookOnDirectSlot (ItemBase slot_item, float temp_equip, float temp_ext)
 
protected void SmokeOnSmokingSlot (ItemBase slot_item, float temp_equip, float temp_ext)
 
protected void BurnItemsInFireplace ()
 
protected void AddTemperatureToItemByFire (ItemBase item)
 
protected void AddTemperatureToFireplace (float amount)
 DEPRECATED. More...
 
protected void AddDamageToItemByFireEx (ItemBase item, bool can_be_ruined, bool pAttachment)
 
protected void AddDamageToItemByFire (ItemBase item, bool can_be_ruined)
 
protected void AddWetnessToItem (ItemBase item, float amount)
 
void AddWetnessToFireplace (float amount)
 
protected void TransferHeatToNearPlayers ()
 DEPRECATED. More...
 
void CreateAreaDamage ()
 
void DestroyAreaDamage ()
 
bool IsFacingFireplace (PlayerBase player)
 DEPRECATED. More...
 
bool HasAnyKindling ()
 
bool GetIgniteFailure ()
 
void SetIgniteFailure (bool failure)
 
bool IsWet ()
 
bool IsRoofAbove ()
 
override bool IsOpen ()
 
bool IsCeilingHighEnoughForSmoke ()
 
bool IsRainingAbove ()
 
bool IsOnWaterSurface ()
 
bool IsOnInteriorSurface ()
 
override bool IsEmpty ()
 
bool IsCargoEmpty ()
 
bool HasCookingStand ()
 
bool IsInAnimPhase (string anim_phase)
 
bool IsSpaceFor (vector size)
 
override bool CanSwapEntities (EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
 
bool CanBuildOven ()
 
bool IsSpaceForOven ()
 
bool CanBuildStoneCircle ()
 
bool IsSpaceForCircle ()
 
bool CanDismantleOven ()
 
bool CanDismantleStoneCircle ()
 
bool CanCookOnStick ()
 
bool CanExtinguishFire ()
 
FireplaceLight GetLightEntity ()
 
void SetLightEntity (FireplaceLight light)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override string GetPlaceSoundset ()
 
protected void CalcAndSetTotalEnergy ()
 
protected void CalcAndSetQuantity ()
 
override void OnAttachmentQuantityChanged (ItemBase item)
 
override bool CanReleaseAttachment (EntityAI attachment)
 
void LockOvenAttachments (bool lock)
 
override bool DisassembleOnLastDetach ()
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 
override void OnDebugSpawn ()
 
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
 
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
 

Variables

enum FireplaceFireState WIND = 0
 
enum FireplaceFireState WET = 1
 
enum FireplaceFireState m_IsBurning = false
 
protected bool m_HasAshes = false
 
protected bool m_IsOven = false
 
protected bool m_HasStoneCircle = false
 
protected bool m_RoofAbove = false
 
protected bool m_NoIgnite = false
 
protected int m_OvenAttachmentsLockState = -1
 
protected FireplaceFireState m_FireState = FireplaceFireState.NO_FIRE
 
protected FireplaceFireState m_LastFireState = FireplaceFireState.NO_FIRE
 
protected vector m_HalfExtents
 
protected float m_TemperatureLossMP = 1.0
 
protected float m_FuelBurnRateMP = 1.0
 determines how fast will the fireplace loose its temperature when cooling (lower is better) More...
 
protected ref Cooking m_CookingProcess
 determines how fast will the fuel item burn before spending (lower is better) More...
 
const float PARAM_SMALL_FIRE_TEMPERATURE = 150
 
const float PARAM_NORMAL_FIRE_TEMPERATURE = 1000
 maximum fireplace temperature of a small fire (degree Celsius) More...
 
const float PARAM_MIN_FIRE_TEMPERATURE = 30
 maximum fireplace temperature of a normal fire (degree Celsius) More...
 
const float PARAM_TEMPERATURE_INCREASE = 3
 minimum fireplace temperature under which the fireplace is inactive (degree Celsius) More...
 
const float PARAM_TEMPERATURE_DECREASE = 3
 how much will temperature increase when fireplace is burning (degree Celsius per second) More...
 
const float PARAM_MAX_WET_TO_IGNITE = 0.2
 how much will temperature decrease when fireplace is cooling (degree Celsius per second) More...
 
const float PARAM_MIN_TEMP_TO_REIGNITE = 30
 maximum wetness value when the fireplace can be ignited More...
 
const float PARAM_IGNITE_RAIN_THRESHOLD = 0.1
 minimum fireplace temperature under which the fireplace can be reignited using air only (degree Celsius) More...
 
const float PARAM_BURN_WET_THRESHOLD = 0.40
 maximum rain value when the fireplace can be ignited More...
 
const float PARAM_WET_INCREASE_COEF = 0.02
 maximum wetness value when the fireplace is able to burn More...
 
const float PARAM_WET_HEATING_DECREASE_COEF = 0.01
 value for calculating of wetness that fireplace gain when raining More...
 
const float PARAM_WET_COOLING_DECREASE_COEF = 0.002
 value for calculating wetness loss during heating process More...
 
const float PARAM_FIRE_CONSUM_RATE_AMOUNT = 0.5
 value for calculating wetness loss during cooling process More...
 
const float PARAM_BURN_DAMAGE_COEF = 5.0
 base value of fire consumption rate (how many base energy will be spent on each update) More...
 
const float PARAM_ITEM_HEAT_TEMP_INCREASE_COEF = 10
 value for calculating damage on items located in fireplace cargo More...
 
const float PARAM_ITEM_HEAT_MIN_TEMP = 40
 value for calculating temperature increase on each heat update interval (degree Celsius) More...
 
const float PARAM_MAX_ITEM_HEAT_TEMP_INCREASE = 200
 minimum temperature for items that can be heated in fireplace cargo or as attachments (degree Celsius) More...
 
const float PARAM_FULL_HEAT_RADIUS = 2.0
 maximum value of temperature of items in fireplace when heating (degree Celsius) More...
 
const float PARAM_HEAT_RADIUS = 4.0
 radius in which objects are fully heated by fire More...
 
const float PARAM_HEAT_THROUGH_AIR_COEF = 0.1
 radius in which objects are heated by fire More...
 
const float PARAM_MAX_TRANSFERED_TEMPERATURE = 25
 DEPRECATED value for calculation of heat transfered from fireplace through air to player (environment) More...
 
const int MIN_STONES_TO_BUILD_CIRCLE = 8
 
const int MIN_STONES_TO_BUILD_OVEN = 16
 minimum amount of stones for circle More...
 
const int MAX_TEMPERATURE_TO_DISMANTLE_OVEN = 40
 minimum amount of stones for oven More...
 
const float MIN_CEILING_HEIGHT = 5
 maximum temperature for dismantling oven More...
 
const float TEMPERATURE_LOSS_MP_DEFAULT = 1.0
 min height of ceiling for fire to be ignited More...
 
const float TEMPERATURE_LOSS_MP_STONES = 0.90
 
const float TEMPERATURE_LOSS_MP_OVEN = 0.75
 
const float FUEL_BURN_RATE_DEFAULT = 1.0
 
const float FUEL_BURN_RATE_STONES = 0.92
 
const float FUEL_BURN_RATE_OVEN = 0.85
 
const float PARAM_COOKING_TEMP_THRESHOLD = 100
 cooking More...
 
const float PARAM_COOKING_EQUIP_MAX_TEMP = 250
 temperature threshold for starting coooking process (degree Celsius) More...
 
const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10
 maximum temperature of attached cooking equipment (degree Celsius) More...
 
const int TIMER_HEATING_UPDATE_INTERVAL = 3
 
const int TIMER_COOLING_UPDATE_INTERVAL = 2
 update interval duration of heating process (seconds) More...
 
const int DIRECT_COOKING_SLOT_COUNT = 3
 direct cooking slots More...
 
const float DIRECT_COOKING_SPEED = 1.5
 
const int SMOKING_SLOT_COUNT = 4
 
const float SMOKING_SPEED = 1
 
const int LIFETIME_FIREPLACE_STONE_CIRCLE = 172800
 
const int LIFETIME_FIREPLACE_STONE_OVEN = 604800
 
const float IGNITE_WIND_THRESHOLD = 0.8
 
protected ref Timer m_HeatingTimer
 
protected ref Timer m_CoolingTimer
 
protected FireplaceLight m_Light
 
protected float m_LightDistance = 2000
 
protected ItemBase m_CookingEquipment
 
protected ItemBase m_DirectCookingSlots [DIRECT_COOKING_SLOT_COUNT]
 
protected ItemBase m_SmokingSlots [SMOKING_SLOT_COUNT]
 
protected ref FireConsumable m_ItemToConsume
 
protected int PARTICLE_FIRE_START = ParticleList.CAMP_FIRE_START
 
protected int PARTICLE_OVEN_FIRE_START = ParticleList.CAMP_STOVE_FIRE_START
 
protected int PARTICLE_SMALL_FIRE = ParticleList.CAMP_SMALL_FIRE
 
protected int PARTICLE_NORMAL_FIRE = ParticleList.CAMP_NORMAL_FIRE
 
protected int PARTICLE_OVEN_FIRE = ParticleList.CAMP_STOVE_FIRE
 
protected int PARTICLE_SMALL_SMOKE = ParticleList.CAMP_SMALL_SMOKE
 
protected int PARTICLE_NORMAL_SMOKE = ParticleList.CAMP_NORMAL_SMOKE
 
protected int PARTICLE_FIRE_END = ParticleList.CAMP_FIRE_END
 
protected int PARTICLE_OVEN_FIRE_END = ParticleList.CAMP_STOVE_FIRE_END
 
protected int PARTICLE_STEAM_END = ParticleList.CAMP_STEAM_2END
 
protected int PARTICLE_STEAM_EXTINGUISHING = ParticleList.CAMP_STEAM_EXTINGUISH_START
 
protected int PARTICLE_NO_IGNITE_WIND = ParticleList.CAMP_NO_IGNITE_WIND
 
protected Particle m_ParticleFireStart
 
protected Particle m_ParticleSmallFire
 
protected Particle m_ParticleNormalFire
 
protected Particle m_ParticleSmallSmoke
 
protected Particle m_ParticleNormalSmoke
 
protected Particle m_ParticleFireEnd
 
protected Particle m_ParticleSteamEnd
 
protected Particle m_ParticleSteamExtinguishing
 
const string SOUND_FIRE_HEAVY = "HeavyFire_SoundSet"
 
const string SOUND_FIRE_LIGHT = "LightFire_SoundSet"
 
const string SOUND_FIRE_NO_FIRE = "NoFuelFire_SoundSet"
 
const string SOUND_FIRE_EXTINGUISHING = "ExtinguishByWater_SoundSet"
 
const string SOUND_FIRE_EXTINGUISHED = "ExtinguishByWaterEnd_SoundSet"
 
protected EffectSound m_SoundFireLoop
 
protected EffectSound m_SoundFire
 
protected ref map< ItemBase, ref FireConsumablem_FireConsumables
 
const string MESSAGE_IGNITE_IGNIT_ITEM_DAMAGED = "You cannot start fire. Fireplace is ruined."
 
const string MESSAGE_IGNITE_NO_KINDLING = "There needs to be some kindling to start a fire."
 
const string MESSAGE_IGNITE_TOO_WET = "The fireplace is too wet to be ignited."
 
const string MESSAGE_IGNITE_RAIN = "The fire went out because of the rain."
 
const string MESSAGE_IGNITE_WIND = "The fire went out because of the wind."
 
const string MESSAGE_IGNITE_IN_WATER = "I cannot ignite the fireplace in the water."
 
const string MESSAGE_IGNITE_UNDER_LOW_ROOF = "I cannot ignite the fireplace here, the is not enough room."
 
const string MESSAGE_REIGNITE_NO_KINDLING = "There needs to be some kindling to start a fire."
 
const string MESSAGE_REIGNITE_RAIN = "Cannot reignite fireplace in rain."
 
const string MESSAGE_REIGNITE_TOO_WET = "The fireplace is too wet to be reignited."
 
const string MESSAGE_BURY_ASHES_FAILED_NOT_EMPTY = "Cannot bury ashes. There are sill items in it."
 
const string MESSAGE_BURY_ASHES_FAILED_SURFACE = "Cannot bury ashes on hard surface."
 
const string MESSAGE_BURY_ASHES_FAILED_BURNING = "Cannot bury ashes, the fireplace is still burning."
 
const string MESSAGE_BURY_ASHES_FAILED_TOO_HOT = "Cannot bury ashes, the fireplace is too hot."
 
const string MESSAGE_CANNOT_BUILD_OVEN = "Cannot build oven."
 
const string MESSAGE_CANNOT_DISMANTLE_OVEN = "Cannot dismantle oven."
 
const string ANIMATION_ASHES = "Ashes"
 
const string ANIMATION_KINDLING = "Kindling"
 
const string ANIMATION_STICKS = "Sticks"
 
const string ANIMATION_WOOD = "Wood"
 
const string ANIMATION_BURNT_WOOD = "BurntWood"
 
const string ANIMATION_STONE = "Stone"
 
const string ANIMATION_STONES = "StonesCircle"
 
const string ANIMATION_TRIPOD = "Tripod"
 
const string ANIMATION_OVEN = "Oven"
 
const string ANIMATION_INVENTORY = "Inventory"
 
const string ANIMATION_COOKWARE_HANDLE = "handleRotate"
 
const string ANIMATION_CAULDRON_HANDLE = "handle1Rotate"
 
const string MATERIAL_FIREPLACE_GLOW = "dz\\gear\\cooking\\data\\stoneground.rvmat"
 
const string MATERIAL_FIREPLACE_NOGLOW = "dz\\gear\\cooking\\data\\stonegroundnoemit.rvmat"
 
 ATTACHMENT_STICKS = WoodenStick
 
 ATTACHMENT_FIREWOOD = Firewood
 
 ATTACHMENT_RAGS = Rag
 
 ATTACHMENT_BANDAGE = BandageDressing
 
 ATTACHMENT_BOOK = ItemBook
 
 ATTACHMENT_BARK_OAK = Bark_Oak
 
 ATTACHMENT_BARK_BIRCH = Bark_Birch
 
 ATTACHMENT_PAPER = Paper
 
 ATTACHMENT_GIFTWRAP = GiftWrapPaper
 
 ATTACHMENT_PUNCHEDCARD = PunchedCard
 
 ATTACHMENT_EYEMASK_COLORBASE = EyeMask_ColorBase
 
 ATTACHMENT_TRIPOD = Tripod
 
 ATTACHMENT_COOKINGSTAND = CookingStand
 
 ATTACHMENT_STONES = Stone
 
 ATTACHMENT_COOKING_POT = Pot
 
 ATTACHMENT_FRYING_PAN = FryingPan
 
 ATTACHMENT_CAULDRON = Cauldron
 
const string OBJECT_CLUTTER_CUTTER = "ClutterCutterFireplace"
 
protected Object m_ClutterCutter
 
protected ref AreaDamageManager m_AreaDamage
 
protected float m_TotalEnergy
 
ref NoiseParams m_NoisePar
 
private bool m_CanNoise = true
 
protected ref UniversalTemperatureSource m_UTSource
 
protected ref UniversalTemperatureSourceSettings m_UTSSettings
 
protected ref UniversalTemperatureSourceLambdaFireplace m_UTSLFireplace
 

Enumeration Type Documentation

◆ FireplaceFireState

Enumerator
NO_FIRE 
START_FIRE 
SMALL_FIRE 
NORMAL_FIRE 
END_FIRE 
EXTINGUISHING_FIRE 
EXTINGUISHED_FIRE 
REIGNITED_FIRE 
COUNT 

Definition at line 1 of file fireplacebase.c.

Function Documentation

◆ AddDamageToItemByFire()

protected void AddDamageToItemByFire ( ItemBase  item,
bool  can_be_ruined 
)

Definition at line 2270 of file fireplacebase.c.

◆ AddDamageToItemByFireEx()

protected void AddDamageToItemByFireEx ( ItemBase  item,
bool  can_be_ruined,
bool  pAttachment 
)

fireplace cargo only

cargo item attachments

fuel & kindling

cookable

Definition at line 2201 of file fireplacebase.c.

◆ AddTemperatureToFireplace()

protected void AddTemperatureToFireplace ( float  amount)

DEPRECATED.

Definition at line 2198 of file fireplacebase.c.

◆ AddTemperatureToItemByFire()

protected void AddTemperatureToItemByFire ( ItemBase  item)

Definition at line 2187 of file fireplacebase.c.

◆ AddToFireConsumables()

protected void AddToFireConsumables ( ItemBase  item)

Definition at line 1327 of file fireplacebase.c.

◆ AddWetnessToFireplace()

void AddWetnessToFireplace ( float  amount)

Definition at line 2291 of file fireplacebase.c.

◆ AddWetnessToItem()

protected void AddWetnessToItem ( ItemBase  item,
float  amount 
)

Definition at line 2282 of file fireplacebase.c.

◆ AfterStoreLoad()

override void AfterStoreLoad ( )

Definition at line 440 of file fireplacebase.c.

◆ BurnItemsInFireplace()

protected void BurnItemsInFireplace ( )

cargo

attachments

Definition at line 2147 of file fireplacebase.c.

◆ CalcAndSetQuantity()

protected void CalcAndSetQuantity ( )

Definition at line 2622 of file fireplacebase.c.

◆ CalcAndSetTotalEnergy()

protected void CalcAndSetTotalEnergy ( )

Definition at line 2583 of file fireplacebase.c.

◆ CanBuildOven()

bool CanBuildOven ( )

Definition at line 2501 of file fireplacebase.c.

◆ CanBuildStoneCircle()

bool CanBuildStoneCircle ( )

Definition at line 2513 of file fireplacebase.c.

◆ CanCookOnStick()

bool CanCookOnStick ( )

Definition at line 2534 of file fireplacebase.c.

◆ CanDismantleOven()

bool CanDismantleOven ( )

Definition at line 2524 of file fireplacebase.c.

◆ CanDismantleStoneCircle()

bool CanDismantleStoneCircle ( )

Definition at line 2529 of file fireplacebase.c.

◆ CanExtinguishFire()

bool CanExtinguishFire ( )

Definition at line 2540 of file fireplacebase.c.

◆ CanHaveTemperature()

override bool CanHaveTemperature ( )

Definition at line 534 of file fireplacebase.c.

◆ CanHaveWetness()

override bool CanHaveWetness ( )

Definition at line 529 of file fireplacebase.c.

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI  attachment)

Definition at line 2654 of file fireplacebase.c.

◆ CanShowSmoke()

bool CanShowSmoke ( )

Definition at line 993 of file fireplacebase.c.

◆ CanSwapEntities()

override bool CanSwapEntities ( EntityAI  otherItem,
InventoryLocation  otherDestination,
InventoryLocation  destination 
)

Definition at line 2491 of file fireplacebase.c.

◆ ClearCookingEquipment() [1/2]

void ClearCookingEquipment ( )

DEPRECATED.

Definition at line 561 of file fireplacebase.c.

◆ ClearCookingEquipment() [2/2]

void ClearCookingEquipment ( ItemBase  pItem)

Definition at line 550 of file fireplacebase.c.

◆ CookOnDirectSlot()

protected void CookOnDirectSlot ( ItemBase  slot_item,
float  temp_equip,
float  temp_ext 
)

Definition at line 2100 of file fireplacebase.c.

◆ CookWithEquipment()

protected void CookWithEquipment ( )

Definition at line 2080 of file fireplacebase.c.

◆ Cooling()

protected void Cooling ( )

Definition at line 1940 of file fireplacebase.c.

◆ CreateAreaDamage()

void CreateAreaDamage ( )

Definition at line 2315 of file fireplacebase.c.

◆ DestroyAreaDamage()

void DestroyAreaDamage ( )

Definition at line 2331 of file fireplacebase.c.

◆ DestroyFireplace()

void DestroyFireplace ( )

[DEPRECATED]

Definition at line 591 of file fireplacebase.c.

◆ DirectCookingSlotsInUse()

bool DirectCookingSlotsInUse ( )

Definition at line 566 of file fireplacebase.c.

◆ DisassembleOnLastDetach()

override bool DisassembleOnLastDetach ( )

Definition at line 2701 of file fireplacebase.c.

◆ EECargoOut()

override void EECargoOut ( EntityAI  item)

Definition at line 601 of file fireplacebase.c.

◆ EEDelete()

override void EEDelete ( EntityAI  parent)

Definition at line 372 of file fireplacebase.c.

◆ EEInit()

override void EEInit ( )

Definition at line 287 of file fireplacebase.c.

◆ EEItemAttached()

override void EEItemAttached ( EntityAI  item,
string  slot_name 
)

Definition at line 313 of file fireplacebase.c.

◆ FireplaceBase()

protected void FireplaceBase ( )

Definition at line 232 of file fireplacebase.c.

◆ GetAirResistanceForSmokeParticles()

float GetAirResistanceForSmokeParticles ( float  actual_height)

Definition at line 1254 of file fireplacebase.c.

◆ GetAttachedStonesCount()

int GetAttachedStonesCount ( )

Definition at line 1611 of file fireplacebase.c.

◆ GetCeilingHeight()

bool GetCeilingHeight ( out float  actual_height)

Definition at line 1238 of file fireplacebase.c.

◆ GetCookingEquipment()

ItemBase GetCookingEquipment ( )

Definition at line 540 of file fireplacebase.c.

◆ GetCookingProcess()

Cooking GetCookingProcess ( )

Definition at line 2090 of file fireplacebase.c.

◆ GetDebugActions()

override void GetDebugActions ( out TSelectableActionInfoArrayEx  outputList)

Definition at line 2765 of file fireplacebase.c.

◆ GetFireConsumableByItem()

protected FireConsumable GetFireConsumableByItem ( ItemBase  item)

Definition at line 1365 of file fireplacebase.c.

◆ GetFireConsumableTypeEnergy()

protected float GetFireConsumableTypeEnergy ( ItemBase  item)

support for inherited classes; second pass of lookup inside FireConsumableType

Definition at line 1333 of file fireplacebase.c.

◆ GetFireEffectPosition()

protected vector GetFireEffectPosition ( )

Definition at line 1267 of file fireplacebase.c.

◆ GetFireState()

protected int GetFireState ( )

Definition at line 1668 of file fireplacebase.c.

◆ GetFuelBurnRateMP()

protected float GetFuelBurnRateMP ( )

Definition at line 1657 of file fireplacebase.c.

◆ GetFuelCount()

protected int GetFuelCount ( )

Returns count of all fuel type items (define in 'm_FuelTypes') attached to fireplace.

Definition at line 1484 of file fireplacebase.c.

◆ GetIgniteFailure()

bool GetIgniteFailure ( )

Definition at line 2367 of file fireplacebase.c.

◆ GetItemToConsume()

protected FireConsumable GetItemToConsume ( )

Definition at line 1406 of file fireplacebase.c.

◆ GetKindlingCount()

protected int GetKindlingCount ( )

Returns count of all kindling type items (define in 'm_KindlingTypes') attached to fireplace.

Definition at line 1467 of file fireplacebase.c.

◆ GetLightEntity()

FireplaceLight GetLightEntity ( )

Definition at line 2545 of file fireplacebase.c.

◆ GetPlaceSoundset()

override string GetPlaceSoundset ( )

Definition at line 2574 of file fireplacebase.c.

◆ GetSmokeEffectPosition()

protected vector GetSmokeEffectPosition ( )

Definition at line 1272 of file fireplacebase.c.

◆ GetTemperatureLossMP()

protected float GetTemperatureLossMP ( )

Definition at line 1646 of file fireplacebase.c.

◆ HasAnyKindling()

bool HasAnyKindling ( )

Definition at line 2352 of file fireplacebase.c.

◆ HasAshes()

bool HasAshes ( )

Definition at line 1578 of file fireplacebase.c.

◆ HasCookingStand()

bool HasCookingStand ( )

Definition at line 2465 of file fireplacebase.c.

◆ HasLastAttachment()

bool HasLastAttachment ( )

Definition at line 1550 of file fireplacebase.c.

◆ HasLastFuelKindlingAttached()

bool HasLastFuelKindlingAttached ( )

Definition at line 1556 of file fireplacebase.c.

◆ HasStoneCircle()

bool HasStoneCircle ( )

Definition at line 1599 of file fireplacebase.c.

◆ HasStones()

bool HasStones ( )

Definition at line 1604 of file fireplacebase.c.

◆ Heating()

protected void Heating ( )

Definition at line 1763 of file fireplacebase.c.

◆ IsBarrelWithHoles()

bool IsBarrelWithHoles ( )

Definition at line 514 of file fireplacebase.c.

◆ IsBaseFireplace()

bool IsBaseFireplace ( )

Definition at line 509 of file fireplacebase.c.

◆ IsBurning()

bool IsBurning ( )

Definition at line 1566 of file fireplacebase.c.

◆ IsCargoEmpty()

bool IsCargoEmpty ( )

Definition at line 2460 of file fireplacebase.c.

◆ IsCeilingHighEnoughForSmoke()

bool IsCeilingHighEnoughForSmoke ( )

Definition at line 2401 of file fireplacebase.c.

◆ IsEmpty()

override bool IsEmpty ( )

Definition at line 2454 of file fireplacebase.c.

◆ IsFacingFireplace()

bool IsFacingFireplace ( PlayerBase  player)

DEPRECATED.

Definition at line 2340 of file fireplacebase.c.

◆ IsFireplace()

override bool IsFireplace ( )

Definition at line 504 of file fireplacebase.c.

◆ IsFireplaceIndoor()

bool IsFireplaceIndoor ( )

Definition at line 519 of file fireplacebase.c.

◆ IsFuel()

protected bool IsFuel ( ItemBase  item)

Returns if item attached to fireplace is fuel.

support for inherited classes; second pass of lookup inside FireConsumableType

Definition at line 1518 of file fireplacebase.c.

◆ IsInAnimPhase()

bool IsInAnimPhase ( string  anim_phase)

Definition at line 2471 of file fireplacebase.c.

◆ IsIndoorOven()

bool IsIndoorOven ( )

Definition at line 524 of file fireplacebase.c.

◆ IsItemAttachedQuantity()

bool IsItemAttachedQuantity ( typename item_type  ,
float  quantity 
)

Definition at line 1542 of file fireplacebase.c.

◆ IsItemTypeAttached()

bool IsItemTypeAttached ( typename item_type  )

Definition at line 1536 of file fireplacebase.c.

◆ IsKindling()

protected bool IsKindling ( ItemBase  item)

Returns if item attached to fireplace is kindling.

support for inherited classes; second pass of lookup inside FireConsumableType

Definition at line 1500 of file fireplacebase.c.

◆ IsOnInteriorSurface()

bool IsOnInteriorSurface ( )

Definition at line 2448 of file fireplacebase.c.

◆ IsOnWaterSurface()

bool IsOnWaterSurface ( )

Definition at line 2435 of file fireplacebase.c.

◆ IsOpen()

override bool IsOpen ( )

Definition at line 2395 of file fireplacebase.c.

◆ IsOven()

bool IsOven ( )

Definition at line 1595 of file fireplacebase.c.

◆ IsPrepareToDelete()

override bool IsPrepareToDelete ( )

Definition at line 596 of file fireplacebase.c.

◆ IsRainingAbove()

bool IsRainingAbove ( )

Definition at line 2412 of file fireplacebase.c.

◆ IsRoofAbove()

bool IsRoofAbove ( )

Definition at line 2389 of file fireplacebase.c.

◆ IsSpaceFor()

bool IsSpaceFor ( vector  size)

Definition at line 2476 of file fireplacebase.c.

◆ IsSpaceForCircle()

bool IsSpaceForCircle ( )

Definition at line 2518 of file fireplacebase.c.

◆ IsSpaceForOven()

bool IsSpaceForOven ( )

Definition at line 2506 of file fireplacebase.c.

◆ IsWet()

bool IsWet ( )

Definition at line 2383 of file fireplacebase.c.

◆ LockOvenAttachments()

void LockOvenAttachments ( bool  lock)

Definition at line 2668 of file fireplacebase.c.

◆ OnAction()

override bool OnAction ( int  action_id,
Man  player,
ParamsReadContext  ctx 
)

Definition at line 2774 of file fireplacebase.c.

◆ OnAttachmentQuantityChanged()

override void OnAttachmentQuantityChanged ( ItemBase  item)

Definition at line 2647 of file fireplacebase.c.

◆ OnAttachmentRuined()

override void OnAttachmentRuined ( EntityAI  attachment)

Definition at line 336 of file fireplacebase.c.

◆ OnDebugSpawn()

override void OnDebugSpawn ( )

Definition at line 2749 of file fireplacebase.c.

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI  old_owner,
EntityAI  new_owner 
)

Definition at line 328 of file fireplacebase.c.

◆ OnPlacementComplete()

override void OnPlacementComplete ( Man  player,
vector  position = "0 0 0",
vector  orientation = "0 0 0" 
)

Definition at line 2559 of file fireplacebase.c.

◆ OnRPC()

override void OnRPC ( PlayerIdentity  sender,
int  rpc_type,
ParamsReadContext  ctx 
)

Definition at line 2706 of file fireplacebase.c.

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)

Definition at line 402 of file fireplacebase.c.

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext  ctx)

Definition at line 385 of file fireplacebase.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )

Definition at line 473 of file fireplacebase.c.

◆ ParticleFireEndStart()

protected void ParticleFireEndStart ( )

Definition at line 1177 of file fireplacebase.c.

◆ ParticleFireEndStop()

protected void ParticleFireEndStop ( )

Definition at line 1189 of file fireplacebase.c.

◆ ParticleFireStartStart()

protected void ParticleFireStartStart ( )

Definition at line 1071 of file fireplacebase.c.

◆ ParticleFireStartStop()

protected void ParticleFireStartStop ( )

Definition at line 1083 of file fireplacebase.c.

◆ ParticleFireWindyNoIgniteStart()

protected void ParticleFireWindyNoIgniteStart ( )

Definition at line 1194 of file fireplacebase.c.

◆ ParticleNormalFireStart()

protected void ParticleNormalFireStart ( )

Definition at line 1107 of file fireplacebase.c.

◆ ParticleNormalFireStop()

protected void ParticleNormalFireStop ( )

Definition at line 1119 of file fireplacebase.c.

◆ ParticleNormalSmokeStart()

protected void ParticleNormalSmokeStart ( )

Definition at line 1151 of file fireplacebase.c.

◆ ParticleNormalSmokeStop()

protected void ParticleNormalSmokeStop ( )

Definition at line 1171 of file fireplacebase.c.

◆ ParticleSmallFireStart()

protected void ParticleSmallFireStart ( )

Definition at line 1089 of file fireplacebase.c.

◆ ParticleSmallFireStop()

protected void ParticleSmallFireStop ( )

Definition at line 1101 of file fireplacebase.c.

◆ ParticleSmallSmokeStart()

protected void ParticleSmallSmokeStart ( )

Definition at line 1125 of file fireplacebase.c.

◆ ParticleSmallSmokeStop()

protected void ParticleSmallSmokeStop ( )

Definition at line 1145 of file fireplacebase.c.

◆ ParticleSteamEndStart()

protected void ParticleSteamEndStart ( )

Definition at line 1218 of file fireplacebase.c.

◆ ParticleSteamEndStop()

protected void ParticleSteamEndStop ( )

Definition at line 1223 of file fireplacebase.c.

◆ ParticleSteamExtinguishingStart()

protected void ParticleSteamExtinguishingStart ( )

Definition at line 1207 of file fireplacebase.c.

◆ ParticleSteamExtinguishingStop()

protected void ParticleSteamExtinguishingStop ( )

Definition at line 1212 of file fireplacebase.c.

◆ ParticleWetNoIgniteStart()

protected void ParticleWetNoIgniteStart ( )

Definition at line 1228 of file fireplacebase.c.

◆ ParticleWetNoIgniteStop()

protected void ParticleWetNoIgniteStop ( )

Definition at line 1233 of file fireplacebase.c.

◆ PlayParticle()

protected bool PlayParticle ( out Particle  particle,
int  particle_type,
vector  pos,
bool  worldpos = false 
)

Definition at line 1037 of file fireplacebase.c.

◆ RefreshFireParticlesAndSounds()

protected void RefreshFireParticlesAndSounds ( bool  force_refresh)

Definition at line 795 of file fireplacebase.c.

◆ RefreshFireplacePhysics()

void RefreshFireplacePhysics ( )

◆ RefreshFireplaceVisuals()

void RefreshFireplaceVisuals ( )

single stone; everything else hidden

hide stones stack completely

Definition at line 612 of file fireplacebase.c.

◆ RefreshFireState()

void RefreshFireState ( )

Definition at line 999 of file fireplacebase.c.

◆ RemoveFromFireConsumables()

protected void RemoveFromFireConsumables ( FireConsumable  fire_consumable)

Definition at line 1354 of file fireplacebase.c.

◆ SetAshesState()

protected void SetAshesState ( bool  has_ashes)

Definition at line 1584 of file fireplacebase.c.

◆ SetBurningState()

protected void SetBurningState ( bool  is_burning)

Definition at line 1572 of file fireplacebase.c.

◆ SetBurntFirewood()

protected void SetBurntFirewood ( )

Definition at line 783 of file fireplacebase.c.

◆ SetCookingEquipment()

void SetCookingEquipment ( ItemBase  equipment)

Definition at line 545 of file fireplacebase.c.

◆ SetExtinguishingState()

void SetExtinguishingState ( )

Definition at line 1684 of file fireplacebase.c.

◆ SetFireState()

protected void SetFireState ( FireplaceFireState  state)

Definition at line 1674 of file fireplacebase.c.

◆ SetFuelBurnRateMP()

protected void SetFuelBurnRateMP ( float  value)

Definition at line 1662 of file fireplacebase.c.

◆ SetIgniteFailure()

void SetIgniteFailure ( bool  failure)

Definition at line 2372 of file fireplacebase.c.

◆ SetItemToConsume()

protected FireConsumable SetItemToConsume ( )

Definition at line 1373 of file fireplacebase.c.

◆ SetLightEntity()

void SetLightEntity ( FireplaceLight  light)

Definition at line 2550 of file fireplacebase.c.

◆ SetOvenState()

void SetOvenState ( bool  is_oven)

Definition at line 1621 of file fireplacebase.c.

◆ SetStoneCircleState()

void SetStoneCircleState ( bool  has_stonecircle)

Definition at line 1633 of file fireplacebase.c.

◆ SetTemperatureLossMP()

protected void SetTemperatureLossMP ( float  value)

Definition at line 1651 of file fireplacebase.c.

◆ SmokeOnSmokingSlot()

protected void SmokeOnSmokingSlot ( ItemBase  slot_item,
float  temp_equip,
float  temp_ext 
)

Definition at line 2128 of file fireplacebase.c.

◆ SmokingSlotsInUse()

bool SmokingSlotsInUse ( )

Definition at line 578 of file fireplacebase.c.

◆ SoundFireExtinguishedStart()

protected void SoundFireExtinguishedStart ( )

Definition at line 1297 of file fireplacebase.c.

◆ SoundFireExtinguishingStart()

protected void SoundFireExtinguishingStart ( )

Definition at line 1307 of file fireplacebase.c.

◆ SoundFireHeavyStart()

protected void SoundFireHeavyStart ( )

Definition at line 1287 of file fireplacebase.c.

◆ SoundFireLightStart()

protected void SoundFireLightStart ( )

Definition at line 1282 of file fireplacebase.c.

◆ SoundFireNoFireStart()

protected void SoundFireNoFireStart ( )

Definition at line 1292 of file fireplacebase.c.

◆ SoundFireStop()

protected void SoundFireStop ( )

Definition at line 1318 of file fireplacebase.c.

◆ SoundFireWetNoIgniteStart()

protected void SoundFireWetNoIgniteStart ( )

Definition at line 1302 of file fireplacebase.c.

◆ SoundFireWindyNoIgniteStart()

protected void SoundFireWindyNoIgniteStart ( )

Definition at line 1312 of file fireplacebase.c.

◆ SpendFireConsumable()

protected void SpendFireConsumable ( float  amount)

Definition at line 1415 of file fireplacebase.c.

◆ StartCooling()

protected void StartCooling ( )

Definition at line 1927 of file fireplacebase.c.

◆ StartFire()

void StartFire ( bool  force_start = false)

Definition at line 1697 of file fireplacebase.c.

◆ StartHeating()

protected void StartHeating ( )

Definition at line 1730 of file fireplacebase.c.

◆ StopAllParticlesAndSounds()

protected void StopAllParticlesAndSounds ( )

Definition at line 966 of file fireplacebase.c.

◆ StopCooling()

protected void StopCooling ( )

Definition at line 2034 of file fireplacebase.c.

◆ StopFire()

void StopFire ( FireplaceFireState  fire_state = FireplaceFireState.END_FIRE)

Definition at line 1900 of file fireplacebase.c.

◆ StopHeating()

protected void StopHeating ( )

Definition at line 1918 of file fireplacebase.c.

◆ StopParticle()

protected bool StopParticle ( out Particle  particle)

Definition at line 1057 of file fireplacebase.c.

◆ Synchronize()

void Synchronize ( )

Definition at line 459 of file fireplacebase.c.

◆ TransferHeatToNearPlayers()

protected void TransferHeatToNearPlayers ( )

DEPRECATED.

Definition at line 2312 of file fireplacebase.c.

◆ ~FireplaceBase()

protected void ~FireplaceBase ( )

Definition at line 277 of file fireplacebase.c.

Variable Documentation

◆ ANIMATION_ASHES

const string ANIMATION_ASHES = "Ashes"

Definition at line 170 of file fireplacebase.c.

◆ ANIMATION_BURNT_WOOD

const string ANIMATION_BURNT_WOOD = "BurntWood"

Definition at line 174 of file fireplacebase.c.

◆ ANIMATION_CAULDRON_HANDLE

const string ANIMATION_CAULDRON_HANDLE = "handle1Rotate"

Definition at line 181 of file fireplacebase.c.

◆ ANIMATION_COOKWARE_HANDLE

const string ANIMATION_COOKWARE_HANDLE = "handleRotate"

Definition at line 180 of file fireplacebase.c.

◆ ANIMATION_INVENTORY

const string ANIMATION_INVENTORY = "Inventory"

Definition at line 179 of file fireplacebase.c.

◆ ANIMATION_KINDLING

const string ANIMATION_KINDLING = "Kindling"

Definition at line 171 of file fireplacebase.c.

◆ ANIMATION_OVEN

const string ANIMATION_OVEN = "Oven"

Definition at line 178 of file fireplacebase.c.

◆ ANIMATION_STICKS

const string ANIMATION_STICKS = "Sticks"

Definition at line 172 of file fireplacebase.c.

◆ ANIMATION_STONE

const string ANIMATION_STONE = "Stone"

Definition at line 175 of file fireplacebase.c.

◆ ANIMATION_STONES

const string ANIMATION_STONES = "StonesCircle"

Definition at line 176 of file fireplacebase.c.

◆ ANIMATION_TRIPOD

const string ANIMATION_TRIPOD = "Tripod"

Definition at line 177 of file fireplacebase.c.

◆ ANIMATION_WOOD

const string ANIMATION_WOOD = "Wood"

Definition at line 173 of file fireplacebase.c.

◆ ATTACHMENT_BANDAGE

ATTACHMENT_BANDAGE = BandageDressing

Definition at line 194 of file fireplacebase.c.

◆ ATTACHMENT_BARK_BIRCH

ATTACHMENT_BARK_BIRCH = Bark_Birch

Definition at line 197 of file fireplacebase.c.

◆ ATTACHMENT_BARK_OAK

ATTACHMENT_BARK_OAK = Bark_Oak

Definition at line 196 of file fireplacebase.c.

◆ ATTACHMENT_BOOK

ATTACHMENT_BOOK = ItemBook

Definition at line 195 of file fireplacebase.c.

◆ ATTACHMENT_CAULDRON

ATTACHMENT_CAULDRON = Cauldron

Definition at line 208 of file fireplacebase.c.

◆ ATTACHMENT_COOKING_POT

ATTACHMENT_COOKING_POT = Pot

Definition at line 206 of file fireplacebase.c.

◆ ATTACHMENT_COOKINGSTAND

ATTACHMENT_COOKINGSTAND = CookingStand

Definition at line 204 of file fireplacebase.c.

◆ ATTACHMENT_EYEMASK_COLORBASE

ATTACHMENT_EYEMASK_COLORBASE = EyeMask_ColorBase

Definition at line 201 of file fireplacebase.c.

◆ ATTACHMENT_FIREWOOD

ATTACHMENT_FIREWOOD = Firewood

Definition at line 191 of file fireplacebase.c.

◆ ATTACHMENT_FRYING_PAN

ATTACHMENT_FRYING_PAN = FryingPan

Definition at line 207 of file fireplacebase.c.

◆ ATTACHMENT_GIFTWRAP

ATTACHMENT_GIFTWRAP = GiftWrapPaper

Definition at line 199 of file fireplacebase.c.

◆ ATTACHMENT_PAPER

ATTACHMENT_PAPER = Paper

Definition at line 198 of file fireplacebase.c.

◆ ATTACHMENT_PUNCHEDCARD

ATTACHMENT_PUNCHEDCARD = PunchedCard

Definition at line 200 of file fireplacebase.c.

◆ ATTACHMENT_RAGS

ATTACHMENT_RAGS = Rag

Definition at line 193 of file fireplacebase.c.

◆ ATTACHMENT_STICKS

ATTACHMENT_STICKS = WoodenStick

Definition at line 190 of file fireplacebase.c.

◆ ATTACHMENT_STONES

ATTACHMENT_STONES = Stone

Definition at line 205 of file fireplacebase.c.

◆ ATTACHMENT_TRIPOD

ATTACHMENT_TRIPOD = Tripod

Definition at line 203 of file fireplacebase.c.

◆ DIRECT_COOKING_SLOT_COUNT

const int DIRECT_COOKING_SLOT_COUNT = 3

direct cooking slots

update interval duration of cooling process (seconds)

Definition at line 86 of file fireplacebase.c.

◆ DIRECT_COOKING_SPEED

const float DIRECT_COOKING_SPEED = 1.5

Definition at line 87 of file fireplacebase.c.

◆ FUEL_BURN_RATE_DEFAULT

const float FUEL_BURN_RATE_DEFAULT = 1.0

Definition at line 74 of file fireplacebase.c.

◆ FUEL_BURN_RATE_OVEN

const float FUEL_BURN_RATE_OVEN = 0.85

Definition at line 76 of file fireplacebase.c.

◆ FUEL_BURN_RATE_STONES

const float FUEL_BURN_RATE_STONES = 0.92

Definition at line 75 of file fireplacebase.c.

◆ IGNITE_WIND_THRESHOLD

const float IGNITE_WIND_THRESHOLD = 0.8

Definition at line 95 of file fireplacebase.c.

◆ LIFETIME_FIREPLACE_STONE_CIRCLE

const int LIFETIME_FIREPLACE_STONE_CIRCLE = 172800

Definition at line 92 of file fireplacebase.c.

◆ LIFETIME_FIREPLACE_STONE_OVEN

const int LIFETIME_FIREPLACE_STONE_OVEN = 604800

Definition at line 93 of file fireplacebase.c.

◆ m_AreaDamage

protected ref AreaDamageManager m_AreaDamage

Definition at line 214 of file fireplacebase.c.

◆ m_CanNoise

private bool m_CanNoise = true

Definition at line 221 of file fireplacebase.c.

◆ m_ClutterCutter

protected Object m_ClutterCutter

Definition at line 211 of file fireplacebase.c.

◆ m_CookingEquipment

protected ItemBase m_CookingEquipment

Definition at line 106 of file fireplacebase.c.

◆ m_CookingProcess

protected ref Cooking m_CookingProcess

determines how fast will the fuel item burn before spending (lower is better)

Definition at line 40 of file fireplacebase.c.

◆ m_CoolingTimer

protected ref Timer m_CoolingTimer

Definition at line 99 of file fireplacebase.c.

◆ m_DirectCookingSlots

protected ItemBase m_DirectCookingSlots[DIRECT_COOKING_SLOT_COUNT]

Definition at line 107 of file fireplacebase.c.

◆ m_FireConsumables

protected ref map<ItemBase, ref FireConsumable> m_FireConsumables

Definition at line 149 of file fireplacebase.c.

◆ m_FireState

Definition at line 31 of file fireplacebase.c.

◆ m_FuelBurnRateMP

protected float m_FuelBurnRateMP = 1.0

determines how fast will the fireplace loose its temperature when cooling (lower is better)

Definition at line 37 of file fireplacebase.c.

◆ m_HalfExtents

protected vector m_HalfExtents

Definition at line 33 of file fireplacebase.c.

◆ m_HasAshes

protected bool m_HasAshes = false

Definition at line 25 of file fireplacebase.c.

◆ m_HasStoneCircle

protected bool m_HasStoneCircle = false

Definition at line 27 of file fireplacebase.c.

◆ m_HeatingTimer

protected ref Timer m_HeatingTimer

Definition at line 98 of file fireplacebase.c.

◆ m_IsBurning

enum FireplaceFireState m_IsBurning = false

◆ m_IsOven

protected bool m_IsOven = false

Definition at line 26 of file fireplacebase.c.

◆ m_ItemToConsume

protected ref FireConsumable m_ItemToConsume

Definition at line 109 of file fireplacebase.c.

◆ m_LastFireState

protected FireplaceFireState m_LastFireState = FireplaceFireState.NO_FIRE

Definition at line 32 of file fireplacebase.c.

◆ m_Light

protected FireplaceLight m_Light

Definition at line 102 of file fireplacebase.c.

◆ m_LightDistance

protected float m_LightDistance = 2000

Definition at line 103 of file fireplacebase.c.

◆ m_NoIgnite

protected bool m_NoIgnite = false

Definition at line 29 of file fireplacebase.c.

◆ m_NoisePar

ref NoiseParams m_NoisePar

Definition at line 220 of file fireplacebase.c.

◆ m_OvenAttachmentsLockState

protected int m_OvenAttachmentsLockState = -1

Definition at line 30 of file fireplacebase.c.

◆ m_ParticleFireEnd

protected Particle m_ParticleFireEnd

Definition at line 130 of file fireplacebase.c.

◆ m_ParticleFireStart

protected Particle m_ParticleFireStart

Definition at line 125 of file fireplacebase.c.

◆ m_ParticleNormalFire

protected Particle m_ParticleNormalFire

Definition at line 127 of file fireplacebase.c.

◆ m_ParticleNormalSmoke

protected Particle m_ParticleNormalSmoke

Definition at line 129 of file fireplacebase.c.

◆ m_ParticleSmallFire

protected Particle m_ParticleSmallFire

Definition at line 126 of file fireplacebase.c.

◆ m_ParticleSmallSmoke

protected Particle m_ParticleSmallSmoke

Definition at line 128 of file fireplacebase.c.

◆ m_ParticleSteamEnd

protected Particle m_ParticleSteamEnd

Definition at line 131 of file fireplacebase.c.

◆ m_ParticleSteamExtinguishing

protected Particle m_ParticleSteamExtinguishing

Definition at line 132 of file fireplacebase.c.

◆ m_RoofAbove

protected bool m_RoofAbove = false

Definition at line 28 of file fireplacebase.c.

◆ m_SmokingSlots

protected ItemBase m_SmokingSlots[SMOKING_SLOT_COUNT]

Definition at line 108 of file fireplacebase.c.

◆ m_SoundFire

protected EffectSound m_SoundFire

Definition at line 143 of file fireplacebase.c.

◆ m_SoundFireLoop

protected EffectSound m_SoundFireLoop

Definition at line 142 of file fireplacebase.c.

◆ m_TemperatureLossMP

protected float m_TemperatureLossMP = 1.0

Definition at line 36 of file fireplacebase.c.

◆ m_TotalEnergy

protected float m_TotalEnergy

Definition at line 217 of file fireplacebase.c.

◆ m_UTSLFireplace

protected ref UniversalTemperatureSourceLambdaFireplace m_UTSLFireplace

Definition at line 226 of file fireplacebase.c.

◆ m_UTSource

protected ref UniversalTemperatureSource m_UTSource

Definition at line 224 of file fireplacebase.c.

◆ m_UTSSettings

protected ref UniversalTemperatureSourceSettings m_UTSSettings

Definition at line 225 of file fireplacebase.c.

◆ MATERIAL_FIREPLACE_GLOW

const string MATERIAL_FIREPLACE_GLOW = "dz\\gear\\cooking\\data\\stoneground.rvmat"

Definition at line 185 of file fireplacebase.c.

◆ MATERIAL_FIREPLACE_NOGLOW

const string MATERIAL_FIREPLACE_NOGLOW = "dz\\gear\\cooking\\data\\stonegroundnoemit.rvmat"

Definition at line 186 of file fireplacebase.c.

◆ MAX_TEMPERATURE_TO_DISMANTLE_OVEN

const int MAX_TEMPERATURE_TO_DISMANTLE_OVEN = 40

minimum amount of stones for oven

Definition at line 67 of file fireplacebase.c.

◆ MESSAGE_BURY_ASHES_FAILED_BURNING

const string MESSAGE_BURY_ASHES_FAILED_BURNING = "Cannot bury ashes, the fireplace is still burning."

Definition at line 164 of file fireplacebase.c.

◆ MESSAGE_BURY_ASHES_FAILED_NOT_EMPTY

const string MESSAGE_BURY_ASHES_FAILED_NOT_EMPTY = "Cannot bury ashes. There are sill items in it."

Definition at line 162 of file fireplacebase.c.

◆ MESSAGE_BURY_ASHES_FAILED_SURFACE

const string MESSAGE_BURY_ASHES_FAILED_SURFACE = "Cannot bury ashes on hard surface."

Definition at line 163 of file fireplacebase.c.

◆ MESSAGE_BURY_ASHES_FAILED_TOO_HOT

const string MESSAGE_BURY_ASHES_FAILED_TOO_HOT = "Cannot bury ashes, the fireplace is too hot."

Definition at line 165 of file fireplacebase.c.

◆ MESSAGE_CANNOT_BUILD_OVEN

const string MESSAGE_CANNOT_BUILD_OVEN = "Cannot build oven."

Definition at line 166 of file fireplacebase.c.

◆ MESSAGE_CANNOT_DISMANTLE_OVEN

const string MESSAGE_CANNOT_DISMANTLE_OVEN = "Cannot dismantle oven."

Definition at line 167 of file fireplacebase.c.

◆ MESSAGE_IGNITE_IGNIT_ITEM_DAMAGED

const string MESSAGE_IGNITE_IGNIT_ITEM_DAMAGED = "You cannot start fire. Fireplace is ruined."

Definition at line 152 of file fireplacebase.c.

◆ MESSAGE_IGNITE_IN_WATER

const string MESSAGE_IGNITE_IN_WATER = "I cannot ignite the fireplace in the water."

Definition at line 157 of file fireplacebase.c.

◆ MESSAGE_IGNITE_NO_KINDLING

const string MESSAGE_IGNITE_NO_KINDLING = "There needs to be some kindling to start a fire."

Definition at line 153 of file fireplacebase.c.

◆ MESSAGE_IGNITE_RAIN

const string MESSAGE_IGNITE_RAIN = "The fire went out because of the rain."

Definition at line 155 of file fireplacebase.c.

◆ MESSAGE_IGNITE_TOO_WET

const string MESSAGE_IGNITE_TOO_WET = "The fireplace is too wet to be ignited."

Definition at line 154 of file fireplacebase.c.

◆ MESSAGE_IGNITE_UNDER_LOW_ROOF

const string MESSAGE_IGNITE_UNDER_LOW_ROOF = "I cannot ignite the fireplace here, the is not enough room."

Definition at line 158 of file fireplacebase.c.

◆ MESSAGE_IGNITE_WIND

const string MESSAGE_IGNITE_WIND = "The fire went out because of the wind."

Definition at line 156 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_NO_KINDLING

const string MESSAGE_REIGNITE_NO_KINDLING = "There needs to be some kindling to start a fire."

Definition at line 159 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_RAIN

const string MESSAGE_REIGNITE_RAIN = "Cannot reignite fireplace in rain."

Definition at line 160 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_TOO_WET

const string MESSAGE_REIGNITE_TOO_WET = "The fireplace is too wet to be reignited."

Definition at line 161 of file fireplacebase.c.

◆ MIN_CEILING_HEIGHT

const float MIN_CEILING_HEIGHT = 5

maximum temperature for dismantling oven

Definition at line 68 of file fireplacebase.c.

◆ MIN_STONES_TO_BUILD_CIRCLE

const int MIN_STONES_TO_BUILD_CIRCLE = 8

maximum value for temperature that will be transfered to player (environment)

Definition at line 65 of file fireplacebase.c.

◆ MIN_STONES_TO_BUILD_OVEN

const int MIN_STONES_TO_BUILD_OVEN = 16

minimum amount of stones for circle

Definition at line 66 of file fireplacebase.c.

◆ OBJECT_CLUTTER_CUTTER

const string OBJECT_CLUTTER_CUTTER = "ClutterCutterFireplace"

Definition at line 210 of file fireplacebase.c.

◆ PARAM_BURN_DAMAGE_COEF

const float PARAM_BURN_DAMAGE_COEF = 5.0

base value of fire consumption rate (how many base energy will be spent on each update)

Definition at line 56 of file fireplacebase.c.

◆ PARAM_BURN_WET_THRESHOLD

const float PARAM_BURN_WET_THRESHOLD = 0.40

maximum rain value when the fireplace can be ignited

Definition at line 51 of file fireplacebase.c.

◆ PARAM_COOKING_EQUIP_MAX_TEMP

const float PARAM_COOKING_EQUIP_MAX_TEMP = 250

temperature threshold for starting coooking process (degree Celsius)

Definition at line 80 of file fireplacebase.c.

◆ PARAM_COOKING_EQUIP_TEMP_INCREASE

const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10

maximum temperature of attached cooking equipment (degree Celsius)

Definition at line 81 of file fireplacebase.c.

◆ PARAM_COOKING_TEMP_THRESHOLD

const float PARAM_COOKING_TEMP_THRESHOLD = 100

cooking

Definition at line 79 of file fireplacebase.c.

◆ PARAM_FIRE_CONSUM_RATE_AMOUNT

const float PARAM_FIRE_CONSUM_RATE_AMOUNT = 0.5

value for calculating wetness loss during cooling process

Definition at line 55 of file fireplacebase.c.

◆ PARAM_FULL_HEAT_RADIUS

const float PARAM_FULL_HEAT_RADIUS = 2.0

maximum value of temperature of items in fireplace when heating (degree Celsius)

Definition at line 60 of file fireplacebase.c.

◆ PARAM_HEAT_RADIUS

const float PARAM_HEAT_RADIUS = 4.0

radius in which objects are fully heated by fire

Definition at line 61 of file fireplacebase.c.

◆ PARAM_HEAT_THROUGH_AIR_COEF

const float PARAM_HEAT_THROUGH_AIR_COEF = 0.1

radius in which objects are heated by fire

Definition at line 62 of file fireplacebase.c.

◆ PARAM_IGNITE_RAIN_THRESHOLD

const float PARAM_IGNITE_RAIN_THRESHOLD = 0.1

minimum fireplace temperature under which the fireplace can be reignited using air only (degree Celsius)

Definition at line 50 of file fireplacebase.c.

◆ PARAM_ITEM_HEAT_MIN_TEMP

const float PARAM_ITEM_HEAT_MIN_TEMP = 40

value for calculating temperature increase on each heat update interval (degree Celsius)

Definition at line 58 of file fireplacebase.c.

◆ PARAM_ITEM_HEAT_TEMP_INCREASE_COEF

const float PARAM_ITEM_HEAT_TEMP_INCREASE_COEF = 10

value for calculating damage on items located in fireplace cargo

Definition at line 57 of file fireplacebase.c.

◆ PARAM_MAX_ITEM_HEAT_TEMP_INCREASE

const float PARAM_MAX_ITEM_HEAT_TEMP_INCREASE = 200

minimum temperature for items that can be heated in fireplace cargo or as attachments (degree Celsius)

Definition at line 59 of file fireplacebase.c.

◆ PARAM_MAX_TRANSFERED_TEMPERATURE

const float PARAM_MAX_TRANSFERED_TEMPERATURE = 25

DEPRECATED value for calculation of heat transfered from fireplace through air to player (environment)

Definition at line 63 of file fireplacebase.c.

◆ PARAM_MAX_WET_TO_IGNITE

const float PARAM_MAX_WET_TO_IGNITE = 0.2

how much will temperature decrease when fireplace is cooling (degree Celsius per second)

Definition at line 48 of file fireplacebase.c.

◆ PARAM_MIN_FIRE_TEMPERATURE

const float PARAM_MIN_FIRE_TEMPERATURE = 30

maximum fireplace temperature of a normal fire (degree Celsius)

Definition at line 45 of file fireplacebase.c.

◆ PARAM_MIN_TEMP_TO_REIGNITE

const float PARAM_MIN_TEMP_TO_REIGNITE = 30

maximum wetness value when the fireplace can be ignited

Definition at line 49 of file fireplacebase.c.

◆ PARAM_NORMAL_FIRE_TEMPERATURE

const float PARAM_NORMAL_FIRE_TEMPERATURE = 1000

maximum fireplace temperature of a small fire (degree Celsius)

Definition at line 44 of file fireplacebase.c.

◆ PARAM_SMALL_FIRE_TEMPERATURE

const float PARAM_SMALL_FIRE_TEMPERATURE = 150

Definition at line 43 of file fireplacebase.c.

◆ PARAM_TEMPERATURE_DECREASE

const float PARAM_TEMPERATURE_DECREASE = 3

how much will temperature increase when fireplace is burning (degree Celsius per second)

Definition at line 47 of file fireplacebase.c.

◆ PARAM_TEMPERATURE_INCREASE

const float PARAM_TEMPERATURE_INCREASE = 3

minimum fireplace temperature under which the fireplace is inactive (degree Celsius)

Definition at line 46 of file fireplacebase.c.

◆ PARAM_WET_COOLING_DECREASE_COEF

const float PARAM_WET_COOLING_DECREASE_COEF = 0.002

value for calculating wetness loss during heating process

Definition at line 54 of file fireplacebase.c.

◆ PARAM_WET_HEATING_DECREASE_COEF

const float PARAM_WET_HEATING_DECREASE_COEF = 0.01

value for calculating of wetness that fireplace gain when raining

Definition at line 53 of file fireplacebase.c.

◆ PARAM_WET_INCREASE_COEF

const float PARAM_WET_INCREASE_COEF = 0.02

maximum wetness value when the fireplace is able to burn

Definition at line 52 of file fireplacebase.c.

◆ PARTICLE_FIRE_END

protected int PARTICLE_FIRE_END = ParticleList.CAMP_FIRE_END

Definition at line 119 of file fireplacebase.c.

◆ PARTICLE_FIRE_START

protected int PARTICLE_FIRE_START = ParticleList.CAMP_FIRE_START

Definition at line 112 of file fireplacebase.c.

◆ PARTICLE_NO_IGNITE_WIND

protected int PARTICLE_NO_IGNITE_WIND = ParticleList.CAMP_NO_IGNITE_WIND

Definition at line 123 of file fireplacebase.c.

◆ PARTICLE_NORMAL_FIRE

protected int PARTICLE_NORMAL_FIRE = ParticleList.CAMP_NORMAL_FIRE

Definition at line 115 of file fireplacebase.c.

◆ PARTICLE_NORMAL_SMOKE

protected int PARTICLE_NORMAL_SMOKE = ParticleList.CAMP_NORMAL_SMOKE

Definition at line 118 of file fireplacebase.c.

◆ PARTICLE_OVEN_FIRE

protected int PARTICLE_OVEN_FIRE = ParticleList.CAMP_STOVE_FIRE

Definition at line 116 of file fireplacebase.c.

◆ PARTICLE_OVEN_FIRE_END

protected int PARTICLE_OVEN_FIRE_END = ParticleList.CAMP_STOVE_FIRE_END

Definition at line 120 of file fireplacebase.c.

◆ PARTICLE_OVEN_FIRE_START

protected int PARTICLE_OVEN_FIRE_START = ParticleList.CAMP_STOVE_FIRE_START

Definition at line 113 of file fireplacebase.c.

◆ PARTICLE_SMALL_FIRE

protected int PARTICLE_SMALL_FIRE = ParticleList.CAMP_SMALL_FIRE

Definition at line 114 of file fireplacebase.c.

◆ PARTICLE_SMALL_SMOKE

protected int PARTICLE_SMALL_SMOKE = ParticleList.CAMP_SMALL_SMOKE

Definition at line 117 of file fireplacebase.c.

◆ PARTICLE_STEAM_END

protected int PARTICLE_STEAM_END = ParticleList.CAMP_STEAM_2END

Definition at line 121 of file fireplacebase.c.

◆ PARTICLE_STEAM_EXTINGUISHING

protected int PARTICLE_STEAM_EXTINGUISHING = ParticleList.CAMP_STEAM_EXTINGUISH_START

Definition at line 122 of file fireplacebase.c.

◆ SMOKING_SLOT_COUNT

const int SMOKING_SLOT_COUNT = 4

Definition at line 88 of file fireplacebase.c.

◆ SMOKING_SPEED

const float SMOKING_SPEED = 1

Definition at line 89 of file fireplacebase.c.

◆ SOUND_FIRE_EXTINGUISHED

const string SOUND_FIRE_EXTINGUISHED = "ExtinguishByWaterEnd_SoundSet"

Definition at line 139 of file fireplacebase.c.

◆ SOUND_FIRE_EXTINGUISHING

const string SOUND_FIRE_EXTINGUISHING = "ExtinguishByWater_SoundSet"

Definition at line 138 of file fireplacebase.c.

◆ SOUND_FIRE_HEAVY

const string SOUND_FIRE_HEAVY = "HeavyFire_SoundSet"

Definition at line 135 of file fireplacebase.c.

◆ SOUND_FIRE_LIGHT

const string SOUND_FIRE_LIGHT = "LightFire_SoundSet"

Definition at line 136 of file fireplacebase.c.

◆ SOUND_FIRE_NO_FIRE

const string SOUND_FIRE_NO_FIRE = "NoFuelFire_SoundSet"

Definition at line 137 of file fireplacebase.c.

◆ TEMPERATURE_LOSS_MP_DEFAULT

const float TEMPERATURE_LOSS_MP_DEFAULT = 1.0

min height of ceiling for fire to be ignited

Definition at line 70 of file fireplacebase.c.

◆ TEMPERATURE_LOSS_MP_OVEN

const float TEMPERATURE_LOSS_MP_OVEN = 0.75

Definition at line 72 of file fireplacebase.c.

◆ TEMPERATURE_LOSS_MP_STONES

const float TEMPERATURE_LOSS_MP_STONES = 0.90

Definition at line 71 of file fireplacebase.c.

◆ TIMER_COOLING_UPDATE_INTERVAL

const int TIMER_COOLING_UPDATE_INTERVAL = 2

update interval duration of heating process (seconds)

Definition at line 84 of file fireplacebase.c.

◆ TIMER_HEATING_UPDATE_INTERVAL

const int TIMER_HEATING_UPDATE_INTERVAL = 3

how much will temperature increase when attached on burning fireplace (degree Celsius)

Definition at line 83 of file fireplacebase.c.

◆ WET

enum FireplaceFireState WET = 1

◆ WIND

enum FireplaceFireState WIND = 0