Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
FlammableBase Class Reference
Inheritance diagram for FlammableBase:
ItemBase BroomBase Broom_Birch

Protected Member Functions

void ApplyResultModifications (ItemBase result)
void CalculateQuantity ()
override bool CanBeIgnitedBy (EntityAI igniter=NULL)
bool CanBeTakenAsCargo ()
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanPutAsAttachment (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
bool CanReceiveUpgrade ()
override bool CanReleaseAttachment (EntityAI attachment)
override bool CanRemoveFromCargo (EntityAI parent)
bool CanTransformIntoStick ()
void ConsumeFuelFromBottle (ItemBase vessel)
void ConsumeFuelFromGasStation ()
void ConsumeLard (Lard lard)
bool ConsumeRag ()
void CraftingInit (float quantity)
override void DeferredInit ()
override bool DisassembleOnLastDetach ()
override void EEDelete (EntityAI parent)
override void EEInit ()
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
string GetBurningMaterial ()
string GetBurntMaterial ()
override int GetMeleeHeavyMode ()
override int GetMeleeMode ()
override int GetMeleeSprintMode ()
Rag GetRag ()
int GetRagQuantity ()
string GetSoundName ()
override vector GetUniversalTemperatureSourcePosition ()
override bool HasFlammableMaterial ()
void Init ()
override bool IsIgnited ()
bool IsRagDryEnough (ItemBase rag)
void LockRags (bool do_lock)
override void OnAttachmentQuantityChangedEx (ItemBase item, float delta)
override void OnDebugSpawn ()
override void OnIgnitedThis (EntityAI fire_source)
override void OnInventoryExit (Man player)
override void OnItemInHandsPlayerSwimStart (PlayerBase player)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnSwitchOff ()
override void OnSwitchOn ()
override void OnWork (float consumed_energy)
override void OnWorkStart ()
override void OnWorkStop ()
void RuinRags ()
override void SetActions ()
void SetTorchDecraftResult (string type)
bool StandUp ()
void StopAllParticles ()
void TryTransformIntoStick ()
void UpdateCheckForReceivingUpgrade ()
void UpdateLight ()
void UpdateMaterial ()
void UpdateParticle ()
void Upgrade (ItemBase source)

Protected Attributes

ref UniversalTemperatureSourceLambdaConstant m_UTSLConstant
ref UniversalTemperatureSource m_UTSource
ref UniversalTemperatureSourceSettings m_UTSSettings

Private Member Functions

void FlammableBase ()
Private Member Functions inherited from ItemBase
void ~Paper ()
void ~PowerGeneratorBase ()
void ~TentBase ()
void ~TrapSpawnBase ()
void AddDefect ()
float AddFuel (float available_fuel)
void AdjustDetectionRange ()
override void AfterStoreLoad ()
override void AfterStoreLoad ()
void AlignCatch (ItemBase obj, string catch_name)
 DEPRECATED.
void AnimateCamonetByOpeningSelection (string opening_selection)
void AnimateCamonetToggle (ToggleAnimations toggle)
void AssembleKit ()
void BarbedWire ()
void BaseBuildingBase ()
void BatteryCharger ()
void CalcDamageAreaRotation (float angle_deg, out vector center, out vector orientation)
bool CanAddFuel (ItemBase container)
override bool CanAssignAttachmentsToQuickbar ()
bool CanAttach (ItemBase item)
override bool CanBeIgnitedBy (EntityAI igniter=null)
bool CanBeManipulated ()
bool CanBePacked ()
override bool CanBePlaced (Man player, vector position)
override bool CanBePlaced (Man player, vector position)
override bool CanBeRepairedByCrafting ()
override bool CanBeRepairedToPristine ()
bool CanBeTaken ()
override bool CanDisplayAttachmentCategory (string category_name)
override bool CanDisplayAttachmentSlot (int slot_id)
override bool CanDisplayAttachmentSlot (int slot_id)
override bool CanDisplayCargo ()
bool CanFoldBaseBuildingObject ()
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanIgniteItem (EntityAI ignite_target=NULL)
override bool CanIgniteItem (EntityAI ignite_target=null)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadAttachment (EntityAI attachment)
override bool CanLoadItemIntoCargo (EntityAI item)
bool CanManipulate ()
override bool CanObstruct ()
override bool CanProxyObstruct ()
override bool CanProxyObstructSelf ()
 prevents showing cargo when outside the tent geometry
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
bool CanPutInInventory (EntityAI player)
 DEPRECATED.
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanPutIntoHands (EntityAI parent)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
override bool CanReceiveItemIntoCargo (EntityAI item)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromCargo (EntityAI parent)
override bool CanRemoveFromHands (EntityAI parent)
bool CanToggleAnimations (string selection)
override bool CanUseConstruction ()
override bool CanUseConstructionBuild ()
void CatchSetQuant (ItemBase catch)
 !DEPRECATED
void CheckForHybridAttachments (EntityAI item, string slot_name)
bool CheckLevelVerticalDistance (float max_dist, string selection, PlayerBase player)
bool CheckMemoryPointVerticalDistance (float max_dist, string selection, PlayerBase player)
bool CheckSlotVerticalDistance (int slot_id, PlayerBase player)
void ClearCatchingComponent ()
void ClearCookingEquipment (ItemBase pItem)
bool ConditionIntoInventory (EntityAI player)
bool ConditionOutOfHands (EntityAI player)
void ConstructionInit ()
void CookWithEquipment ()
void CreateAreaDamage (string slot_name, float rotation_angle=0)
ItemBase CreateConstructionKit ()
void CreateConstructionKitInHands (notnull PlayerBase player)
void CreateDamageTrigger ()
void CreateElectrifiedDamageTrigger ()
void CreateRope (Rope rope)
void DebugCustomState ()
void DestroyAreaDamage (string slot_name)
void DestroyClutterCutter ()
void DestroyConstruction ()
void DestroyConstructionKit (ItemBase construction_kit)
void DestroyDamageTrigger ()
void DestroyFireplace ()
void DetachAllAttachments ()
 detaches everything on catching end (some slots may not be accessible when folded)
void DisassembleKit (ItemBase item)
override bool DisassembleOnLastDetach ()
void DoMeasurement ()
override void EEDelete (EntityAI parent)
override void EEDelete (EntityAI parent)
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEInit ()
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemAttached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEItemDetached (EntityAI item, string slot_name)
override void EEOnAfterLoad ()
override void EOnInit (IEntity other, int extra)
override void EOnInit (IEntity other, int extra)
void EvaluateCatch ()
void Fold ()
void Fold (bool keep_connected=false)
ItemBase FoldBaseBuildingObject ()
void FullyBuild ()
void GetAttachmentSlots (EntityAI entity, out array< string > attachment_slots)
string GetBuildSoundByMaterial (string part_name)
string GetClutterCutter ()
Construction GetConstruction ()
string GetConstructionKitType ()
ConstructionPart GetConstructionPartById (int id)
ItemBase GetCookingEquipment ()
override bool GetCookingTargetTemperature (out float temperature)
override int GetDamageSystemVersionChange ()
override int GetDamageSystemVersionChange ()
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
override string GetDeploySoundset ()
int GetDisarmRate ()
string GetDismantleSoundByMaterial (string part_name)
override string GetFoldSoundset ()
float GetFuel ()
float GetFuelPercentage ()
EntityAI GetGasCanister ()
override int GetHideIconMask ()
override string GetInvulnerabilityTypeString ()
override string GetInvulnerabilityTypeString ()
int GetKeyCompatibilityType ()
 If used to un/lock doors, which does it open. Bitwise.
vector GetKitSpawnPosition ()
override float GetLiquidThroughputCoef ()
override string GetLoopDeploySoundset ()
override string GetLoopDeploySoundset ()
override string GetLoopDeploySoundset ()
override string GetLoopFoldSoundset ()
float GetMaxFuel ()
override int GetMeleeTargetType ()
bool GetSlotLockedState ()
vector GetSmokeParticleOrientation ()
vector GetSmokeParticlePosition ()
string GetSoundClose ()
string GetSoundCloseWindow ()
string GetSoundOpen ()
string GetSoundOpenWindow ()
int GetState ()
int GetStateLocal ()
override int GetViewIndex ()
override int GetViewIndex ()
override WrittenNoteData GetWrittenNoteData ()
void GreenLightOff ()
void GreenLightOn ()
void HandleBaitLoss ()
void HandleCamoNetAttachment (bool hide)
void HandleItemFalling (ConstructionPart part)
 Disconnected temporarily.
void HandleOpeningsPhysics ()
void HandleOpeningsVisuals ()
bool HasAttachmentsBesidesBase ()
bool HasBase ()
bool HasClutterCutter ()
bool HasEnoughEnergyForRepair (float pTime)
override bool HasFlammableMaterial ()
bool HasProperDistance (string selection, PlayerBase player)
override bool HasProxyParts ()
override bool HasProxyParts ()
bool HasSparkplug ()
void HideAllAnimationsAndProxyPhysics (bool hide_animations=true, bool hide_physics=true)
void HideAttachedClipsStates ()
override bool IgnoreOutOfReachCondition ()
void IncreaseElapsedTime ()
void InitBaseState ()
void InitCatchingComponent ()
override void InitItemSounds ()
override void InitItemSounds ()
void InitTrapValues ()
void InitVisuals ()
bool IsActive ()
bool IsAttachmentSlotLocked (EntityAI attachment)
bool IsAttachmentSlotLocked (string slot_name)
override bool IsBasebuildingKit ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
override bool IsDeployable ()
bool IsDeployed ()
override bool IsElectricAppliance ()
override bool IsElectricAppliance ()
bool IsFacingCamera (string selection)
override bool IsFacingPlayer (PlayerBase player, string selection)
bool IsFolded ()
override bool IsIgnited ()
override bool IsIgnited ()
override bool IsIgnoredByConstruction ()
override bool IsIgnoredByConstruction ()
override bool IsItemTent ()
bool IsManipulatedEntrance ()
bool IsManipulatedWindow ()
bool IsMounted ()
bool IsOpened ()
bool IsPartBuildInSyncData (int part_id)
bool IsPlaceable ()
bool IsPlaceableAtPosition (vector position)
override bool IsPlayerInside (PlayerBase player, string selection)
bool IsPlayerInVicinity ()
override bool IsSelfAdjustingTemperature ()
bool IsSurfaceWater (vector position)
override bool IsTakeable ()
override bool IsTakeable ()
override bool IsTakeable ()
override bool IsThisIgnitionSuccessful (EntityAI item_source=null)
void ItemFall (vector min, vector max)
 Disconnected temporarily.
void LockAttachmentSlot (bool lock_state)
void ManipulateEntrance ()
void ManipulateWindow ()
bool MustBeBuiltFromOutside ()
 Some buildings can only be built from outside.
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
void OnCatchSpawnClient ()
void OnCatchSpawnServer ()
override void OnCreatePhysics ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
override void OnDebugSpawn ()
array< stringOnDebugSpawnBuildExcludes ()
 Excludes certain parts from being built by OnDebugSpawn, uses Contains to compare.
override void OnEndPlacement ()
override void OnIgnitedTarget (EntityAI target_item)
override void OnIgnitedTarget (EntityAI target_item)
override void OnIgnitedThis (EntityAI fire_source)
override void OnInitEnergy ()
override void OnInitEnergy ()
override void OnInventoryEnter (Man player)
override void OnInventoryEnter (Man player)
override void OnInventoryExit (Man player)
override void OnIsPlugged (EntityAI source_device)
override void OnIsPlugged (EntityAI source_device)
override void OnIsUnplugged (EntityAI last_energy_source)
override void OnIsUnplugged (EntityAI last_energy_source)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
override void OnOwnSocketReleased (EntityAI device)
override void OnOwnSocketTaken (EntityAI device)
void OnPartBuiltClient (string part_name, int action_id)
void OnPartBuiltServer (notnull Man player, string part_name, int action_id)
void OnPartDestroyedClient (string part_name, int action_id)
void OnPartDestroyedServer (Man player, string part_name, int action_id, bool destroyed_by_connected_part=false)
void OnPartDismantledClient (string part_name, int action_id)
void OnPartDismantledServer (notnull Man player, string part_name, int action_id)
override void OnPlacementCancelled (Man player)
override void OnPlacementCancelled (Man player)
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
override void OnPlacementStarted (Man player)
override void OnPlacementStarted (Man player)
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
void OnSetSlotLock (int slotId, bool locked, bool was_locked)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOff ()
override void OnSwitchOn ()
override void OnSwitchOn ()
override void OnSwitchOn ()
override void OnSwitchOn ()
void OnSynchronizedClient ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
override void OnVariablesSynchronized ()
 this event is called all variables are synchronized on client
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWork (float consumed_energy)
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStart ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
override void OnWorkStop ()
void Pack (bool update_navmesh, bool init=false)
void Paper ()
void ParticleTest ()
bool PerformRoofCheckForBase (string partName, PlayerBase player, out bool result)
void Pitch (bool update_navmesh, bool init=false)
void PlayCatchEffectsClient ()
void PlayCatchEffectsServer ()
void PlayCatchNoise (YieldItemBase yItem)
void PlayCatchParticleSynced (YieldItemBase yItem)
void PlayCatchSound (YieldItemBase yItem)
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
void PlayDeployLoopSound ()
override void PostAreaDamageActions ()
void PowerGeneratorBase ()
override void PreAreaDamageActions ()
void PrepareMeasurement ()
void RedLightOff ()
void RedLightOn ()
void Refresh ()
void RefreshAttachements ()
void RefreshFlameVisual (bool working=false)
void RefreshFlameVisual (bool working=false, bool hasAttachment=false)
override void RefreshPhysics ()
override void RefreshPhysics ()
override void RefreshPhysics ()
void RegenerateNavmesh ()
void RegisterActionForSync (int part_id, int action_id)
void RegisterPartForSync (int part_id)
void RemoveCookingAudioVisuals ()
void ResetActionSyncData ()
void ResetActiveProgress ()
void ResetRunningTimerProgress ()
void ResetToggle ()
void RunTrappingTimer (float duration, string fnName)
 generic trapping launcher for traps, use this to store delta info
void SetActionFromSyncData ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
void SetActive ()
void SetBaseState (bool has_base)
bool SetCanCatch (out EntityAI bait)
void SetCatchSuccessful (bool successful)
void SetCookingEquipment (ItemBase equipment)
void SetDeployed (bool newState)
void SetFuel (float fuel_amount)
void SetInactive ()
void SetIsBeingPacked (bool isBeingPacked)
void SetLowEnergyState (bool state)
void SetMountedState (bool is_mounted)
void SetPartFromSyncData (ConstructionPart part)
void SetPartsAfterStoreLoad ()
void SetPartsFromSyncData ()
void SetTrapEnviroMask (int value)
void SetupTrap ()
void SetupTrapPlayer (PlayerBase player, bool set_position=true)
void SetUsed ()
override bool ShowZonesHealth ()
void SoundBuildStart (string part_name)
void SoundBurningStart ()
void SoundBurningStart ()
void SoundBurningStart ()
void SoundBurningStop ()
void SoundBurningStop ()
void SoundBurningStop ()
void SoundBuzzLoopStart ()
void SoundBuzzLoopStop ()
void SoundCollision ()
void SoundCut ()
void SoundDestroyStart (string part_name)
void SoundDismantleStart (string part_name)
void SoundElectricShock ()
void SoundSpark ()
void SoundTentClosePlay ()
void SoundTentCloseWindowPlay ()
void SoundTentOpenPlay ()
 DEPRECATED.
void SoundTentOpenWindowPlay ()
void SoundTurnOff ()
void SoundTurnOff ()
void SoundTurnOff ()
void SoundTurnOn ()
void SoundTurnOn ()
void SoundTurnOn ()
void Spark ()
void SpawnCatch ()
void Spotlight ()
void StartActivate (PlayerBase player)
void StartLoopSound ()
void StartPeriodicMeasurement ()
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopDeployLoopSound ()
 DEPRECATED.
void StopPeriodicMeasurement ()
void SwitchLightOff ()
void SwitchLightOn ()
void Synchronize ()
void SynchronizeBaseState ()
void TentBase ()
void ToggleAnimation (string selection)
void ToolBase ()
void TrapSpawnBase ()
void TryPitch (bool update_navmesh, bool init=false)
void TrySpawnCatch ()
void Unfold ()
void UnregisterPartForSync (int part_id)
void UpdateAllSelections ()
void UpdateAttachmentPhysics (string slot_name, bool is_locked)
void UpdateAttachmentSlot ()
void UpdateAttachmentVisuals (string slot_name, bool is_locked)
void UpdateFuelMeter ()
void UpdateNavmesh ()
void UpdatePhysics ()
void UpdatePhysics ()
void UpdatePhysics ()
void UpdatePreyPos ()
void UpdateStatusLights ()
void UpdateTrapEnviroMask ()
void UpdateVisuals ()
void UpdateVisuals ()
void UpdateVisuals ()
void YellowLightOff ()
void YellowLightOn ()

Private Attributes

float m_BurnTimePerFullFuelDoseEx
float m_BurnTimePerFullLardEx
float m_BurnTimePerRagEx
bool m_CanReceiveUpgrade
bool m_ConsumeRagFlipFlop
string m_DecraftResult = "WoodenStick"
Particle m_FireParticle
bool m_IsBeingDestructed = false
TorchLight m_Light
SoundOnVehicle m_LoopSoundEntity
float m_MaxConsumableFuelQuantityEx
float m_MaxConsumableLardQuantityEx
vector m_ParticleLocalPos = Vector(0, 0.50, 0)
int m_RagsUpgradedCount
int m_StartFadeOutOfLightAtQuantityEx = 3
bool m_WasLit
float m_WaterEvaporationByFireIntensityEx = 0.001
const float PARAM_DRY_MODIFIER = 1.125
 maximum value for temperature that will be transfered to player (environment)
const float PARAM_FULL_HEAT_RADIUS = 0.5
const float PARAM_HEAT_RADIUS = 1.0
const float PARAM_MAX_TRANSFERED_TEMPERATURE = 5
 update interval duration of heating process (seconds)
const int TIMER_HEATING_UPDATE_INTERVAL = 1
Private Attributes inherited from ItemBase
const string ATTACHED_CLIPS_STATES [] = {SEL_CLIPS_CAR, SEL_CLIPS_TRUCK}
const int ATTACHED_CLIPS_STATES_COUNT = 2
 ATTACHMENT_CAULDRON = Cauldron
 ATTACHMENT_COOKING_POT = Pot
 ATTACHMENT_FRYING_PAN = FryingPan
const string FLAME_BUTANE_OFF = ""
const string FLAME_BUTANE_ON = "dz\\gear\\cooking\\data\\flame_butane_ca.paa"
const string LOOP_LOW_FUEL_SOUND = "powerGenerator_low_Fuel_Loop_SoundSet"
const float LOW_ENERGY_FUEL_PERCENTAGE = 20
string m_AnimationPhaseSet
string m_AnimationPhaseTriggered
string m_AnimationPhaseUsed
ref AreaDamageManager m_AreaDamage
EntityAI m_Bait
 DEPRECATED.
float m_BaitCatchProb
bool m_BaitNeeded
 DEPRECATED.
int m_BatteryEnergy0To100
bool m_BlinkingStatusLightIsOn = false
CamoNet m_CamoNet
ref multiMap< string, floatm_CatchesGroundAnimal
 DEPRECATED.
ref multiMap< string, floatm_CatchesPond
 DEPRECATED.
ref multiMap< string, floatm_CatchesSea
 DEPRECATED.
ref CatchingContextTrapsBase m_CatchingContext
float m_ChargeEnergyPerSecond
ref Timer m_CheckRainTimer
Object m_ClutterCutter
ref map< string, ref AreaDamageManagerm_DamageTriggers
float m_DefaultFertility = 1
bool m_DeployedRegularly
ref EffectSound m_DeployLoopSound
 DEPRECATED.
EffectSound m_EngineLoop
EffectSound m_EngineStart
EffectSound m_EngineStop
float m_FinalCatchProb
 DEPRECATED.
vector m_HalfExtents
ref array< stringm_HybridAttachments
bool m_IsActive
bool m_IsBeingPacked = false
bool m_IsDeployed
bool m_IsEntrance
bool m_IsInProgress
 DEPRECATED.
bool m_IsLowEnergy
bool m_IsMounted
bool m_IsPastWaitingTime
bool m_IsPlaced
bool m_IsToggle
bool m_IsUsable
 DEPRECATED.
bool m_IsWindow
bool m_LastMountedState
BlowtorchLight m_Light
int m_MaxWateredStateVal = 0
int m_MineDisarmRate = 60
ref array< stringm_Mountables
EffectSound m_MountSound
float m_NoBaitCatchProb
 DEPRECATED.
ref WrittenNoteData m_NoteContents
int m_OpeningMask = 0
int m_OpeningMaskLocal = -1
Particle m_Particle
ref array< stringm_PlaceableWaterSurfaceList
const string m_PlaceableWaterType ref Timer m_PrevTimer
 DEPRECATED.
ref array< stringm_ShowAnimationsWhenPacked
ref array< stringm_ShowAnimationsWhenPitched
int m_SlotFertilityState = 0
int m_SlotFertilizerBitmap0
int m_SlotFertilizerBitmap1
int m_SlotFertilizerBitmap2
ref array< ref Slot > m_Slots
int m_SlotState = 0
int m_SlotWaterBitmap0
int m_SlotWaterBitmap1
int m_SlotWaterBitmap2
int m_SlotWateredState = 0
Effect m_Smoke
EffectSound m_Sound
EffectSound m_SoundBurningLoop
ref Timer m_SoundLoopStartTimer
EffectSound m_SoundTurnOff
EffectSound m_SoundTurnOn
ItemBase m_SparkPlug
int m_State
int m_StateLocal = -1
ref Timer m_Timer
ref map< ref ToggleAnimations, boolm_ToggleAnimations
bool m_TriggerActive
ref Timer m_UpdateStatusLightsTimer
ref UniversalTemperatureSourceLambdaConstant m_UTSLConst
ref UniversalTemperatureSourceLambdaConstant m_UTSLEngine
ref UniversalTemperatureSource m_UTSource
 DEPRECATED Attached spark plug item.
ref UniversalTemperatureSourceSettings m_UTSSettings
bool m_WaterSurfaceForSetup
 DEPRECATED.
const float PARAM_COOKING_EQUIP_MAX_TEMP = 400
 DEPRECATED.
const float PARAM_COOKING_EQUIP_TEMP_INCREASE = 10
 DEPRECATED.
const float PARAM_COOKING_TARGET_TEMP = 400
const float PARAM_COOKING_TEMP_THRESHOLD = 100
const float PARAM_COOKING_TIME_INC_COEF = 0.5
int PARTICLE_PATH
const string SOUND_MOUNT = "putDown_BarbedWire_SoundSet"

Additional Inherited Members

Static Private Attributes inherited from ItemBase
const string DEFAULT_MATERIAL = "dz\\gear\\camping\\data\\battery_charger.rvmat"
const string GREEN_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_g.rvmat"
static const string LOOP_SOUND = "powerGeneratorLoop_SoundSet"
float m_BlinkingStatusLightInterval = 0.4
const string RED_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_r.rvmat"
const string SEL_CLIPS_CAR = "clips_car_battery"
const string SEL_CLIPS_DETACHED = "clips_detached"
const string SEL_CLIPS_FOLDED = "clips_folded"
const string SEL_CLIPS_TRUCK = "clips_truck_battery"
const string SEL_CORD_FOLDED = "cord_folded"
const string SEL_CORD_PLUGGED = "cord_plugged"
const string SEL_LIGHT_STATE_1 = "light_stand_by"
const string SEL_LIGHT_STATE_2 = "light_charging"
const string SEL_LIGHT_STATE_3 = "light_charged"
const string SEL_SWITCH_OFF = "switch_off"
const string SEL_SWITCH_ON = "switch_on"
static const string START_SOUND = "powerGeneratorTurnOn_SoundSet"
static const string STOP_SOUND = "powerGeneratorTurnOff_SoundSet"
const string SWITCH_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_switch_on.rvmat"
const string YELLOW_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_y.rvmat"

Detailed Description

Definition at line 1 of file torch.c.

Constructor & Destructor Documentation

◆ FlammableBase()

void FlammableBase ( )
inlineprivate

Definition at line 9 of file torch.c.

References Init().

Referenced by GetBurningMaterial().

Member Function Documentation

◆ ApplyResultModifications()

void ApplyResultModifications ( ItemBase result)
inlineprotected

Definition at line 859 of file torch.c.

References ItemBase::SetQuantity().

Referenced by TorchLambda::CopyOldPropertiesToNew(), and TryTransformIntoStick().

◆ CalculateQuantity()

◆ CanBeIgnitedBy()

override bool CanBeIgnitedBy ( EntityAI igniter = NULL)
inlineprotected

Definition at line 157 of file torch.c.

References GetEnergy(), GetRag(), and IsRagDryEnough().

◆ CanBeTakenAsCargo()

bool CanBeTakenAsCargo ( )
inlineprotected

Definition at line 135 of file torch.c.

Referenced by CanPutInCargo(), and CanRemoveFromCargo().

◆ CanIgniteItem()

override bool CanIgniteItem ( EntityAI ignite_target = NULL)
inlineprotected

Definition at line 146 of file torch.c.

◆ CanPutAsAttachment()

override bool CanPutAsAttachment ( EntityAI parent)
inlineprotected

Definition at line 130 of file torch.c.

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprotected

Definition at line 112 of file torch.c.

References CanBeTakenAsCargo().

◆ CanReceiveAttachment()

override bool CanReceiveAttachment ( EntityAI attachment,
int slotId )
inlineprotected

Definition at line 103 of file torch.c.

References ItemBase::CanReceiveAttachment().

◆ CanReceiveUpgrade()

bool CanReceiveUpgrade ( )
inlineprotected

Definition at line 430 of file torch.c.

References m_CanReceiveUpgrade.

Referenced by ActionUpgradeTorchFromGasPump::ActionCondition(), and RecipeBase::CanDo().

◆ CanReleaseAttachment()

override bool CanReleaseAttachment ( EntityAI attachment)
inlineprotected

Definition at line 118 of file torch.c.

◆ CanRemoveFromCargo()

override bool CanRemoveFromCargo ( EntityAI parent)
inlineprotected

Definition at line 125 of file torch.c.

References CanBeTakenAsCargo().

◆ CanTransformIntoStick()

bool CanTransformIntoStick ( )
inlineprotected

Definition at line 471 of file torch.c.

References g_Game, GetRag(), and IsIgnited().

Referenced by TryTransformIntoStick().

◆ ConsumeFuelFromBottle()

void ConsumeFuelFromBottle ( ItemBase vessel)
inlineprotected

◆ ConsumeFuelFromGasStation()

void ConsumeFuelFromGasStation ( )
inlineprotected

◆ ConsumeLard()

void ConsumeLard ( Lard lard)
inlineprotected

◆ ConsumeRag()

bool ConsumeRag ( )
inlineprotected

Definition at line 240 of file torch.c.

References GetRag(), and LockRags().

Referenced by OnIgnitedThis(), and OnWork().

◆ CraftingInit()

void CraftingInit ( float quantity)
inlineprotected

Definition at line 435 of file torch.c.

References m_BurnTimePerRagEx, and m_CanReceiveUpgrade.

Referenced by OnDebugSpawn().

◆ DeferredInit()

override void DeferredInit ( )
inlineprotected

Definition at line 39 of file torch.c.

References LockRags(), and m_RagsUpgradedCount.

◆ DisassembleOnLastDetach()

override bool DisassembleOnLastDetach ( )
inlineprotected

Definition at line 782 of file torch.c.

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprotected

Definition at line 92 of file torch.c.

References g_Game, m_LoopSoundEntity, and StopAllParticles().

◆ EEInit()

◆ EEItemAttached()

override void EEItemAttached ( EntityAI item,
string slot_name )
inlineprotected

Definition at line 443 of file torch.c.

References CalculateQuantity(), and UpdateCheckForReceivingUpgrade().

◆ EEItemDetached()

override void EEItemDetached ( EntityAI item,
string slot_name )
inlineprotected

◆ GetBurningMaterial()

string GetBurningMaterial ( )
inlineprotected

Definition at line 803 of file torch.c.

Referenced by UpdateMaterial().

◆ GetBurntMaterial()

string GetBurntMaterial ( )
inlineprotected

Definition at line 808 of file torch.c.

Referenced by UpdateMaterial().

◆ GetMeleeHeavyMode()

override int GetMeleeHeavyMode ( )
inlineprotected

Definition at line 745 of file torch.c.

◆ GetMeleeMode()

override int GetMeleeMode ( )
inlineprotected

Definition at line 737 of file torch.c.

◆ GetMeleeSprintMode()

override int GetMeleeSprintMode ( )
inlineprotected

Definition at line 753 of file torch.c.

◆ GetRag()

Rag GetRag ( )
inlineprotected

◆ GetRagQuantity()

int GetRagQuantity ( )
inlineprotected

Definition at line 794 of file torch.c.

References GetQuantity(), GetRag(), and Math::Round().

Referenced by OnDebugSpawn(), OnWork(), OnWorkStop(), UpdateCheckForReceivingUpgrade(), and Upgrade().

◆ GetSoundName()

string GetSoundName ( )
inlineprotected

Definition at line 662 of file torch.c.

Referenced by OnWork().

◆ GetUniversalTemperatureSourcePosition()

override vector GetUniversalTemperatureSourcePosition ( )
inlineprotected

Definition at line 82 of file torch.c.

◆ HasFlammableMaterial()

override bool HasFlammableMaterial ( )
inlineprotected

Definition at line 151 of file torch.c.

◆ Init()

◆ IsIgnited()

override bool IsIgnited ( )
inlineprotected

◆ IsRagDryEnough()

bool IsRagDryEnough ( ItemBase rag)
inlineprotected

Definition at line 188 of file torch.c.

Referenced by CanBeIgnitedBy().

◆ LockRags()

void LockRags ( bool do_lock)
inlineprotected

Definition at line 543 of file torch.c.

References GetRag(), and m_RagsUpgradedCount.

Referenced by ConsumeRag(), DeferredInit(), OnWorkStart(), OnWorkStop(), and Upgrade().

◆ OnAttachmentQuantityChangedEx()

override void OnAttachmentQuantityChangedEx ( ItemBase item,
float delta )
inlineprotected

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprotected

Definition at line 787 of file torch.c.

References CalculateQuantity(), CraftingInit(), and GetRagQuantity().

◆ OnIgnitedThis()

override void OnIgnitedThis ( EntityAI fire_source)
inlineprotected

Definition at line 204 of file torch.c.

References ConsumeRag().

Referenced by BroomBase::OnAction().

◆ OnInventoryExit()

override void OnInventoryExit ( Man player)
inlineprotected

Definition at line 394 of file torch.c.

References StandUp().

◆ OnItemInHandsPlayerSwimStart()

override void OnItemInHandsPlayerSwimStart ( PlayerBase player)
inlineprotected

Definition at line 600 of file torch.c.

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

Definition at line 842 of file torch.c.

References m_WasLit, Serializer::Read(), and UpdateMaterial().

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 835 of file torch.c.

References m_WasLit, and Serializer::Write().

◆ OnSwitchOff()

override void OnSwitchOff ( )
inlineprotected

Definition at line 227 of file torch.c.

References g_Game, and m_UTSource.

◆ OnSwitchOn()

override void OnSwitchOn ( )
inlineprotected

Definition at line 214 of file torch.c.

References g_Game, and m_UTSource.

◆ OnWork()

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprotected

Definition at line 523 of file torch.c.

References LockRags(), m_WasLit, and UpdateMaterial().

◆ OnWorkStop()

◆ RuinRags()

void RuinRags ( )
inlineprotected

Definition at line 383 of file torch.c.

References GetRag().

Referenced by OnWork(), and Upgrade().

◆ SetActions()

override void SetActions ( )
inlineprotected

Definition at line 761 of file torch.c.

References ActionLightItemOnFire(), and AddAction().

◆ SetTorchDecraftResult()

void SetTorchDecraftResult ( string type)
inlineprotected

Definition at line 235 of file torch.c.

References m_DecraftResult.

◆ StandUp()

bool StandUp ( )
inlineprotected

Definition at line 402 of file torch.c.

References g_Game, GetPosition(), and Math::RandomFloat().

Referenced by OnInventoryExit().

◆ StopAllParticles()

void StopAllParticles ( )
inlineprotected

Definition at line 530 of file torch.c.

References m_FireParticle.

Referenced by EEDelete(), and TryTransformIntoStick().

◆ TryTransformIntoStick()

◆ UpdateCheckForReceivingUpgrade()

◆ UpdateLight()

void UpdateLight ( )
inlineprotected

Definition at line 559 of file torch.c.

References GetQuantity(), m_FireParticle, m_Light, m_ParticleLocalPos, m_StartFadeOutOfLightAtQuantityEx, and Vector().

Referenced by OnWork().

◆ UpdateMaterial()

void UpdateMaterial ( )
inlineprotected

Definition at line 813 of file torch.c.

References g_Game, GetBurningMaterial(), GetBurntMaterial(), and m_WasLit.

Referenced by OnStoreLoad(), OnWork(), OnWorkStart(), and OnWorkStop().

◆ UpdateParticle()

void UpdateParticle ( )
inlineprotected

◆ Upgrade()

Field Documentation

◆ m_BurnTimePerFullFuelDoseEx

float m_BurnTimePerFullFuelDoseEx
private

Definition at line 21 of file torch.c.

Referenced by ConsumeFuelFromBottle(), ConsumeFuelFromGasStation(), and Init().

◆ m_BurnTimePerFullLardEx

float m_BurnTimePerFullLardEx
private

Definition at line 20 of file torch.c.

Referenced by ConsumeLard(), and Init().

◆ m_BurnTimePerRagEx

float m_BurnTimePerRagEx
private

◆ m_CanReceiveUpgrade

bool m_CanReceiveUpgrade
private

Definition at line 16 of file torch.c.

Referenced by CanReceiveUpgrade(), CraftingInit(), and UpdateCheckForReceivingUpgrade().

◆ m_ConsumeRagFlipFlop

bool m_ConsumeRagFlipFlop
private

Definition at line 28 of file torch.c.

Referenced by OnWork(), and Upgrade().

◆ m_DecraftResult

string m_DecraftResult = "WoodenStick"
private

Definition at line 31 of file torch.c.

Referenced by BroomBase::Init(), SetTorchDecraftResult(), and TryTransformIntoStick().

◆ m_FireParticle

Particle m_FireParticle
private

◆ m_IsBeingDestructed

bool m_IsBeingDestructed = false
private

Definition at line 17 of file torch.c.

Referenced by EEItemDetached(), and TryTransformIntoStick().

◆ m_Light

TorchLight m_Light
private

Definition at line 32 of file torch.c.

Referenced by OnWorkStop(), and UpdateLight().

◆ m_LoopSoundEntity

SoundOnVehicle m_LoopSoundEntity
private

Definition at line 14 of file torch.c.

Referenced by EEDelete(), OnWork(), and OnWorkStop().

◆ m_MaxConsumableFuelQuantityEx

float m_MaxConsumableFuelQuantityEx
private

Definition at line 23 of file torch.c.

Referenced by ConsumeFuelFromBottle(), and Init().

◆ m_MaxConsumableLardQuantityEx

float m_MaxConsumableLardQuantityEx
private

Definition at line 22 of file torch.c.

Referenced by ConsumeLard(), and Init().

◆ m_ParticleLocalPos

vector m_ParticleLocalPos = Vector(0, 0.50, 0)
private

Definition at line 29 of file torch.c.

Referenced by BroomBase::Init(), UpdateLight(), BroomBase::UpdateParticle(), and UpdateParticle().

◆ m_RagsUpgradedCount

int m_RagsUpgradedCount
private

Definition at line 27 of file torch.c.

Referenced by DeferredInit(), LockRags(), OnWork(), UpdateCheckForReceivingUpgrade(), and Upgrade().

◆ m_StartFadeOutOfLightAtQuantityEx

int m_StartFadeOutOfLightAtQuantityEx = 3
private

Definition at line 25 of file torch.c.

Referenced by UpdateLight().

◆ m_UTSLConstant

ref UniversalTemperatureSourceLambdaConstant m_UTSLConstant
protected

Definition at line 37 of file torch.c.

Referenced by EEInit().

◆ m_UTSource

ref UniversalTemperatureSource m_UTSource
protected

Definition at line 35 of file torch.c.

Referenced by EEInit(), OnSwitchOff(), and OnSwitchOn().

◆ m_UTSSettings

ref UniversalTemperatureSourceSettings m_UTSSettings
protected

Definition at line 36 of file torch.c.

Referenced by EEInit().

◆ m_WasLit

bool m_WasLit
private

Definition at line 33 of file torch.c.

Referenced by OnStoreLoad(), OnStoreSave(), OnWorkStart(), and UpdateMaterial().

◆ m_WaterEvaporationByFireIntensityEx

float m_WaterEvaporationByFireIntensityEx = 0.001
private

Definition at line 24 of file torch.c.

Referenced by OnWork().

◆ PARAM_DRY_MODIFIER

const float PARAM_DRY_MODIFIER = 1.125
private

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

Definition at line 7 of file torch.c.

Referenced by EEInit().

◆ PARAM_FULL_HEAT_RADIUS

const float PARAM_FULL_HEAT_RADIUS = 0.5
private

Definition at line 3 of file torch.c.

Referenced by EEInit().

◆ PARAM_HEAT_RADIUS

const float PARAM_HEAT_RADIUS = 1.0
private

Definition at line 4 of file torch.c.

Referenced by EEInit().

◆ PARAM_MAX_TRANSFERED_TEMPERATURE

const float PARAM_MAX_TRANSFERED_TEMPERATURE = 5
private

update interval duration of heating process (seconds)

Definition at line 6 of file torch.c.

Referenced by EEInit().

◆ TIMER_HEATING_UPDATE_INTERVAL

const int TIMER_HEATING_UPDATE_INTERVAL = 1
private

Definition at line 5 of file torch.c.

Referenced by EEInit().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/torch.c