Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
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

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

Variables

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

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

◆ ~FireplaceBase()

◆ AddDamageToItemByFire()

void AddDamageToItemByFire ( ItemBase item,
bool can_be_ruined )
protected

Definition at line 2858 of file fireplacebase.c.

References AddDamageToItemByFireEx().

◆ AddDamageToItemByFireEx()

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

◆ AddTemperatureToFireplace()

void AddTemperatureToFireplace ( float amount)
protected

DEPRECATED.

Definition at line 2241 of file fireplacebase.c.

◆ AddTemperatureToItemByFire()

◆ AddToFireConsumables()

void AddToFireConsumables ( ItemBase item)
protected

◆ AddWetnessToFireplace()

void AddWetnessToFireplace ( float amount)
protected

◆ AddWetnessToItem()

void AddWetnessToItem ( ItemBase item,
float amount )
protected

Definition at line 2298 of file fireplacebase.c.

References Math::Clamp().

Referenced by BurnItemsInFireplace().

◆ AfterStoreLoad()

override void AfterStoreLoad ( )
protected

Definition at line 469 of file fireplacebase.c.

References g_Game, IsBurning(), StartFire(), and Synchronize().

◆ BurnItemsInFireplace()

void BurnItemsInFireplace ( )
protected

◆ CalcAndSetQuantity()

◆ CalcAndSetTotalEnergy()

void CalcAndSetTotalEnergy ( )
protected

Definition at line 2620 of file fireplacebase.c.

References g_Game, m_FireConsumableTypes, m_TotalEnergy, and quantityMax.

Referenced by FireplaceBase().

◆ CanBePlaced()

override bool CanBePlaced ( Man player,
vector position )
protected

Definition at line 2588 of file fireplacebase.c.

References g_Game, and PLACEMENT_HEIGHT_LIMIT.

◆ CanBuildOven()

bool CanBuildOven ( )
protected

◆ CanBuildStoneCircle()

bool CanBuildStoneCircle ( )
protected

◆ CanCookOnStick()

bool CanCookOnStick ( )
protected

Definition at line 2564 of file fireplacebase.c.

References GetTemperature(), and PARAM_COOKING_TEMP_THRESHOLD.

◆ CanDismantleOven()

bool CanDismantleOven ( )
protected

◆ CanDismantleStoneCircle()

bool CanDismantleStoneCircle ( )
protected

Definition at line 2559 of file fireplacebase.c.

References HasStoneCircle(), IsBurning(), and IsOven().

◆ CanExtinguishFire()

bool CanExtinguishFire ( )
protected

Definition at line 2570 of file fireplacebase.c.

References IsBurning().

◆ CanHaveTemperature()

◆ CanHaveWetness()

override bool CanHaveWetness ( )
protected

Definition at line 556 of file fireplacebase.c.

◆ CanPutIntoHands()

override bool CanPutIntoHands ( EntityAI parent)
protected

Definition at line 2520 of file fireplacebase.c.

References GetTemperature(), and GameConstants::STATE_HOT_LVL_ONE.

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
protected

Definition at line 2691 of file fireplacebase.c.

References IsBurning(), IsFuel(), and IsKindling().

◆ CanShowSmoke()

bool CanShowSmoke ( )
protected

Definition at line 1050 of file fireplacebase.c.

◆ CanSwapEntities()

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

Definition at line 2511 of file fireplacebase.c.

References InventoryLocation::GetParent().

◆ CheckForDestroy()

◆ ClearCookingEquipment() [1/2]

void ClearCookingEquipment ( )
protected

◆ ClearCookingEquipment() [2/2]

void ClearCookingEquipment ( ItemBase pItem)
protected

Definition at line 597 of file fireplacebase.c.

References m_CookingProcess, and FireplaceBase::SetCookingEquipment().

◆ CookOnDirectSlot()

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

Definition at line 2153 of file fireplacebase.c.

References m_CookingProcess.

Referenced by Cooling(), and Heating().

◆ CookWithEquipment()

void CookWithEquipment ( )
protected

Definition at line 2137 of file fireplacebase.c.

References m_CookingEquipment, and m_CookingProcess.

Referenced by Cooling(), and Heating().

◆ Cooling()

◆ CreateAreaDamage()

void CreateAreaDamage ( )
protected

◆ DestroyAreaDamage()

◆ DestroyFireplace()

void DestroyFireplace ( )
protected

[DEPRECATED]

Definition at line 638 of file fireplacebase.c.

◆ DirectCookingSlotsInUse()

bool DirectCookingSlotsInUse ( )
protected

◆ DisassembleOnLastDetach()

override bool DisassembleOnLastDetach ( )
protected

Definition at line 2738 of file fireplacebase.c.

◆ EEDelete()

override void EEDelete ( EntityAI parent)
protected

Definition at line 404 of file fireplacebase.c.

References SetFireState(), and StopAllParticlesAndSounds().

◆ EEInit()

◆ EEItemAttached()

override void EEItemAttached ( EntityAI item,
string slot_name )
protected

Definition at line 332 of file fireplacebase.c.

References FireplaceBase::SetCookingEquipment().

◆ FireplaceBase()

◆ GetAirResistanceForSmokeParticles()

float GetAirResistanceForSmokeParticles ( float actual_height)
protected

Definition at line 1311 of file fireplacebase.c.

References Math::Clamp().

Referenced by ParticleNormalSmokeStart(), and ParticleSmallSmokeStart().

◆ GetAttachedStonesCount()

int GetAttachedStonesCount ( )
protected

Definition at line 1669 of file fireplacebase.c.

References ATTACHMENT_STONES, and HasStones().

Referenced by CanBuildOven(), and CanBuildStoneCircle().

◆ GetCeilingHeight()

bool GetCeilingHeight ( out float actual_height)
protected

◆ GetCookingEquipment()

ItemBase GetCookingEquipment ( )
protected

Definition at line 587 of file fireplacebase.c.

References m_CookingEquipment.

Referenced by StopCooling().

◆ GetCookingProcess()

Cooking GetCookingProcess ( )
protected

Definition at line 2145 of file fireplacebase.c.

References m_CookingProcess.

◆ GetCookingTargetTemperature()

override bool GetCookingTargetTemperature ( out float temperature)
protected

Definition at line 566 of file fireplacebase.c.

References GetTemperature().

◆ GetDebugActions()

override void GetDebugActions ( out TSelectableActionInfoArrayEx outputList)
protected

Definition at line 2801 of file fireplacebase.c.

References SAT_DEBUG_ACTION.

◆ GetDeploySoundset()

override string GetDeploySoundset ( )
protected

Definition at line 2611 of file fireplacebase.c.

◆ GetFireConsumableByItem()

FireConsumable GetFireConsumableByItem ( ItemBase item)
protected

◆ GetFireConsumableTypeEnergy()

float GetFireConsumableTypeEnergy ( ItemBase item)
protected

support for inherited classes; second pass of lookup inside FireConsumableType

Definition at line 1390 of file fireplacebase.c.

References FireConsumableType::GetEnergy(), and m_FireConsumableTypes.

Referenced by AddToFireConsumables().

◆ GetFireEffectPosition()

◆ GetFireState()

int GetFireState ( )
protected

Definition at line 1715 of file fireplacebase.c.

References m_FireState.

Referenced by Heating(), RefreshFireParticlesAndSounds(), and RefreshFireState().

◆ GetFuelBurnRateMP()

float GetFuelBurnRateMP ( )
protected

Definition at line 1704 of file fireplacebase.c.

References m_FuelBurnRateMP.

Referenced by Heating().

◆ GetFuelCount()

int GetFuelCount ( )
protected

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

Definition at line 1541 of file fireplacebase.c.

References IsFuel().

Referenced by AddWetnessToFireplace(), Cooling(), HasLastFuelKindlingAttached(), and Heating().

◆ GetIgniteFailure()

bool GetIgniteFailure ( )
protected

◆ GetItemToConsume()

FireConsumable GetItemToConsume ( )
protected

Definition at line 1463 of file fireplacebase.c.

References m_ItemToConsume.

Referenced by SpendFireConsumable().

◆ GetKindlingCount()

int GetKindlingCount ( )
protected

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

Definition at line 1524 of file fireplacebase.c.

References IsKindling().

Referenced by HasAnyKindling(), HasLastFuelKindlingAttached(), and RefreshFireplaceVisuals().

◆ GetLightEntity()

FireplaceLight GetLightEntity ( )
protected

Definition at line 2575 of file fireplacebase.c.

References m_Light.

Referenced by ~FireplaceBase(), and RefreshFireplaceVisuals().

◆ GetSmokeEffectPosition()

vector GetSmokeEffectPosition ( )
protected

Definition at line 1329 of file fireplacebase.c.

References Vector().

◆ GetSurfaceWetnessOnHeatModifier()

float GetSurfaceWetnessOnHeatModifier ( notnull EntityAI entity)
protected

Definition at line 2446 of file fireplacebase.c.

References g_Game, and Surface::GetParamFloat().

Referenced by OnItemLocationChanged().

◆ GetTemperatureLossMP()

float GetTemperatureLossMP ( )
protected

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

Definition at line 2847 of file fireplacebase.c.

References m_TemperatureLossMP.

◆ HasAnyKindling()

◆ HasAshes()

◆ HasCookingStand()

bool HasCookingStand ( )
protected

◆ HasLastAttachment()

bool HasLastAttachment ( )
protected

Definition at line 1607 of file fireplacebase.c.

◆ HasLastFuelKindlingAttached()

bool HasLastFuelKindlingAttached ( )
protected

Definition at line 1613 of file fireplacebase.c.

References GetFuelCount(), and GetKindlingCount().

◆ HasStoneCircle()

◆ HasStones()

◆ Heating()

◆ InitializeTemperatureSources()

void InitializeTemperatureSources ( )
protected

◆ IsBarrelWithHoles()

bool IsBarrelWithHoles ( )
protected

Definition at line 541 of file fireplacebase.c.

◆ IsBaseFireplace()

bool IsBaseFireplace ( )
protected

Definition at line 536 of file fireplacebase.c.

◆ IsBurning()

◆ IsCargoEmpty()

bool IsCargoEmpty ( )
protected

◆ IsCeilingHighEnoughForSmoke()

bool IsCeilingHighEnoughForSmoke ( )
protected

Definition at line 2411 of file fireplacebase.c.

Referenced by FireplaceBase::IsThisIgnitionSuccessful().

◆ IsEmpty()

◆ IsEntityOnInteriorSurface()

bool IsEntityOnInteriorSurface ( notnull EntityAI entity_ai)
staticprotected

Definition at line 2461 of file fireplacebase.c.

References g_Game.

Referenced by FireplaceBase::CanIgniteEntityAsFireplace().

◆ IsEntityOnWaterSurface()

bool IsEntityOnWaterSurface ( notnull EntityAI entity_ai)
staticprotected

Definition at line 2428 of file fireplacebase.c.

References string::Contains(), and g_Game.

◆ IsEntityWet()

bool IsEntityWet ( notnull EntityAI entity_ai)
staticprotected

Definition at line 2394 of file fireplacebase.c.

◆ IsFacingFireplace()

bool IsFacingFireplace ( PlayerBase player)
protected

DEPRECATED.

Definition at line 2356 of file fireplacebase.c.

References ErrorEx.

◆ IsFireplace()

override bool IsFireplace ( )
protected

Definition at line 531 of file fireplacebase.c.

Referenced by TripodBase::CanSwapEntities().

◆ IsFireplaceIndoor()

bool IsFireplaceIndoor ( )
protected

Definition at line 546 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals(), StartFire(), StartHeating(), and StopFire().

◆ IsFuel()

◆ IsInAnimPhase()

bool IsInAnimPhase ( string anim_phase)
protected

Definition at line 2491 of file fireplacebase.c.

Referenced by SetBurntFirewood().

◆ IsIndoorOven()

bool IsIndoorOven ( )
protected

Definition at line 551 of file fireplacebase.c.

◆ IsItemAttachedQuantity()

bool IsItemAttachedQuantity ( typename item_type ,
float quantity )
protected

Definition at line 1599 of file fireplacebase.c.

◆ IsItemTypeAttached()

bool IsItemTypeAttached ( typename item_type )
protected

Definition at line 1593 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals(), and FireplaceBase::RefreshPhysics().

◆ IsKindling()

◆ IsOnInteriorSurface()

bool IsOnInteriorSurface ( )
protected

Definition at line 2468 of file fireplacebase.c.

Referenced by FireplaceBase::IsThisIgnitionSuccessful().

◆ IsOnWaterSurface()

bool IsOnWaterSurface ( )
protected

Definition at line 2455 of file fireplacebase.c.

Referenced by FireplaceBase::IsThisIgnitionSuccessful().

◆ IsOpen()

override bool IsOpen ( )
protected

Definition at line 2405 of file fireplacebase.c.

◆ IsOven()

◆ IsPrepareToDelete()

override bool IsPrepareToDelete ( )
protected

◆ IsProcessing()

bool IsProcessing ( )
protected

returns true when FP is heating or cooling

Definition at line 1647 of file fireplacebase.c.

References m_CoolingTimer, and m_HeatingTimer.

Referenced by HandEvent(), DayZPlayer::HandleADS(), and ManBase::OnQuickBarSingleUse().

◆ IsRainingAbove()

bool IsRainingAbove ( )
protected

Definition at line 2422 of file fireplacebase.c.

Referenced by FireplaceBase::IsThisIgnitionSuccessful().

◆ IsRainingAboveEntity()

bool IsRainingAboveEntity ( notnull EntityAI entity_ai)
staticprotected

Definition at line 2417 of file fireplacebase.c.

References g_Game.

◆ IsSelfAdjustingTemperature()

override bool IsSelfAdjustingTemperature ( )
protected

Definition at line 572 of file fireplacebase.c.

References m_CoolingTimer, and m_IsBurning.

◆ IsSpaceFor()

bool IsSpaceFor ( vector size)
protected

Definition at line 2496 of file fireplacebase.c.

References dBodyGetInteractionLayer(), g_Game, and Vector().

Referenced by IsSpaceForCircle(), and IsSpaceForOven().

◆ IsSpaceForCircle()

bool IsSpaceForCircle ( )
protected

Definition at line 2548 of file fireplacebase.c.

References IsSpaceFor(), and Vector().

Referenced by CanBuildStoneCircle().

◆ IsSpaceForOven()

bool IsSpaceForOven ( )
protected

Definition at line 2536 of file fireplacebase.c.

References IsSpaceFor(), and Vector().

Referenced by CanBuildOven().

◆ IsWet()

◆ IsWindy()

bool IsWindy ( )
staticprotected

Definition at line 2374 of file fireplacebase.c.

References g_Game.

Referenced by FireplaceBase::IsThisIgnitionSuccessful(), and StartHeating().

◆ LockOvenAttachments()

void LockOvenAttachments ( bool lock)
protected

◆ OnAction()

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

Definition at line 2810 of file fireplacebase.c.

References g_Game, FireplaceBase::OnIgnitedThis(), and StopFire().

◆ OnAttachmentQuantityChanged()

override void OnAttachmentQuantityChanged ( ItemBase item)
protected

Definition at line 2684 of file fireplacebase.c.

References CalcAndSetQuantity().

◆ OnAttachmentRuined()

override void OnAttachmentRuined ( EntityAI attachment)
protected

◆ OnChildItemRemoved()

override void OnChildItemRemoved ( InventoryItem item)
protected

Definition at line 648 of file fireplacebase.c.

References CheckForDestroy().

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
protected

Definition at line 2785 of file fireplacebase.c.

References GetPosition(), and ItemBase::SetQuantity().

◆ OnItemLocationChanged()

◆ OnPlacementComplete()

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

◆ OnRPC()

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
protected

Definition at line 417 of file fireplacebase.c.

References m_FuelBurnRateMP, m_HasAshes, m_IsBurning, and Serializer::Write().

◆ OnVariablesSynchronized()

◆ ParticleFireEndStart()

void ParticleFireEndStart ( )
protected

◆ ParticleFireEndStop()

void ParticleFireEndStop ( )
protected

Definition at line 1246 of file fireplacebase.c.

References m_ParticleFireEnd, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleFireStartStart()

void ParticleFireStartStart ( )
protected

◆ ParticleFireStartStop()

void ParticleFireStartStop ( )
protected

Definition at line 1140 of file fireplacebase.c.

References m_ParticleFireStart, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleFireWindyNoIgniteStart()

void ParticleFireWindyNoIgniteStart ( )
protected

◆ ParticleNormalFireStart()

void ParticleNormalFireStart ( )
protected

◆ ParticleNormalFireStop()

void ParticleNormalFireStop ( )
protected

Definition at line 1176 of file fireplacebase.c.

References m_ParticleNormalFire, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleNormalSmokeStart()

◆ ParticleNormalSmokeStop()

void ParticleNormalSmokeStop ( )
protected

Definition at line 1228 of file fireplacebase.c.

References m_ParticleNormalSmoke, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleSmallFireStart()

void ParticleSmallFireStart ( )
protected

◆ ParticleSmallFireStop()

void ParticleSmallFireStop ( )
protected

Definition at line 1158 of file fireplacebase.c.

References m_ParticleSmallFire, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleSmallSmokeStart()

◆ ParticleSmallSmokeStop()

void ParticleSmallSmokeStop ( )
protected

Definition at line 1202 of file fireplacebase.c.

References m_ParticleSmallSmoke, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleSteamEndStart()

void ParticleSteamEndStart ( )
protected

◆ ParticleSteamEndStop()

void ParticleSteamEndStop ( )
protected

Definition at line 1280 of file fireplacebase.c.

References m_ParticleSteamEnd, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleSteamExtinguishingStart()

void ParticleSteamExtinguishingStart ( )
protected

◆ ParticleSteamExtinguishingStop()

void ParticleSteamExtinguishingStop ( )
protected

Definition at line 1269 of file fireplacebase.c.

References m_ParticleSteamExtinguishing, and StopParticle().

Referenced by RefreshFireParticlesAndSounds().

◆ ParticleWetNoIgniteStart()

void ParticleWetNoIgniteStart ( )
protected

Definition at line 1285 of file fireplacebase.c.

References GetFireEffectPosition(), m_ParticleSteamEnd, PARTICLE_STEAM_END, and PlayParticle().

Referenced by OnRPC().

◆ ParticleWetNoIgniteStop()

void ParticleWetNoIgniteStop ( )
protected

Definition at line 1290 of file fireplacebase.c.

References m_ParticleSteamEnd, and StopParticle().

◆ PlayParticle()

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

Definition at line 1094 of file fireplacebase.c.

References g_Game, and ParticleManager().

◆ RefreshFireParticlesAndSounds()

◆ RefreshFireplacePhysics()

void RefreshFireplacePhysics ( )
protected

◆ RefreshFireplaceVisuals()

◆ RefreshFireState()

void RefreshFireState ( )
protected

◆ RemoveFromFireConsumables()

void RemoveFromFireConsumables ( FireConsumable fire_consumable)
protected

◆ SetAshesState()

void SetAshesState ( bool has_ashes)
protected

Definition at line 1641 of file fireplacebase.c.

References m_HasAshes.

Referenced by SpendFireConsumable().

◆ SetBurningState()

void SetBurningState ( bool is_burning)
protected

Definition at line 1629 of file fireplacebase.c.

References m_IsBurning.

Referenced by StartFire(), and StopFire().

◆ SetBurntFirewood()

void SetBurntFirewood ( )
protected

DEPRECATED.

Definition at line 840 of file fireplacebase.c.

References ANIMATION_BURNT_WOOD, ANIMATION_WOOD, g_Game, and IsInAnimPhase().

◆ SetCookingEquipment()

void SetCookingEquipment ( ItemBase equipment)
protected

Definition at line 592 of file fireplacebase.c.

References m_CookingEquipment.

◆ SetExtinguishingState()

void SetExtinguishingState ( )
protected

Definition at line 1731 of file fireplacebase.c.

References SetFireState().

◆ SetFireState()

void SetFireState ( FireplaceFireState state)
protected

Definition at line 1721 of file fireplacebase.c.

References m_FireState, and Synchronize().

Referenced by EEDelete(), RefreshFireState(), SetExtinguishingState(), StopCooling(), and StopFire().

◆ SetFuelBurnRateMP()

void SetFuelBurnRateMP ( float value)
protected

Definition at line 1709 of file fireplacebase.c.

References m_FuelBurnRateMP.

Referenced by FireplaceBase(), and RefreshFireplaceVisuals().

◆ SetIgniteFailure()

void SetIgniteFailure ( bool failure)
protected

◆ SetItemToConsume()

FireConsumable SetItemToConsume ( )
protected

◆ SetLightEntity()

void SetLightEntity ( FireplaceLight light)
protected

Definition at line 2580 of file fireplacebase.c.

References m_Light.

Referenced by RefreshFireplaceVisuals().

◆ SetOvenState()

void SetOvenState ( bool is_oven)
protected

Definition at line 1679 of file fireplacebase.c.

References InventorySlots::GetSlotIdFromString(), m_IsOven, and Synchronize().

◆ SetStoneCircleState()

void SetStoneCircleState ( bool has_stonecircle)
protected

◆ SetTemperatureLossMP()

void SetTemperatureLossMP ( float value)
protected

Definition at line 2852 of file fireplacebase.c.

References m_TemperatureLossMP.

◆ SmokeOnSmokingSlot()

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

Definition at line 2161 of file fireplacebase.c.

References m_CookingProcess.

Referenced by Cooling(), and Heating().

◆ SmokingSlotsInUse()

bool SmokingSlotsInUse ( )
protected

◆ SoundFireExtinguishedStart()

void SoundFireExtinguishedStart ( )
protected

Definition at line 1354 of file fireplacebase.c.

References m_SoundFire, and SOUND_FIRE_EXTINGUISHED.

Referenced by RefreshFireParticlesAndSounds().

◆ SoundFireExtinguishingStart()

void SoundFireExtinguishingStart ( )
protected

Definition at line 1364 of file fireplacebase.c.

References m_SoundFireLoop, and SOUND_FIRE_EXTINGUISHING.

Referenced by RefreshFireParticlesAndSounds().

◆ SoundFireHeavyStart()

void SoundFireHeavyStart ( )
protected

Definition at line 1344 of file fireplacebase.c.

References m_SoundFireLoop, and SOUND_FIRE_HEAVY.

Referenced by RefreshFireParticlesAndSounds().

◆ SoundFireLightStart()

void SoundFireLightStart ( )
protected

Definition at line 1339 of file fireplacebase.c.

References m_SoundFireLoop, and SOUND_FIRE_LIGHT.

Referenced by RefreshFireParticlesAndSounds().

◆ SoundFireNoFireStart()

void SoundFireNoFireStart ( )
protected

Definition at line 1349 of file fireplacebase.c.

References m_SoundFireLoop, and SOUND_FIRE_NO_FIRE.

Referenced by RefreshFireParticlesAndSounds().

◆ SoundFireStop()

void SoundFireStop ( )
protected

Definition at line 1375 of file fireplacebase.c.

References m_SoundFireLoop.

Referenced by OnRPC(), and RefreshFireParticlesAndSounds().

◆ SoundFireWetNoIgniteStart()

void SoundFireWetNoIgniteStart ( )
protected

Definition at line 1359 of file fireplacebase.c.

References m_SoundFire, and SOUND_FIRE_EXTINGUISHED.

Referenced by OnRPC().

◆ SoundFireWindyNoIgniteStart()

void SoundFireWindyNoIgniteStart ( )
protected

Definition at line 1369 of file fireplacebase.c.

References m_SoundFire.

Referenced by OnRPC().

◆ SpendFireConsumable()

◆ StartCooling()

void StartCooling ( )
protected

◆ StartFire()

◆ StartHeating()

◆ StopAllParticlesAndSounds()

◆ StopCooling()

◆ StopFire()

◆ StopHeating()

void StopHeating ( )
protected

Definition at line 1957 of file fireplacebase.c.

References m_HeatingTimer.

Referenced by StopFire().

◆ StopParticle()

bool StopParticle ( out Particle particle)
protected

Definition at line 1114 of file fireplacebase.c.

References g_Game.

◆ Synchronize()

void Synchronize ( )
protected

Definition at line 488 of file fireplacebase.c.

References CALL_CATEGORY_GAMEPLAY, g_Game, and RefreshFireplaceVisuals().

◆ TransferHeatToNearPlayers()

void TransferHeatToNearPlayers ( )
protected

DEPRECATED.

Definition at line 2328 of file fireplacebase.c.

Variable Documentation

◆ ANIMATION_ASHES

const string ANIMATION_ASHES = "Ashes"
protected

Definition at line 165 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ ANIMATION_BURNT_WOOD

const string ANIMATION_BURNT_WOOD = "BurntWood"
protected

Definition at line 169 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals(), and SetBurntFirewood().

◆ ANIMATION_CAULDRON_HANDLE

const string ANIMATION_CAULDRON_HANDLE = "handle1Rotate"
protected

◆ ANIMATION_COOKWARE_HANDLE

const string ANIMATION_COOKWARE_HANDLE = "handleRotate"
protected

◆ ANIMATION_INVENTORY

const string ANIMATION_INVENTORY = "Inventory"
protected

Definition at line 174 of file fireplacebase.c.

◆ ANIMATION_KINDLING

const string ANIMATION_KINDLING = "Kindling"
protected

Definition at line 166 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ ANIMATION_OVEN

const string ANIMATION_OVEN = "Oven"
protected

Definition at line 173 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals(), and FireplaceBase::RefreshPhysics().

◆ ANIMATION_STICKS

const string ANIMATION_STICKS = "Sticks"
protected

Definition at line 167 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ ANIMATION_STONE

const string ANIMATION_STONE = "Stone"
protected

Definition at line 170 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ ANIMATION_STONES

const string ANIMATION_STONES = "StonesCircle"
protected

Definition at line 171 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ ANIMATION_TRIPOD

const string ANIMATION_TRIPOD = "Tripod"
protected

Definition at line 172 of file fireplacebase.c.

Referenced by FireplaceBase::RefreshPhysics().

◆ ANIMATION_WOOD

const string ANIMATION_WOOD = "Wood"
protected

Definition at line 168 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals(), and SetBurntFirewood().

◆ ATTACHMENT_BANDAGE

ATTACHMENT_BANDAGE = BandageDressing
protected

Definition at line 189 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_BARK_BIRCH

ATTACHMENT_BARK_BIRCH = Bark_Birch
protected

Definition at line 192 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_BARK_OAK

ATTACHMENT_BARK_OAK = Bark_Oak
protected

Definition at line 191 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_BOOK

ATTACHMENT_BOOK = ItemBook
protected

Definition at line 190 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_CAULDRON

◆ ATTACHMENT_COOKING_POT

◆ ATTACHMENT_COOKINGSTAND

ATTACHMENT_COOKINGSTAND = CookingStand
protected

Definition at line 199 of file fireplacebase.c.

Referenced by AddDamageToItemByFireEx(), and OnAttachmentRuined().

◆ ATTACHMENT_EYEMASK_COLORBASE

ATTACHMENT_EYEMASK_COLORBASE = EyeMask_ColorBase
protected

Definition at line 196 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_FIREWOOD

ATTACHMENT_FIREWOOD = Firewood
protected

Definition at line 186 of file fireplacebase.c.

Referenced by FireplaceBase(), and RefreshFireplaceVisuals().

◆ ATTACHMENT_FRYING_PAN

ATTACHMENT_FRYING_PAN = FryingPan
protected

◆ ATTACHMENT_GIFTWRAP

ATTACHMENT_GIFTWRAP = GiftWrapPaper
protected

Definition at line 194 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_PAPER

ATTACHMENT_PAPER = Paper
protected

Definition at line 193 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_PUNCHEDCARD

ATTACHMENT_PUNCHEDCARD = PunchedCard
protected

Definition at line 195 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_RAGS

ATTACHMENT_RAGS = Rag
protected

Definition at line 188 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ ATTACHMENT_STICKS

ATTACHMENT_STICKS = WoodenStick
protected

Definition at line 185 of file fireplacebase.c.

Referenced by FireplaceBase(), and RefreshFireplaceVisuals().

◆ ATTACHMENT_STONES

◆ ATTACHMENT_TRIPOD

ATTACHMENT_TRIPOD = Tripod
protected

◆ DIRECT_COOKING_SLOT_COUNT

const int DIRECT_COOKING_SLOT_COUNT = 3
protected

update interval duration of cooling process (seconds) direct cooking slots

Definition at line 77 of file fireplacebase.c.

Referenced by Cooling(), DirectCookingSlotsInUse(), Heating(), and StopCooling().

◆ DIRECT_COOKING_SPEED

const float DIRECT_COOKING_SPEED = 1.5
protected

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

Definition at line 2841 of file fireplacebase.c.

◆ FUEL_BURN_RATE_DEFAULT

const float FUEL_BURN_RATE_DEFAULT = 1.0
protected

min height of ceiling for fire to be ignited

Definition at line 67 of file fireplacebase.c.

Referenced by FireplaceBase(), and RefreshFireplaceVisuals().

◆ FUEL_BURN_RATE_OVEN

const float FUEL_BURN_RATE_OVEN = 0.85
protected

Definition at line 69 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ FUEL_BURN_RATE_STONES

const float FUEL_BURN_RATE_STONES = 0.92
protected

Definition at line 68 of file fireplacebase.c.

Referenced by RefreshFireplaceVisuals().

◆ IGNITE_WIND_THRESHOLD

const float IGNITE_WIND_THRESHOLD = 0.8
protected

Definition at line 85 of file fireplacebase.c.

◆ LIFETIME_FIREPLACE_STONE_CIRCLE

const int LIFETIME_FIREPLACE_STONE_CIRCLE = 172800
protected

Definition at line 82 of file fireplacebase.c.

◆ LIFETIME_FIREPLACE_STONE_OVEN

const int LIFETIME_FIREPLACE_STONE_OVEN = 604800
protected

Definition at line 83 of file fireplacebase.c.

◆ m_AreaDamage

◆ m_CanNoise

bool m_CanNoise = true
private

Definition at line 217 of file fireplacebase.c.

Referenced by Heating().

◆ m_ClutterCutter

Object m_ClutterCutter
protected

◆ m_CookingEquipment

ItemBase m_CookingEquipment
protected

◆ m_CookingProcess

ref Cooking m_CookingProcess
protected

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

Definition at line 38 of file fireplacebase.c.

Referenced by ClearCookingEquipment(), CookOnDirectSlot(), CookWithEquipment(), EEInit(), GetCookingProcess(), SmokeOnSmokingSlot(), StartCooling(), and StartHeating().

◆ m_CoolingTimer

◆ m_DirectCookingSlots

◆ m_FireConsumables

◆ m_FireConsumableTypes

ref map<typename, ref FireConsumableType> m_FireConsumableTypes
staticprotected

◆ m_FireState

Definition at line 30 of file fireplacebase.c.

Referenced by GetFireState(), and SetFireState().

◆ m_FuelBurnRateMP

float m_FuelBurnRateMP = 1.0
protected

Definition at line 35 of file fireplacebase.c.

Referenced by GetFuelBurnRateMP(), OnStoreLoad(), OnStoreSave(), and SetFuelBurnRateMP().

◆ m_HalfExtents

vector m_HalfExtents
protected

Definition at line 32 of file fireplacebase.c.

◆ m_HasAshes

bool m_HasAshes = false
protected

Definition at line 25 of file fireplacebase.c.

Referenced by HasAshes(), OnStoreLoad(), OnStoreSave(), and SetAshesState().

◆ m_HasStoneCircle

bool m_HasStoneCircle = false
protected

◆ m_HeatingTimer

ref Timer m_HeatingTimer
protected

value for calculating of wetness that fireplace gain when raining

Definition at line 93 of file fireplacebase.c.

Referenced by AddDamageToItemByFireEx(), AddTemperatureToItemByFire(), IsProcessing(), StartCooling(), StartHeating(), and StopHeating().

◆ m_IsBurning

◆ m_IsOven

bool m_IsOven = false
protected

◆ m_ItemToConsume

ref FireConsumable m_ItemToConsume
protected

Definition at line 104 of file fireplacebase.c.

Referenced by GetItemToConsume(), and SetItemToConsume().

◆ m_LastFireState

FireplaceFireState m_LastFireState = FireplaceFireState.NO_FIRE
protected

Definition at line 31 of file fireplacebase.c.

Referenced by RefreshFireParticlesAndSounds().

◆ m_Light

FireplaceLight m_Light
protected

Definition at line 97 of file fireplacebase.c.

◆ m_LightDistance

◆ m_NoIgnite

bool m_NoIgnite = false
protected

Definition at line 28 of file fireplacebase.c.

Referenced by GetIgniteFailure(), and SetIgniteFailure().

◆ m_NoisePar

ref NoiseParams m_NoisePar
protected

Definition at line 216 of file fireplacebase.c.

◆ m_OvenAttachmentsLockState

int m_OvenAttachmentsLockState = -1
protected

Definition at line 29 of file fireplacebase.c.

Referenced by LockOvenAttachments(), and RefreshFireplaceVisuals().

◆ m_ParticleFireEnd

Particle m_ParticleFireEnd
protected

◆ m_ParticleFireStart

Particle m_ParticleFireStart
protected

◆ m_ParticleNormalFire

Particle m_ParticleNormalFire
protected

◆ m_ParticleNormalSmoke

◆ m_ParticleSmallFire

Particle m_ParticleSmallFire
protected

◆ m_ParticleSmallSmoke

◆ m_ParticleSteamEnd

◆ m_ParticleSteamExtinguishing

Particle m_ParticleSteamExtinguishing
protected

◆ m_SmokingSlots

◆ m_SoundFire

◆ m_SoundFireLoop

◆ m_TemperatureLossMP

float m_TemperatureLossMP = 1.0
protected

value for calculating of wetness that fireplace gain when raining

Definition at line 2844 of file fireplacebase.c.

Referenced by GetTemperatureLossMP(), OnStoreLoad(), and SetTemperatureLossMP().

◆ m_ThawnSurfaceUnderSupport

bool m_ThawnSurfaceUnderSupport
protected

size of wetness increment (per FP heating tick) added to overall FP wetness when ignited on wet surface

Definition at line 228 of file fireplacebase.c.

Referenced by FireplaceFireBarrel::FireplaceFireBarrel(), ~FireplaceBase(), FireplaceBase::BarrelHoles_ColorBase(), EEInit(), FireplaceBase::Fireplace(), OnItemLocationChanged(), and OnVariablesSynchronized().

◆ m_TotalEnergy

float m_TotalEnergy
protected

Definition at line 213 of file fireplacebase.c.

Referenced by CalcAndSetQuantity(), and CalcAndSetTotalEnergy().

◆ m_UnderObjectDecalSpawnComponent

ref UnderObjectDecalSpawnComponent m_UnderObjectDecalSpawnComponent
protected

◆ m_UnderObjectDecalSpawnSettings

◆ m_UTSLFireplace

◆ m_UTSource

◆ m_UTSSettings

◆ MATERIAL_FIREPLACE_GLOW

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

Definition at line 180 of file fireplacebase.c.

Referenced by StartHeating().

◆ MATERIAL_FIREPLACE_NOGLOW

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

Definition at line 181 of file fireplacebase.c.

Referenced by StopCooling().

◆ MAX_TEMPERATURE_TO_DISMANTLE_OVEN

const int MAX_TEMPERATURE_TO_DISMANTLE_OVEN = 40
protected

minimum amount of stones for oven

Definition at line 63 of file fireplacebase.c.

Referenced by CanDismantleOven().

◆ MESSAGE_BURY_ASHES_FAILED_BURNING

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

Definition at line 159 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."
protected

Definition at line 157 of file fireplacebase.c.

◆ MESSAGE_BURY_ASHES_FAILED_SURFACE

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

Definition at line 158 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."
protected

Definition at line 160 of file fireplacebase.c.

◆ MESSAGE_CANNOT_BUILD_OVEN

const string MESSAGE_CANNOT_BUILD_OVEN = "Cannot build oven."
protected

Definition at line 161 of file fireplacebase.c.

◆ MESSAGE_CANNOT_DISMANTLE_OVEN

const string MESSAGE_CANNOT_DISMANTLE_OVEN = "Cannot dismantle oven."
protected

Definition at line 162 of file fireplacebase.c.

◆ MESSAGE_IGNITE_IGNIT_ITEM_DAMAGED

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

Definition at line 147 of file fireplacebase.c.

◆ MESSAGE_IGNITE_IN_WATER

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

Definition at line 152 of file fireplacebase.c.

◆ MESSAGE_IGNITE_NO_KINDLING

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

Definition at line 148 of file fireplacebase.c.

◆ MESSAGE_IGNITE_RAIN

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

Definition at line 150 of file fireplacebase.c.

◆ MESSAGE_IGNITE_TOO_WET

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

Definition at line 149 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."
protected

Definition at line 153 of file fireplacebase.c.

◆ MESSAGE_IGNITE_WIND

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

Definition at line 151 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_NO_KINDLING

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

Definition at line 154 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_RAIN

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

Definition at line 155 of file fireplacebase.c.

◆ MESSAGE_REIGNITE_TOO_WET

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

Definition at line 156 of file fireplacebase.c.

◆ MIN_CEILING_HEIGHT

const float MIN_CEILING_HEIGHT = 5
protected

maximum temperature for dismantling oven

Definition at line 64 of file fireplacebase.c.

Referenced by GetCeilingHeight().

◆ MIN_STONES_TO_BUILD_CIRCLE

const int MIN_STONES_TO_BUILD_CIRCLE = 8
protected

Definition at line 61 of file fireplacebase.c.

Referenced by CanBuildStoneCircle().

◆ MIN_STONES_TO_BUILD_OVEN

const int MIN_STONES_TO_BUILD_OVEN = 16
protected

minimum amount of stones for circle

Definition at line 62 of file fireplacebase.c.

Referenced by CanBuildOven().

◆ OBJECT_CLUTTER_CUTTER

const string OBJECT_CLUTTER_CUTTER = "ClutterCutterFireplace"
protected

◆ PARAM_BURN_DAMAGE_COEF

const float PARAM_BURN_DAMAGE_COEF = 5.0
protected

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

Definition at line 54 of file fireplacebase.c.

◆ PARAM_BURN_WET_THRESHOLD

const float PARAM_BURN_WET_THRESHOLD = 0.40
protected

maximum rain value when the fireplace can be ignited

Definition at line 50 of file fireplacebase.c.

Referenced by Heating(), and StartHeating().

◆ PARAM_COOKING_EQUIP_MAX_TEMP

const float PARAM_COOKING_EQUIP_MAX_TEMP = 250
protected

Definition at line 2839 of file fireplacebase.c.

◆ PARAM_COOKING_EQUIP_TEMP_INCREASE

const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10
protected

maximum temperature of attached cooking equipment (degree Celsius)

Definition at line 2840 of file fireplacebase.c.

◆ PARAM_COOKING_TEMP_THRESHOLD

const float PARAM_COOKING_TEMP_THRESHOLD = 100
protected

cooking

Definition at line 72 of file fireplacebase.c.

Referenced by CanCookOnStick(), and Cooling().

◆ PARAM_DRY_MODIFIER

const float PARAM_DRY_MODIFIER = 1.3
protected

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

Definition at line 58 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ PARAM_FIRE_CONSUM_RATE_AMOUNT

const float PARAM_FIRE_CONSUM_RATE_AMOUNT = 0.5
protected

value for calculating wetness loss during cooling process

Definition at line 53 of file fireplacebase.c.

Referenced by Heating().

◆ PARAM_FULL_HEAT_RADIUS

const float PARAM_FULL_HEAT_RADIUS = 2.0
protected

value for calculating damage on items located in fireplace cargo

Definition at line 55 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ PARAM_HEAT_RADIUS

const float PARAM_HEAT_RADIUS = 4.0
protected

radius in which objects are fully heated by fire

Definition at line 56 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ PARAM_HEAT_THROUGH_AIR_COEF

const float PARAM_HEAT_THROUGH_AIR_COEF = 0.1
protected

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

Definition at line 2835 of file fireplacebase.c.

◆ PARAM_IGNITE_RAIN_THRESHOLD

const float PARAM_IGNITE_RAIN_THRESHOLD = 0.1
protected

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

Definition at line 49 of file fireplacebase.c.

◆ PARAM_ITEM_HEAT_MIN_TEMP

const float PARAM_ITEM_HEAT_MIN_TEMP = 40
protected

Definition at line 2831 of file fireplacebase.c.

◆ PARAM_ITEM_HEAT_TEMP_HEATING_COEF

const float PARAM_ITEM_HEAT_TEMP_HEATING_COEF = 1.0
protected

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

Definition at line 2833 of file fireplacebase.c.

◆ PARAM_ITEM_HEAT_TEMP_INCREASE_COEF

const float PARAM_ITEM_HEAT_TEMP_INCREASE_COEF = 10
protected

DEPRECATED.

Definition at line 2832 of file fireplacebase.c.

◆ PARAM_MAX_ITEM_HEAT_TEMP_INCREASE

const float PARAM_MAX_ITEM_HEAT_TEMP_INCREASE = 200
protected

multiplies temperature change on heating

Definition at line 2834 of file fireplacebase.c.

◆ PARAM_MAX_TRANSFERED_TEMPERATURE

const float PARAM_MAX_TRANSFERED_TEMPERATURE = 20
protected

radius in which objects are heated by fire

Definition at line 57 of file fireplacebase.c.

Referenced by FireplaceBase().

◆ PARAM_MAX_WET_TO_IGNITE

const float PARAM_MAX_WET_TO_IGNITE = 0.2
protected

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

Definition at line 47 of file fireplacebase.c.

◆ PARAM_MIN_FIRE_TEMPERATURE

const float PARAM_MIN_FIRE_TEMPERATURE = 30
protected

maximum fireplace temperature of an outdoor fire (degree Celsius)

Definition at line 44 of file fireplacebase.c.

Referenced by AddWetnessToFireplace(), and RefreshFireState().

◆ PARAM_MIN_TEMP_TO_REIGNITE

const float PARAM_MIN_TEMP_TO_REIGNITE = 30
protected

maximum wetness value when the fireplace can be ignited

Definition at line 48 of file fireplacebase.c.

◆ PARAM_NORMAL_FIRE_TEMPERATURE

const float PARAM_NORMAL_FIRE_TEMPERATURE = 1000
protected

maximum fireplace temperature of a small fire (degree Celsius)

Definition at line 42 of file fireplacebase.c.

Referenced by AddWetnessToFireplace(), and InitializeTemperatureSources().

◆ PARAM_OUTDOOR_FIRE_TEMPERATURE

const float PARAM_OUTDOOR_FIRE_TEMPERATURE = 500
protected

maximum fireplace temperature of a normal fire (degree Celsius)

Definition at line 43 of file fireplacebase.c.

Referenced by FireplaceBase::InitializeTemperatureSources().

◆ PARAM_SMALL_FIRE_TEMPERATURE

const float PARAM_SMALL_FIRE_TEMPERATURE = 150
protected

◆ PARAM_TEMPERATURE_DECREASE

const float PARAM_TEMPERATURE_DECREASE = 3
protected

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

Definition at line 46 of file fireplacebase.c.

Referenced by Cooling(), and Heating().

◆ PARAM_TEMPERATURE_INCREASE

const float PARAM_TEMPERATURE_INCREASE = 10
protected

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

Definition at line 45 of file fireplacebase.c.

Referenced by Heating().

◆ PARAM_WET_COOLING_DECREASE_COEF

const float PARAM_WET_COOLING_DECREASE_COEF = 0.002
protected

value for calculating wetness loss during heating process

Definition at line 52 of file fireplacebase.c.

Referenced by Cooling().

◆ PARAM_WET_HEATING_DECREASE_COEF

const float PARAM_WET_HEATING_DECREASE_COEF = 0.01
protected

maximum wetness value when the fireplace is able to burn

Definition at line 51 of file fireplacebase.c.

Referenced by BurnItemsInFireplace(), and Heating().

◆ PARAM_WET_INCREASE_COEF

const float PARAM_WET_INCREASE_COEF = 0.02
protected

Definition at line 2842 of file fireplacebase.c.

◆ PARTICLE_FIRE_END

◆ PARTICLE_FIRE_START

◆ PARTICLE_NO_IGNITE_WIND

int PARTICLE_NO_IGNITE_WIND = ParticleList.CAMP_NO_IGNITE_WIND
protected

Definition at line 118 of file fireplacebase.c.

Referenced by ParticleFireWindyNoIgniteStart().

◆ PARTICLE_NORMAL_FIRE

◆ PARTICLE_NORMAL_SMOKE

◆ PARTICLE_OVEN_FIRE

int PARTICLE_OVEN_FIRE = ParticleList.CAMP_STOVE_FIRE
protected

Definition at line 111 of file fireplacebase.c.

Referenced by ParticleNormalFireStart(), and ParticleSmallFireStart().

◆ PARTICLE_OVEN_FIRE_END

int PARTICLE_OVEN_FIRE_END = ParticleList.CAMP_STOVE_FIRE_END
protected

Definition at line 115 of file fireplacebase.c.

Referenced by ParticleFireEndStart(), and ParticleFireWindyNoIgniteStart().

◆ PARTICLE_OVEN_FIRE_START

int PARTICLE_OVEN_FIRE_START = ParticleList.CAMP_STOVE_FIRE_START
protected

Definition at line 108 of file fireplacebase.c.

Referenced by ParticleFireStartStart().

◆ PARTICLE_SMALL_FIRE

◆ PARTICLE_SMALL_SMOKE

◆ PARTICLE_STEAM_END

◆ PARTICLE_STEAM_EXTINGUISHING

int PARTICLE_STEAM_EXTINGUISHING = ParticleList.CAMP_STEAM_EXTINGUISH_START
protected

Definition at line 117 of file fireplacebase.c.

Referenced by ParticleSteamExtinguishingStart().

◆ PLACEMENT_HEIGHT_LIMIT

const float PLACEMENT_HEIGHT_LIMIT = 0.1
protected

Definition at line 205 of file fireplacebase.c.

Referenced by CanBePlaced().

◆ RAIN_EFFECT_LIMIT

const float RAIN_EFFECT_LIMIT = 0.4
protected

Definition at line 87 of file fireplacebase.c.

Referenced by Cooling(), and Heating().

◆ RAIN_WETNESS_INCREASE

const float RAIN_WETNESS_INCREASE = 0.02
protected

snowfall level that triggers fireplace to start soaking

Definition at line 89 of file fireplacebase.c.

Referenced by Cooling(), and Heating().

◆ SMOKING_SLOT_COUNT

const int SMOKING_SLOT_COUNT = 4
protected

Definition at line 78 of file fireplacebase.c.

Referenced by Cooling(), Heating(), and SmokingSlotsInUse().

◆ SMOKING_SPEED

const float SMOKING_SPEED = 1
protected

Definition at line 79 of file fireplacebase.c.

◆ SNOWFALL_EFFECT_LIMIT

const float SNOWFALL_EFFECT_LIMIT = 1.5
protected

rain level that triggers fireplace to start soaking

Definition at line 88 of file fireplacebase.c.

Referenced by Cooling(), and Heating().

◆ SNOWFALL_WETNESS_INCREASE

const float SNOWFALL_WETNESS_INCREASE = 0.01
protected

value for calculating of wetness that fireplace gain when raining

Definition at line 90 of file fireplacebase.c.

Referenced by Cooling(), and Heating().

◆ SOUND_FIRE_EXTINGUISHED

const string SOUND_FIRE_EXTINGUISHED = "ExtinguishByWaterEnd_SoundSet"
protected

Definition at line 134 of file fireplacebase.c.

Referenced by SoundFireExtinguishedStart(), and SoundFireWetNoIgniteStart().

◆ SOUND_FIRE_EXTINGUISHING

const string SOUND_FIRE_EXTINGUISHING = "ExtinguishByWater_SoundSet"
protected

Definition at line 133 of file fireplacebase.c.

Referenced by SoundFireExtinguishingStart().

◆ SOUND_FIRE_HEAVY

const string SOUND_FIRE_HEAVY = "HeavyFire_SoundSet"
protected

Definition at line 130 of file fireplacebase.c.

Referenced by SoundFireHeavyStart().

◆ SOUND_FIRE_LIGHT

const string SOUND_FIRE_LIGHT = "LightFire_SoundSet"
protected

Definition at line 131 of file fireplacebase.c.

Referenced by SoundFireLightStart().

◆ SOUND_FIRE_NO_FIRE

const string SOUND_FIRE_NO_FIRE = "NoFuelFire_SoundSet"
protected

Definition at line 132 of file fireplacebase.c.

Referenced by SoundFireNoFireStart().

◆ TEMPERATURE_LOSS_MP_DEFAULT

const float TEMPERATURE_LOSS_MP_DEFAULT = 1.0
protected

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

Definition at line 2836 of file fireplacebase.c.

◆ TEMPERATURE_LOSS_MP_OVEN

const float TEMPERATURE_LOSS_MP_OVEN = 0.75
protected

Definition at line 2838 of file fireplacebase.c.

◆ TEMPERATURE_LOSS_MP_STONES

const float TEMPERATURE_LOSS_MP_STONES = 0.90
protected

Definition at line 2837 of file fireplacebase.c.

◆ TIMER_COOLING_UPDATE_INTERVAL

const int TIMER_COOLING_UPDATE_INTERVAL = 3
protected

update interval duration of heating process (seconds)

Definition at line 75 of file fireplacebase.c.

Referenced by AddDamageToItemByFireEx(), AddTemperatureToItemByFire(), Cooling(), and StartCooling().

◆ TIMER_HEATING_UPDATE_INTERVAL

const int TIMER_HEATING_UPDATE_INTERVAL = 3
protected

temperature threshold for starting coooking process (degree Celsius) timer constants

Definition at line 74 of file fireplacebase.c.

Referenced by AddDamageToItemByFireEx(), AddTemperatureToItemByFire(), Cooling(), Heating(), and StartHeating().

◆ WET

enum FireplaceFireState WET = 1

◆ WET_SURFACE_INCREMENT

const float WET_SURFACE_INCREMENT = 0.06
protected

Definition at line 225 of file fireplacebase.c.

Referenced by Heating().

◆ WIND

enum FireplaceFireState WIND = 0