Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Edible_Base Class Reference
Inheritance diagram for Edible_Base:
ItemBase Apple BakedBeansCan BakedBeansCan_Opened Banana BrisketSpread Cannabis ChelatingTablets CrabCan DeadChicken_ColorBase DeadFox DeadRabbit DisinfectantAlcohol DisinfectantSpray DogFoodCan GreenBellPepper Honey IodineTincture Kiwi Lunchmeat Marmalade MushroomBase Orange Pajka Pate PeachesCan PeachesCan_Opened Pear Plum PorkCan Potato PowderedMilk Pumpkin Rice SardinesCan SardinesCan_Opened SlicedPumpkin Snack_ColorBase SodaCan_ColorBase SpaghettiCan SpaghettiCan_Opened TacticalBaconCan TacticalBaconCan_Opened TetracyclineAntibiotics Tomato TunaCan TunaCan_Opened UnknownFoodCan VitaminBottle Zagorky_ColorBase Zucchini

Protected Member Functions

override void AfterStoreLoad ()
bool CanChangeToNewStage (CookingMethodType cooking_method)
override bool CanDecay ()
override bool CanProcessDecay ()
void ChangeFoodStage (FoodStageType new_food_stage_type)
override float GetBaitEffectivity ()
int GetConsumptionPenaltyContext ()
float GetCookingTime ()
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
override string GetDebugText ()
float GetDecayDelta ()
float GetDecayTimer ()
override FoodStage GetFoodStage ()
string GetFoodStageName (FoodStageType food_stage_type)
FoodStageType GetFoodStageType ()
FoodStageType GetLastDecayStage ()
FoodStageType GetNextFoodStageType (CookingMethodType cooking_method)
void HandleFoodStageChangeAgents (FoodStageType stageOld, FoodStageType stageNew)
 removes select agents on foodstage transitions
override bool IsCorpse ()
bool IsFoodBaked ()
bool IsFoodBoiled ()
bool IsFoodBurned ()
bool IsFoodDried ()
bool IsFoodRaw ()
bool IsFoodRotten ()
override bool IsFruit ()
override bool IsMeat ()
override bool IsMushroom ()
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
void OnFoodStageChange (FoodStageType stageOld, FoodStageType stageNew)
 called on server
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void ProcessDecay (float delta, bool hasRootAsPlayer)
void RefreshAudio ()
void RemoveAudio ()
void ReplaceEdibleWithNew (string typeName)
void ResetCookingTime ()
override void SetActions ()
void SetCookingTime (float time)
void SoundCookingStart (string sound_name)
void SoundCookingStop ()
void TransferFoodStage (notnull Edible_Base source)
void UpdateVaporParticle ()
void UpdateVisuals ()

Static Protected Member Functions

static float GetAgentsPerDigest (ItemBase item, string className="", int foodStage=0)
static int GetFoodAgents (ItemBase item, string classname="", int food_stage=0)
static float GetFoodDigestibility (ItemBase item, string classname="", int food_stage=0)
static float GetFoodEnergy (ItemBase item, string classname="", int food_stage=0)
static float GetFoodNutritionalIndex (ItemBase item, string classname="", int food_stage=0)
static float GetFoodTotalVolume (ItemBase item, string classname="", int food_stage=0)
static float GetFoodToxicity (ItemBase item, string classname="", int food_stage=0)
static float GetFoodWater (ItemBase item, string classname="", int food_stage=0)
static NutritionalProfile GetNutritionalProfile (ItemBase item, string classname="", int food_stage=0)

Protected Attributes

float m_DecayDelta = 0.0
float m_DecayTimer
ref FoodStage m_FoodStage
ParticleSource m_HotVaporParticle
FoodStageType m_LastDecayStage = FoodStageType.NONE
bool m_MakeCookingSounds
SoundOnVehicle m_SoundCooking
EffectSound m_SoundEffectCooking
 DEPRECATED.
string m_SoundPlaying

Private Member Functions

void Edible_Base ()
void BoxCerealCrunchin ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCooked ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanBeCookedOnStick ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDecay ()
override bool CanDetachAttachment (EntityAI parent)
override bool CanDetachAttachment (EntityAI parent)
void Candycane_Colorbase ()
override bool CanItemOverheat ()
override bool CanPutAsAttachment (EntityAI parent)
override bool CanPutAsAttachment (EntityAI parent)
bool ConditionAttach (EntityAI parent)
bool ConditionAttach (EntityAI parent)
bool ConditionDetach (EntityAI parent)
bool ConditionDetach (EntityAI parent)
bool Consume (float amount, PlayerBase consumer)
override void EEDelete (EntityAI parent)
override void EEInit ()
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
int FilterAgents (int agentsIn)
 Filter agents from the item (override on higher implementations).
override float GetTemperatureFreezeTime ()
override float GetTemperatureThawTime ()
override void HandleFoodStageChangeAgents (FoodStageType stageOld, FoodStageType stageNew)
override void HandleFoodStageChangeAgents (FoodStageType stageOld, FoodStageType stageNew)
void HumanSteakMeat ()
override void InitItemVariables ()
override bool IsCorpse ()
override bool IsCorpse ()
override bool IsCorpse ()
override bool IsCorpse ()
override bool IsFruit ()
override bool IsFruit ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
override bool IsMeat ()
void MakeSoundsOnClient (bool soundstate, CookingMethodType cookingMethod=CookingMethodType.NONE)
void OnConsume (float amount, PlayerBase consumer)
override void OnConsume (float amount, PlayerBase consumer)
override void OnConsume (float amount, PlayerBase consumer)
override void OnVariablesSynchronized ()
override void OnWasAttached (EntityAI parent, int slot_id)
override void OnWasDetached (EntityAI parent, int slot_id)
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 ()
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 ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
override void SetActions ()
void Synchronize ()
void UpdateVisualsEx (bool forced=false)
override bool UseConfigInitTemperature ()
override bool UseConfigInitTemperature ()
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

const string DIRECT_COOKING_SLOT_NAME = "DirectCooking"
CookingMethodType m_CookedByMethod
const string SOUND_BAKING_DONE = "Baking_Done_SoundSet"
const string SOUND_BAKING_START = "Baking_SoundSet"
const string SOUND_BOILING_DONE = "Boiling_Done_SoundSet"
const string SOUND_BOILING_START = "Boiling_SoundSet"
const string SOUND_BURNING_DONE = "Food_Burning_SoundSet"
const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"
const string SOUND_DRYING_START = "Drying_SoundSet"
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 edible_base.c.

Constructor & Destructor Documentation

◆ Edible_Base()

Member Function Documentation

◆ AfterStoreLoad()

override void AfterStoreLoad ( )
inlineprotected

Definition at line 353 of file edible_base.c.

References Synchronize().

◆ BoxCerealCrunchin()

void BoxCerealCrunchin ( )
inlineprivate

Definition at line 3 of file boxcerealcrunchin.c.

◆ CanBeCooked() [1/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 129 of file edible_base.c.

Referenced by ProcessItemToCook().

◆ CanBeCooked() [2/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file bearsteakmeat.c.

◆ CanBeCooked() [3/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file bitterlings.c.

◆ CanBeCooked() [4/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file boarsteakmeat.c.

◆ CanBeCooked() [5/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file caninaberry.c.

◆ CanBeCooked() [6/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file carp.c.

◆ CanBeCooked() [7/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file carpfilletmeat.c.

◆ CanBeCooked() [8/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file chickenbreastmeat.c.

◆ CanBeCooked() [9/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file cowsteakmeat.c.

◆ CanBeCooked() [10/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file deersteakmeat.c.

◆ CanBeCooked() [11/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file foxsteakmeat.c.

◆ CanBeCooked() [12/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file goatsteakmeat.c.

◆ CanBeCooked() [13/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file humansteakmeat.c.

◆ CanBeCooked() [14/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file lard.c.

◆ CanBeCooked() [15/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file mackerel.c.

◆ CanBeCooked() [16/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file mackerelfilletmeat.c.

◆ CanBeCooked() [17/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file mouflonsteakmeat.c.

◆ CanBeCooked() [18/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file pigsteakmeat.c.

◆ CanBeCooked() [19/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file rabbitlegmeat.c.

◆ CanBeCooked() [20/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file reindeersteakmeat.c.

◆ CanBeCooked() [21/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file sambucusberry.c.

◆ CanBeCooked() [22/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file sardines.c.

◆ CanBeCooked() [23/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file sheepsteakmeat.c.

◆ CanBeCooked() [24/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file shrimp.c.

◆ CanBeCooked() [25/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file steelheadtrout.c.

◆ CanBeCooked() [26/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file steelheadtroutfilletmeat.c.

◆ CanBeCooked() [27/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file walleyepollock.c.

◆ CanBeCooked() [28/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file walleyepollockfilletmeat.c.

◆ CanBeCooked() [29/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 3 of file wolfsteakmeat.c.

◆ CanBeCooked() [30/30]

override bool CanBeCooked ( )
inlineprivate

Definition at line 8 of file worm.c.

◆ CanBeCookedOnStick() [1/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 134 of file edible_base.c.

Referenced by ActionCookOnStick::ActionCondition(), and CookOnStick().

◆ CanBeCookedOnStick() [2/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file bearsteakmeat.c.

◆ CanBeCookedOnStick() [3/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file bitterlings.c.

◆ CanBeCookedOnStick() [4/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file boarsteakmeat.c.

◆ CanBeCookedOnStick() [5/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file caninaberry.c.

◆ CanBeCookedOnStick() [6/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file carp.c.

◆ CanBeCookedOnStick() [7/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file carpfilletmeat.c.

◆ CanBeCookedOnStick() [8/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file chickenbreastmeat.c.

◆ CanBeCookedOnStick() [9/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file cowsteakmeat.c.

◆ CanBeCookedOnStick() [10/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file deersteakmeat.c.

◆ CanBeCookedOnStick() [11/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file foxsteakmeat.c.

◆ CanBeCookedOnStick() [12/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file goatsteakmeat.c.

◆ CanBeCookedOnStick() [13/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 13 of file humansteakmeat.c.

◆ CanBeCookedOnStick() [14/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file lard.c.

◆ CanBeCookedOnStick() [15/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file mackerel.c.

◆ CanBeCookedOnStick() [16/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file mackerelfilletmeat.c.

◆ CanBeCookedOnStick() [17/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file mouflonsteakmeat.c.

◆ CanBeCookedOnStick() [18/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file pigsteakmeat.c.

◆ CanBeCookedOnStick() [19/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file rabbitlegmeat.c.

◆ CanBeCookedOnStick() [20/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file reindeersteakmeat.c.

◆ CanBeCookedOnStick() [21/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file sambucusberry.c.

◆ CanBeCookedOnStick() [22/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file sardines.c.

◆ CanBeCookedOnStick() [23/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file sheepsteakmeat.c.

◆ CanBeCookedOnStick() [24/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file shrimp.c.

◆ CanBeCookedOnStick() [25/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file steelheadtrout.c.

◆ CanBeCookedOnStick() [26/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file steelheadtroutfilletmeat.c.

◆ CanBeCookedOnStick() [27/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file walleyepollock.c.

◆ CanBeCookedOnStick() [28/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file walleyepollockfilletmeat.c.

◆ CanBeCookedOnStick() [29/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 8 of file wolfsteakmeat.c.

◆ CanBeCookedOnStick() [30/30]

override bool CanBeCookedOnStick ( )
inlineprivate

Definition at line 3 of file worm.c.

◆ CanChangeToNewStage()

bool CanChangeToNewStage ( CookingMethodType cooking_method)
inlineprotected

Definition at line 613 of file edible_base.c.

References GetFoodStage().

Referenced by ProcessDecay(), UpdateCookingState(), and UpdateCookingStateOnStick().

◆ CanDecay() [1/30]

override bool CanDecay ( )
inlineprotected

Definition at line 730 of file edible_base.c.

Referenced by TransferEntityVariables().

◆ CanDecay() [2/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file bearsteakmeat.c.

◆ CanDecay() [3/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file bitterlings.c.

◆ CanDecay() [4/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file boarsteakmeat.c.

◆ CanDecay() [5/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file caninaberry.c.

◆ CanDecay() [6/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file carp.c.

◆ CanDecay() [7/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file carpfilletmeat.c.

◆ CanDecay() [8/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file chickenbreastmeat.c.

◆ CanDecay() [9/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file cowsteakmeat.c.

◆ CanDecay() [10/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file deersteakmeat.c.

◆ CanDecay() [11/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file foxsteakmeat.c.

◆ CanDecay() [12/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file goatsteakmeat.c.

◆ CanDecay() [13/30]

override bool CanDecay ( )
inlineprivate

Definition at line 23 of file humansteakmeat.c.

◆ CanDecay() [14/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file lard.c.

◆ CanDecay() [15/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file mackerel.c.

◆ CanDecay() [16/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file mackerelfilletmeat.c.

◆ CanDecay() [17/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file mouflonsteakmeat.c.

◆ CanDecay() [18/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file pigsteakmeat.c.

◆ CanDecay() [19/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file rabbitlegmeat.c.

◆ CanDecay() [20/30]

override bool CanDecay ( )
inlineprivate

Definition at line 3 of file redcaviar.c.

◆ CanDecay() [21/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file reindeersteakmeat.c.

◆ CanDecay() [22/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file sambucusberry.c.

◆ CanDecay() [23/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file sardines.c.

◆ CanDecay() [24/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file sheepsteakmeat.c.

◆ CanDecay() [25/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file shrimp.c.

◆ CanDecay() [26/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file steelheadtrout.c.

◆ CanDecay() [27/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file steelheadtroutfilletmeat.c.

◆ CanDecay() [28/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file walleyepollock.c.

◆ CanDecay() [29/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file walleyepollockfilletmeat.c.

◆ CanDecay() [30/30]

override bool CanDecay ( )
inlineprivate

Definition at line 18 of file wolfsteakmeat.c.

◆ CanDetachAttachment() [1/2]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 42 of file guts.c.

◆ CanDetachAttachment() [2/2]

override bool CanDetachAttachment ( EntityAI parent)
inlineprivate

Definition at line 42 of file smallguts.c.

◆ Candycane_Colorbase()

void Candycane_Colorbase ( )
inlineprivate

Definition at line 3 of file candycane_colorbase.c.

◆ CanItemOverheat()

override bool CanItemOverheat ( )
inlineprivate

Definition at line 179 of file edible_base.c.

References GetFoodStage(), and IsFoodBurned().

◆ CanProcessDecay()

override bool CanProcessDecay ( )
inlineprotected

Definition at line 735 of file edible_base.c.

References GetFoodStageType().

◆ CanPutAsAttachment() [1/2]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file guts.c.

◆ CanPutAsAttachment() [2/2]

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file smallguts.c.

◆ ChangeFoodStage()

◆ ConditionAttach() [1/2]

bool ConditionAttach ( EntityAI parent)
inlineprivate

Definition at line 23 of file caninaberry.c.

References Barrel_ColorBase::IsOpen().

◆ ConditionAttach() [2/2]

bool ConditionAttach ( EntityAI parent)
inlineprivate

Definition at line 23 of file sambucusberry.c.

References Barrel_ColorBase::IsOpen().

◆ ConditionDetach() [1/2]

bool ConditionDetach ( EntityAI parent)
inlineprivate

Definition at line 39 of file caninaberry.c.

References Barrel_ColorBase::IsOpen().

◆ ConditionDetach() [2/2]

bool ConditionDetach ( EntityAI parent)
inlineprivate

Definition at line 39 of file sambucusberry.c.

References Barrel_ColorBase::IsOpen().

◆ Consume()

bool Consume ( float amount,
PlayerBase consumer )
inlineprivate

Definition at line 95 of file edible_base.c.

References AddQuantity(), and OnConsume().

Referenced by ManBase::Consume().

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprivate

Definition at line 48 of file edible_base.c.

References m_HotVaporParticle, and RemoveAudio().

◆ EEInit()

override void EEInit ( )
inlineprivate

Definition at line 41 of file edible_base.c.

References UpdateVisualsEx().

◆ EEItemLocationChanged()

override void EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
inlineprivate

disable sounds (from cooking)

check for DirectCooking slot name

Definition at line 58 of file edible_base.c.

References CanHaveTemperature(), string::Contains(), DIRECT_COOKING_SLOT_NAME, InventorySlots::GetSlotName(), MakeSoundsOnClient(), ResetCookingTime(), and UpdateVaporParticle().

◆ FilterAgents()

int FilterAgents ( int agentsIn)
inlineprivate

Filter agents from the item (override on higher implementations).

if no per FoodStage/Nutrition override is set, remove possible Food Poisoning to prevent double punishment from Bloody Hands

Definition at line 112 of file edible_base.c.

References GetFoodStage(), GetNutritionalProfile(), NutritionalProfile::m_Agents, and NutritionalProfile::m_AgentsPerDigest.

Referenced by ManBase::Consume().

◆ GetAgentsPerDigest()

float GetAgentsPerDigest ( ItemBase item,
string className = "",
int foodStage = 0 )
inlinestaticprotected

Definition at line 498 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetBaitEffectivity()

override float GetBaitEffectivity ( )
inlineprotected

Definition at line 1039 of file edible_base.c.

References IsFoodRotten().

◆ GetConsumptionPenaltyContext()

int GetConsumptionPenaltyContext ( )
inlineprotected

◆ GetCookingTime()

float GetCookingTime ( )
inlineprotected

◆ GetDebugActions()

override void GetDebugActions ( out TSelectableActionInfoArrayEx outputList)
inlineprotected

Definition at line 970 of file edible_base.c.

References GetFoodStage(), and SAT_DEBUG_ACTION.

◆ GetDebugText()

override string GetDebugText ( )
inlineprotected

Definition at line 1023 of file edible_base.c.

References m_CookedByMethod, and m_MakeCookingSounds.

◆ GetDecayDelta()

float GetDecayDelta ( )
inlineprotected

Definition at line 1056 of file edible_base.c.

References m_DecayDelta.

Referenced by GetLocalProperties().

◆ GetDecayTimer()

float GetDecayTimer ( )
inlineprotected

Definition at line 1051 of file edible_base.c.

References m_DecayTimer.

Referenced by GetLocalProperties().

◆ GetFoodAgents()

int GetFoodAgents ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 468 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodDigestibility()

float GetFoodDigestibility ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 483 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodEnergy()

float GetFoodEnergy ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 407 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodNutritionalIndex()

float GetFoodNutritionalIndex ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 437 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodStage()

◆ GetFoodStageName()

string GetFoodStageName ( FoodStageType food_stage_type)
inlineprotected

Definition at line 608 of file edible_base.c.

References GetFoodStage().

◆ GetFoodStageType()

FoodStageType GetFoodStageType ( )
inlineprotected

◆ GetFoodTotalVolume()

float GetFoodTotalVolume ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 391 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodToxicity()

float GetFoodToxicity ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 453 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetFoodWater()

float GetFoodWater ( ItemBase item,
string classname = "",
int food_stage = 0 )
inlinestaticprotected

Definition at line 422 of file edible_base.c.

References Edible_Base(), g_Game, and GetFoodStage().

Referenced by GetNutritionalProfile().

◆ GetLastDecayStage()

FoodStageType GetLastDecayStage ( )
inlineprotected

Definition at line 1061 of file edible_base.c.

References m_LastDecayStage.

◆ GetNextFoodStageType()

FoodStageType GetNextFoodStageType ( CookingMethodType cooking_method)
inlineprotected

◆ GetNutritionalProfile()

◆ GetTemperatureFreezeTime()

override float GetTemperatureFreezeTime ( )
inlineprivate

◆ GetTemperatureThawTime()

override float GetTemperatureThawTime ( )
inlineprivate

◆ HandleFoodStageChangeAgents() [1/3]

void HandleFoodStageChangeAgents ( FoodStageType stageOld,
FoodStageType stageNew )
inlineprotected

removes select agents on foodstage transitions

Definition at line 637 of file edible_base.c.

References RemoveAllAgentsExcept().

Referenced by OnFoodStageChange().

◆ HandleFoodStageChangeAgents() [2/3]

override void HandleFoodStageChangeAgents ( FoodStageType stageOld,
FoodStageType stageNew )
inlineprivate

◆ HandleFoodStageChangeAgents() [3/3]

override void HandleFoodStageChangeAgents ( FoodStageType stageOld,
FoodStageType stageNew )
inlineprivate

◆ HumanSteakMeat()

void HumanSteakMeat ( )
inlineprivate

Definition at line 3 of file humansteakmeat.c.

References InsertAgent().

◆ InitItemVariables()

override void InitItemVariables ( )
inlineprivate

Definition at line 16 of file redcaviar.c.

References can_this_be_combined.

◆ IsCorpse() [1/5]

override bool IsCorpse ( )
inlineprotected

Definition at line 372 of file edible_base.c.

Referenced by ProcessDecay().

◆ IsCorpse() [2/5]

override bool IsCorpse ( )
inlineprivate

Definition at line 13 of file carp.c.

◆ IsCorpse() [3/5]

override bool IsCorpse ( )
inlineprivate

Definition at line 13 of file mackerel.c.

◆ IsCorpse() [4/5]

override bool IsCorpse ( )
inlineprivate

Definition at line 13 of file steelheadtrout.c.

◆ IsCorpse() [5/5]

override bool IsCorpse ( )
inlineprivate

Definition at line 13 of file walleyepollock.c.

◆ IsFoodBaked()

bool IsFoodBaked ( )
inlineprotected

Definition at line 547 of file edible_base.c.

References GetFoodStage().

Referenced by ProcessItemToCook().

◆ IsFoodBoiled()

bool IsFoodBoiled ( )
inlineprotected

Definition at line 557 of file edible_base.c.

References GetFoodStage().

Referenced by ProcessItemToCook().

◆ IsFoodBurned()

bool IsFoodBurned ( )
inlineprotected

Definition at line 577 of file edible_base.c.

References GetFoodStage().

Referenced by CanItemOverheat(), and ProcessItemToCook().

◆ IsFoodDried()

bool IsFoodDried ( )
inlineprotected

Definition at line 567 of file edible_base.c.

References GetFoodStage().

Referenced by ProcessItemToCook().

◆ IsFoodRaw()

bool IsFoodRaw ( )
inlineprotected

Definition at line 537 of file edible_base.c.

References GetFoodStage().

Referenced by ActionEatMeat::ApplyModifiers().

◆ IsFoodRotten()

bool IsFoodRotten ( )
inlineprotected

Definition at line 587 of file edible_base.c.

References GetFoodStage().

Referenced by GetBaitEffectivity().

◆ IsFruit() [1/3]

override bool IsFruit ( )
inlineprotected

Definition at line 377 of file edible_base.c.

Referenced by ActionEatFruit::ActionCondition(), and ProcessDecay().

◆ IsFruit() [2/3]

override bool IsFruit ( )
inlineprivate

Definition at line 13 of file caninaberry.c.

◆ IsFruit() [3/3]

override bool IsFruit ( )
inlineprivate

Definition at line 13 of file sambucusberry.c.

◆ IsMeat() [1/24]

override bool IsMeat ( )
inlineprotected

Definition at line 367 of file edible_base.c.

Referenced by ActionEatMeat::ApplyModifiers(), and ProcessDecay().

◆ IsMeat() [2/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file bearsteakmeat.c.

◆ IsMeat() [3/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file bitterlings.c.

◆ IsMeat() [4/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file boarsteakmeat.c.

◆ IsMeat() [5/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file carpfilletmeat.c.

◆ IsMeat() [6/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file chickenbreastmeat.c.

◆ IsMeat() [7/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file cowsteakmeat.c.

◆ IsMeat() [8/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file deersteakmeat.c.

◆ IsMeat() [9/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file foxsteakmeat.c.

◆ IsMeat() [10/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file goatsteakmeat.c.

◆ IsMeat() [11/24]

override bool IsMeat ( )
inlineprivate

Definition at line 18 of file humansteakmeat.c.

◆ IsMeat() [12/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file lard.c.

◆ IsMeat() [13/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file mackerelfilletmeat.c.

◆ IsMeat() [14/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file mouflonsteakmeat.c.

◆ IsMeat() [15/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file pigsteakmeat.c.

◆ IsMeat() [16/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file rabbitlegmeat.c.

◆ IsMeat() [17/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file reindeersteakmeat.c.

◆ IsMeat() [18/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file sardines.c.

◆ IsMeat() [19/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file sheepsteakmeat.c.

◆ IsMeat() [20/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file shrimp.c.

◆ IsMeat() [21/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file steelheadtroutfilletmeat.c.

◆ IsMeat() [22/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file walleyepollockfilletmeat.c.

◆ IsMeat() [23/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file wolfsteakmeat.c.

◆ IsMeat() [24/24]

override bool IsMeat ( )
inlineprivate

Definition at line 13 of file worm.c.

◆ IsMushroom()

override bool IsMushroom ( )
inlineprotected

Definition at line 382 of file edible_base.c.

Referenced by ProcessDecay().

◆ MakeSoundsOnClient()

◆ OnAction()

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

Definition at line 983 of file edible_base.c.

References ChangeFoodStage(), g_Game, and GetFoodStageType().

◆ OnConsume() [1/3]

void OnConsume ( float amount,
PlayerBase consumer )
inlineprivate

◆ OnConsume() [2/3]

override void OnConsume ( float amount,
PlayerBase consumer )
inlineprivate

Definition at line 11 of file charcoaltablets.c.

◆ OnConsume() [3/3]

override void OnConsume ( float amount,
PlayerBase consumer )
inlineprivate

Definition at line 11 of file painkillertablets.c.

◆ OnFoodStageChange()

void OnFoodStageChange ( FoodStageType stageOld,
FoodStageType stageNew )
inlineprotected

called on server

Definition at line 630 of file edible_base.c.

References HandleFoodStageChangeAgents(), and UpdateVisualsEx().

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 308 of file edible_base.c.

References GetFoodStage(), m_DecayTimer, m_LastDecayStage, and Serializer::Write().

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprivate

◆ OnWasAttached()

override void OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 18 of file worm.c.

References InventorySlots::GetSlotName().

◆ OnWasDetached()

override void OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 29 of file worm.c.

References InventorySlots::GetSlotName().

◆ ProcessDecay()

◆ RefreshAudio()

◆ RemoveAudio()

void RemoveAudio ( )
inlineprotected

Definition at line 299 of file edible_base.c.

References m_MakeCookingSounds, and SoundCookingStop().

Referenced by EEDelete(), and OnVariablesSynchronized().

◆ ReplaceEdibleWithNew()

◆ ResetCookingTime()

void ResetCookingTime ( )
inlineprotected

◆ SetActions() [1/32]

override void SetActions ( )
inlineprotected

Definition at line 697 of file edible_base.c.

References ActionAttach(), ActionDetach(), and AddAction().

◆ SetActions() [2/32]

override void SetActions ( )
inlineprivate

Definition at line 45 of file bearsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [3/32]

override void SetActions ( )
inlineprivate

Definition at line 28 of file bitterlings.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [4/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file boarsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [5/32]

override void SetActions ( )
inlineprivate

Definition at line 7 of file boxcerealcrunchin.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [6/32]

override void SetActions ( )
inlineprivate

Definition at line 7 of file candycane_colorbase.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [7/32]

override void SetActions ( )
inlineprivate

Definition at line 55 of file caninaberry.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [8/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file carpfilletmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [9/32]

override void SetActions ( )
inlineprivate

Definition at line 3 of file charcoaltablets.c.

References ActionForceConsumeSingle(), and AddAction().

◆ SetActions() [10/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file chickenbreastmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [11/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file cowsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [12/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file deersteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [13/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file foxsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [14/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file goatsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [15/32]

override void SetActions ( )
inlineprivate

Definition at line 67 of file guts.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [16/32]

override void SetActions ( )
inlineprivate

Definition at line 28 of file humansteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [17/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file lard.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [18/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file mackerelfilletmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [19/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file mouflonsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [20/32]

override void SetActions ( )
inlineprivate

Definition at line 3 of file painkillertablets.c.

References ActionForceConsumeSingle(), and AddAction().

◆ SetActions() [21/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file pigsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [22/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file rabbitlegmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [23/32]

override void SetActions ( )
inlineprivate

Definition at line 8 of file redcaviar.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [24/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file reindeersteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [25/32]

override void SetActions ( )
inlineprivate

Definition at line 55 of file sambucusberry.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [26/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file sardines.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [27/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file sheepsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [28/32]

override void SetActions ( )
inlineprivate

Definition at line 28 of file shrimp.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [29/32]

override void SetActions ( )
inlineprivate

Definition at line 67 of file smallguts.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [30/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file steelheadtroutfilletmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [31/32]

override void SetActions ( )
inlineprivate

Definition at line 23 of file walleyepollockfilletmeat.c.

References ActionForceFeed, and AddAction().

◆ SetActions() [32/32]

override void SetActions ( )
inlineprivate

Definition at line 45 of file wolfsteakmeat.c.

References ActionForceFeed, and AddAction().

◆ SetCookingTime()

void SetCookingTime ( float time)
inlineprotected

Definition at line 662 of file edible_base.c.

References GetFoodStage(), and Synchronize().

Referenced by SmokeItem(), UpdateCookingState(), and UpdateCookingStateOnStick().

◆ SoundCookingStart()

void SoundCookingStart ( string sound_name)
inlineprotected

◆ SoundCookingStop()

void SoundCookingStop ( )
inlineprotected

Definition at line 718 of file edible_base.c.

References m_SoundEffectCooking, and m_SoundPlaying.

Referenced by RemoveAudio(), and SoundCookingStart().

◆ Synchronize()

void Synchronize ( )
inlineprivate

◆ TransferFoodStage()

void TransferFoodStage ( notnull Edible_Base source)
inlineprotected

◆ UpdateVaporParticle()

◆ UpdateVisuals()

void UpdateVisuals ( )
inlineprotected

Definition at line 1102 of file edible_base.c.

References UpdateVisualsEx().

◆ UpdateVisualsEx()

void UpdateVisualsEx ( bool forced = false)
inlineprivate

Definition at line 89 of file edible_base.c.

References GetFoodStage().

Referenced by EEInit(), OnFoodStageChange(), OnStoreLoad(), and UpdateVisuals().

◆ UseConfigInitTemperature() [1/2]

override bool UseConfigInitTemperature ( )
inlineprivate

Definition at line 23 of file bitterlings.c.

◆ UseConfigInitTemperature() [2/2]

override bool UseConfigInitTemperature ( )
inlineprivate

Definition at line 23 of file shrimp.c.

Field Documentation

◆ DIRECT_COOKING_SLOT_NAME

const string DIRECT_COOKING_SLOT_NAME = "DirectCooking"
private

Definition at line 3 of file edible_base.c.

Referenced by EEItemLocationChanged().

◆ m_CookedByMethod

CookingMethodType m_CookedByMethod
private

Definition at line 23 of file edible_base.c.

Referenced by Edible_Base(), GetDebugText(), MakeSoundsOnClient(), and RefreshAudio().

◆ m_DecayDelta

float m_DecayDelta = 0.0
protected

Definition at line 19 of file edible_base.c.

Referenced by GetDecayDelta(), ProcessDecay(), and TransferFoodStage().

◆ m_DecayTimer

float m_DecayTimer
protected

◆ m_FoodStage

ref FoodStage m_FoodStage
protected

◆ m_HotVaporParticle

ParticleSource m_HotVaporParticle
protected

Definition at line 21 of file edible_base.c.

Referenced by EEDelete(), and UpdateVaporParticle().

◆ m_LastDecayStage

FoodStageType m_LastDecayStage = FoodStageType.NONE
protected

◆ m_MakeCookingSounds

bool m_MakeCookingSounds
protected

◆ m_SoundCooking

SoundOnVehicle m_SoundCooking
protected

Definition at line 14 of file edible_base.c.

◆ m_SoundEffectCooking

EffectSound m_SoundEffectCooking
protected

DEPRECATED.

Definition at line 15 of file edible_base.c.

Referenced by SoundCookingStart(), and SoundCookingStop().

◆ m_SoundPlaying

string m_SoundPlaying
protected

Definition at line 16 of file edible_base.c.

Referenced by Edible_Base(), SoundCookingStart(), and SoundCookingStop().

◆ SOUND_BAKING_DONE

const string SOUND_BAKING_DONE = "Baking_Done_SoundSet"
private

Definition at line 6 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_BAKING_START

const string SOUND_BAKING_START = "Baking_SoundSet"
private

Definition at line 5 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_BOILING_DONE

const string SOUND_BOILING_DONE = "Boiling_Done_SoundSet"
private

Definition at line 8 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_BOILING_START

const string SOUND_BOILING_START = "Boiling_SoundSet"
private

Definition at line 7 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_BURNING_DONE

const string SOUND_BURNING_DONE = "Food_Burning_SoundSet"
private

Definition at line 11 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_DRYING_DONE

const string SOUND_DRYING_DONE = "Drying_Done_SoundSet"
private

Definition at line 10 of file edible_base.c.

Referenced by RefreshAudio().

◆ SOUND_DRYING_START

const string SOUND_DRYING_START = "Drying_SoundSet"
private

Definition at line 9 of file edible_base.c.

Referenced by RefreshAudio().


The documentation for this class was generated from the following files:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/bearsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/bitterlings.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/boarsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/boxcerealcrunchin.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/candycane_colorbase.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/caninaberry.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/carp.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/carpfilletmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/charcoaltablets.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/chickenbreastmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/cowsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/deersteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/foxsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/goatsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/guts.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/humansteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/lard.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/mackerel.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/mackerelfilletmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/mouflonsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/painkillertablets.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/pigsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/rabbitlegmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/redcaviar.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/reindeersteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/sambucusberry.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/sardines.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/sheepsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/shrimp.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/smallguts.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/steelheadtrout.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/steelheadtroutfilletmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/walleyepollock.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/walleyepollockfilletmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/wolfsteakmeat.c
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/worm.c