DayZ 1.24
|
Static Protected Member Functions | |
static float | GetFoodTotalVolume (ItemBase item, string classname="", int food_stage=0) |
static float | GetFoodEnergy (ItemBase item, string classname="", int food_stage=0) |
static float | GetFoodWater (ItemBase item, string classname="", int food_stage=0) |
static float | GetFoodNutritionalIndex (ItemBase item, string classname="", int food_stage=0) |
static float | GetFoodToxicity (ItemBase item, string classname="", int food_stage=0) |
static int | GetFoodAgents (ItemBase item, string classname="", int food_stage=0) |
static float | GetFoodDigestibility (ItemBase item, string classname="", int food_stage=0) |
static NutritionalProfile | GetNutritionalProfile (ItemBase item, string classname="", int food_stage=0) |
Protected Attributes | |
bool | m_MakeCookingSounds |
SoundOnVehicle | m_SoundCooking |
EffectSound | m_SoundEffectCooking |
DEPRECATED. | |
string | m_SoundPlaying |
ref FoodStage | m_FoodStage |
float | m_DecayTimer |
float | m_DecayDelta = 0.0 |
FoodStageType | m_LastDecayStage = FoodStageType.NONE |
Additional Inherited Members | |
Static Private Attributes inherited from ItemBase | |
const string | SEL_CLIPS_CAR = "clips_car_battery" |
const string | SEL_CLIPS_TRUCK = "clips_truck_battery" |
const string | SEL_CLIPS_DETACHED = "clips_detached" |
const string | SEL_CLIPS_FOLDED = "clips_folded" |
const string | SEL_SWITCH_ON = "switch_on" |
const string | SEL_SWITCH_OFF = "switch_off" |
const string | SEL_CORD_PLUGGED = "cord_plugged" |
const string | SEL_CORD_FOLDED = "cord_folded" |
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 | RED_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_r.rvmat" |
const string | GREEN_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_g.rvmat" |
const string | YELLOW_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_y.rvmat" |
const string | SWITCH_LIGHT_GLOW = "dz\\gear\\camping\\data\\battery_charger_light_switch_on.rvmat" |
const string | DEFAULT_MATERIAL = "dz\\gear\\camping\\data\\battery_charger.rvmat" |
float | m_BlinkingStatusLightInterval = 0.4 |
Definition at line 1 of file Edible_Base.c.
|
inlineprivate |
Definition at line 20 of file Edible_Base.c.
References HasFoodStage(), m_CookedByMethod, m_FoodStage, and m_SoundPlaying.
Definition at line 214 of file Edible_Base.c.
References Synchronize().
|
inlineprivate |
Definition at line 3 of file BoxCerealCrunchin.c.
Definition at line 93 of file Edible_Base.c.
Definition at line 3 of file BearSteakMeat.c.
Definition at line 8 of file Bitterlings.c.
Definition at line 3 of file BoarSteakMeat.c.
Definition at line 3 of file CaninaBerry.c.
Definition at line 3 of file CarpFilletMeat.c.
Definition at line 8 of file Chicken_ColorBase.c.
Definition at line 3 of file ChickenBreastMeat.c.
Definition at line 3 of file CowSteakMeat.c.
Definition at line 3 of file DeerSteakMeat.c.
Definition at line 3 of file FoxSteakMeat.c.
Definition at line 3 of file GoatSteakMeat.c.
Definition at line 8 of file HumanSteakMeat.c.
Definition at line 8 of file Mackerel.c.
Definition at line 3 of file MackerelFilletMeat.c.
Definition at line 3 of file MouflonSteakMeat.c.
Definition at line 3 of file PigSteakMeat.c.
Definition at line 3 of file RabbitLegMeat.c.
Definition at line 3 of file SambucusBerry.c.
Definition at line 8 of file Sardines.c.
Definition at line 3 of file SheepSteakMeat.c.
Definition at line 3 of file WolfSteakMeat.c.
Definition at line 98 of file Edible_Base.c.
Definition at line 8 of file BearSteakMeat.c.
Definition at line 3 of file Bitterlings.c.
Definition at line 8 of file BoarSteakMeat.c.
Definition at line 8 of file CaninaBerry.c.
Definition at line 8 of file CarpFilletMeat.c.
Definition at line 3 of file Chicken_ColorBase.c.
Definition at line 8 of file ChickenBreastMeat.c.
Definition at line 8 of file CowSteakMeat.c.
Definition at line 8 of file DeerSteakMeat.c.
Definition at line 8 of file FoxSteakMeat.c.
Definition at line 8 of file GoatSteakMeat.c.
Definition at line 13 of file HumanSteakMeat.c.
Definition at line 3 of file Mackerel.c.
Definition at line 8 of file MackerelFilletMeat.c.
Definition at line 8 of file MouflonSteakMeat.c.
Definition at line 8 of file PigSteakMeat.c.
Definition at line 8 of file RabbitLegMeat.c.
Definition at line 8 of file SambucusBerry.c.
Definition at line 3 of file Sardines.c.
Definition at line 8 of file SheepSteakMeat.c.
Definition at line 8 of file WolfSteakMeat.c.
Definition at line 23 of file Chicken_ColorBase.c.
References GameConstants::STATE_RUINED.
|
inlineprotected |
Definition at line 409 of file Edible_Base.c.
References GetFoodStage().
Referenced by ProcessDecay().
Definition at line 493 of file Edible_Base.c.
Definition at line 18 of file BearSteakMeat.c.
Definition at line 18 of file Bitterlings.c.
Definition at line 18 of file BoarSteakMeat.c.
Definition at line 18 of file CaninaBerry.c.
Definition at line 18 of file CarpFilletMeat.c.
Definition at line 18 of file Chicken_ColorBase.c.
Definition at line 18 of file ChickenBreastMeat.c.
Definition at line 18 of file CowSteakMeat.c.
Definition at line 18 of file DeerSteakMeat.c.
Definition at line 18 of file FoxSteakMeat.c.
Definition at line 18 of file GoatSteakMeat.c.
Definition at line 23 of file HumanSteakMeat.c.
Definition at line 18 of file Mackerel.c.
Definition at line 18 of file MackerelFilletMeat.c.
Definition at line 18 of file MouflonSteakMeat.c.
Definition at line 18 of file PigSteakMeat.c.
Definition at line 18 of file RabbitLegMeat.c.
Definition at line 18 of file SambucusBerry.c.
Definition at line 18 of file Sardines.c.
Definition at line 18 of file SheepSteakMeat.c.
Definition at line 18 of file WolfSteakMeat.c.
Definition at line 43 of file DisinfectantSpray.c.
Definition at line 36 of file SmallGuts.c.
|
inlineprivate |
Definition at line 3 of file Candycane_Colorbase.c.
Definition at line 488 of file Edible_Base.c.
Definition at line 10 of file DisinfectantSpray.c.
Definition at line 3 of file Guts.c.
Definition at line 3 of file SmallGuts.c.
|
inlineprotected |
Definition at line 394 of file Edible_Base.c.
References GetFoodStage().
Referenced by Apple::EEOnCECreate(), GreenBellPepper::EEOnCECreate(), Pear::EEOnCECreate(), Plum::EEOnCECreate(), Potato::EEOnCECreate(), Tomato::EEOnCECreate(), Zucchini::EEOnCECreate(), MushroomBase::EEOnCECreate(), OnAction(), ProcessDecay(), and TransferFoodStage().
Definition at line 23 of file CaninaBerry.c.
Definition at line 23 of file SambucusBerry.c.
Definition at line 37 of file CaninaBerry.c.
Definition at line 37 of file SambucusBerry.c.
|
inlineprivate |
Definition at line 82 of file Edible_Base.c.
References AddQuantity(), and OnConsume().
Definition at line 46 of file Edible_Base.c.
References RemoveAudio().
Definition at line 39 of file Edible_Base.c.
References UpdateVisuals().
|
inlineprivate |
disable sounds (from cooking)
check for DirectCooking slot name
Definition at line 53 of file Edible_Base.c.
References DIRECT_COOKING_SLOT_NAME, InventorySlots::GetSlotName(), and MakeSoundsOnClient().
|
inlineprotected |
Definition at line 429 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 681 of file Edible_Base.c.
References HasFoodStage(), and SAT_DEBUG_ACTION.
Definition at line 718 of file Edible_Base.c.
References m_CookedByMethod, and m_MakeCookingSounds.
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
|
inlinestaticprotected |
Definition at line 309 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlinestaticprotected |
Definition at line 320 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlinestaticprotected |
Definition at line 264 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlinestaticprotected |
Definition at line 286 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlineprotected |
Definition at line 222 of file Edible_Base.c.
References m_FoodStage.
Referenced by CanChangeToNewStage(), ChangeFoodStage(), CAContinuousTimeCooking::Execute(), GetCookingTime(), GetFoodStageName(), GetFoodStageType(), GetNextFoodStageType(), IsFoodBaked(), IsFoodBoiled(), IsFoodBurned(), IsFoodDried(), IsFoodRaw(), IsFoodRotten(), OnStoreLoad(), OnStoreSave(), SetCookingTime(), CAContinuousTimeCooking::Setup(), and UpdateVisuals().
|
inlineprotected |
Definition at line 404 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 339 of file Edible_Base.c.
References GetFoodStage().
Referenced by CanProcessDecay(), OnAction(), ProcessDecay(), and RefreshAudio().
|
inlinestaticprotected |
Definition at line 252 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlinestaticprotected |
Definition at line 298 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlinestaticprotected |
Definition at line 275 of file Edible_Base.c.
References GetGame().
Referenced by GetNutritionalProfile().
|
inlineprotected |
|
inlineprotected |
Definition at line 399 of file Edible_Base.c.
References GetFoodStage().
Referenced by RefreshAudio().
|
inlinestaticprotected |
Definition at line 331 of file Edible_Base.c.
References GetFoodAgents(), GetFoodDigestibility(), GetFoodEnergy(), GetFoodNutritionalIndex(), GetFoodTotalVolume(), GetFoodToxicity(), and GetFoodWater().
Referenced by AddToStomach().
|
inlineprivate |
Definition at line 4 of file DisinfectantSpray.c.
References can_this_be_combined.
Definition at line 233 of file Edible_Base.c.
Referenced by ProcessDecay().
Definition at line 13 of file Chicken_ColorBase.c.
Definition at line 13 of file Mackerel.c.
|
inlineprotected |
Definition at line 353 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 361 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 377 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 369 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 345 of file Edible_Base.c.
References GetFoodStage().
|
inlineprotected |
Definition at line 385 of file Edible_Base.c.
References GetFoodStage().
Definition at line 238 of file Edible_Base.c.
Referenced by ProcessDecay().
Definition at line 13 of file CaninaBerry.c.
Definition at line 13 of file SambucusBerry.c.
Definition at line 228 of file Edible_Base.c.
Referenced by CAContinuousTimeCooking::Execute(), and ProcessDecay().
Definition at line 13 of file BearSteakMeat.c.
Definition at line 13 of file Bitterlings.c.
Definition at line 13 of file BoarSteakMeat.c.
Definition at line 13 of file CarpFilletMeat.c.
Definition at line 13 of file ChickenBreastMeat.c.
Definition at line 13 of file CowSteakMeat.c.
Definition at line 13 of file DeerSteakMeat.c.
Definition at line 13 of file FoxSteakMeat.c.
Definition at line 13 of file GoatSteakMeat.c.
Definition at line 18 of file HumanSteakMeat.c.
Definition at line 13 of file MackerelFilletMeat.c.
Definition at line 13 of file MouflonSteakMeat.c.
Definition at line 13 of file PigSteakMeat.c.
Definition at line 13 of file RabbitLegMeat.c.
Definition at line 13 of file Sardines.c.
Definition at line 13 of file SheepSteakMeat.c.
Definition at line 13 of file WolfSteakMeat.c.
Definition at line 243 of file Edible_Base.c.
Referenced by ProcessDecay().
|
inlineprivate |
Definition at line 130 of file Edible_Base.c.
References m_CookedByMethod, m_MakeCookingSounds, and Synchronize().
Referenced by EEItemLocationChanged().
|
inlineprotected |
Definition at line 692 of file Edible_Base.c.
References ChangeFoodStage(), GetFoodStageType(), and GetGame().
|
private |
Referenced by Consume().
|
inlineprivate |
Definition at line 11 of file CharcoalTablets.c.
|
inlineprivate |
Definition at line 11 of file PainkillerTablets.c.
|
inlineprotected |
Definition at line 186 of file Edible_Base.c.
References GetFoodStage(), m_DecayTimer, m_LastDecayStage, and OnStoreLoad().
Referenced by OnStoreLoad().
|
inlineprotected |
Definition at line 174 of file Edible_Base.c.
References GetFoodStage(), m_DecayTimer, and m_LastDecayStage.
Definition at line 114 of file Edible_Base.c.
References m_MakeCookingSounds, RefreshAudio(), RemoveAudio(), and UpdateVisuals().
Definition at line 503 of file Edible_Base.c.
References CanChangeToNewStage(), ChangeFoodStage(), GameConstants::DECAY_FOOD_BAKED_FRVG, GameConstants::DECAY_FOOD_BAKED_MEAT, GameConstants::DECAY_FOOD_BOILED_FRVG, GameConstants::DECAY_FOOD_BOILED_MEAT, GameConstants::DECAY_FOOD_CAN_OPEN, GameConstants::DECAY_FOOD_DRIED_MEAT, GameConstants::DECAY_FOOD_FRVG_DRIED_CHANCE, GameConstants::DECAY_FOOD_RAW_CORPSE, GameConstants::DECAY_FOOD_RAW_FRVG, GameConstants::DECAY_FOOD_RAW_MEAT, GameConstants::DECAY_RATE_ON_PLAYER, GameConstants::DECAY_TIMER_RANDOM_PERCENTAGE, GetFoodStageType(), GetGame(), InsertAgent(), IsCorpse(), IsFruit(), IsMeat(), IsMushroom(), m_DecayDelta, m_DecayTimer, m_LastDecayStage, Math::RandomFloat01(), and Math::RandomIntInclusive().
|
inlineprotected |
Definition at line 138 of file Edible_Base.c.
References GetFoodStageType(), GetNextFoodStageType(), m_CookedByMethod, SOUND_BAKING_DONE, SOUND_BAKING_START, SOUND_BURNING_DONE, and SoundCookingStart().
Referenced by OnVariablesSynchronized().
|
inlineprotected |
Definition at line 165 of file Edible_Base.c.
References m_MakeCookingSounds, and SoundCookingStop().
Referenced by EEDelete(), and OnVariablesSynchronized().
Definition at line 443 of file Edible_Base.c.
References Error(), and ReplaceEdibleWithNewLambda().
Referenced by BakedBeansCan::Open(), PeachesCan::Open(), SardinesCan::Open(), SpaghettiCan::Open(), TacticalBaconCan::Open(), TunaCan::Open(), DogFoodCan::Open(), CatFoodCan::Open(), PorkCan::Open(), Lunchmeat::Open(), UnknownFoodCan::Open(), Pajka::Open(), Pate::Open(), and BrisketSpread::Open().
Definition at line 455 of file Edible_Base.c.
References ActionDetach(), and AddAction().
Definition at line 23 of file BearSteakMeat.c.
References AddAction().
Definition at line 23 of file Bitterlings.c.
References AddAction().
Definition at line 23 of file BoarSteakMeat.c.
References AddAction().
Definition at line 7 of file BoxCerealCrunchin.c.
References AddAction().
Definition at line 7 of file Candycane_Colorbase.c.
References AddAction().
Definition at line 51 of file CaninaBerry.c.
References AddAction().
Definition at line 23 of file CarpFilletMeat.c.
References AddAction().
Definition at line 3 of file CharcoalTablets.c.
References AddAction().
Definition at line 23 of file ChickenBreastMeat.c.
References AddAction().
Definition at line 23 of file CowSteakMeat.c.
References AddAction().
Definition at line 23 of file DeerSteakMeat.c.
References AddAction().
Definition at line 67 of file DisinfectantSpray.c.
References ActionDisinfectSelf(), and AddAction().
Definition at line 23 of file FoxSteakMeat.c.
References AddAction().
Definition at line 23 of file GoatSteakMeat.c.
References AddAction().
Definition at line 55 of file Guts.c.
References AddAction().
Definition at line 28 of file HumanSteakMeat.c.
References AddAction().
Definition at line 23 of file Lard.c.
References AddAction().
Definition at line 23 of file MackerelFilletMeat.c.
References AddAction().
Definition at line 23 of file MouflonSteakMeat.c.
References AddAction().
Definition at line 3 of file PainkillerTablets.c.
References AddAction().
Definition at line 23 of file PigSteakMeat.c.
References AddAction().
Definition at line 23 of file RabbitLegMeat.c.
References AddAction().
Definition at line 51 of file SambucusBerry.c.
References AddAction().
Definition at line 23 of file Sardines.c.
References AddAction().
Definition at line 23 of file SheepSteakMeat.c.
References AddAction().
Definition at line 55 of file SmallGuts.c.
References AddAction().
Definition at line 23 of file WolfSteakMeat.c.
References AddAction().
Definition at line 434 of file Edible_Base.c.
References GetFoodStage(), and Synchronize().
Definition at line 463 of file Edible_Base.c.
References GetPosition, m_SoundEffectCooking, m_SoundPlaying, SEffectManager::PlaySound(), and SoundCookingStop().
Referenced by RefreshAudio().
|
inlineprotected |
Definition at line 476 of file Edible_Base.c.
References m_SoundEffectCooking, m_SoundPlaying, and EffectSound::Stop().
Referenced by RemoveAudio(), and SoundCookingStart().
|
inlineprivate |
Definition at line 106 of file Edible_Base.c.
References GetGame(), and UpdateVisuals().
Referenced by AfterStoreLoad(), MakeSoundsOnClient(), and SetCookingTime().
|
inlineprotected |
Definition at line 415 of file Edible_Base.c.
References ChangeFoodStage(), m_DecayDelta, m_DecayTimer, and m_LastDecayStage.
|
inlineprivate |
Definition at line 76 of file Edible_Base.c.
References GetFoodStage().
Referenced by EEInit(), OnVariablesSynchronized(), and Synchronize().
Definition at line 3 of file Edible_Base.c.
Referenced by EEItemLocationChanged().
|
private |
Definition at line 18 of file Edible_Base.c.
Referenced by Edible_Base(), GetDebugText(), MakeSoundsOnClient(), and RefreshAudio().
|
protected |
Definition at line 15 of file Edible_Base.c.
Referenced by GetDecayDelta(), ProcessDecay(), and TransferFoodStage().
|
protected |
Definition at line 14 of file Edible_Base.c.
Referenced by GetDecayTimer(), OnStoreLoad(), OnStoreSave(), ProcessDecay(), and TransferFoodStage().
Definition at line 13 of file Edible_Base.c.
Referenced by Edible_Base(), and GetFoodStage().
|
protected |
Definition at line 16 of file Edible_Base.c.
Referenced by GetLastDecayStage(), OnStoreLoad(), OnStoreSave(), ProcessDecay(), and TransferFoodStage().
|
protected |
Definition at line 9 of file Edible_Base.c.
Referenced by GetDebugText(), MakeSoundsOnClient(), OnVariablesSynchronized(), and RemoveAudio().
|
protected |
Definition at line 10 of file Edible_Base.c.
|
protected |
DEPRECATED.
Definition at line 11 of file Edible_Base.c.
Referenced by SoundCookingStart(), and SoundCookingStop().
|
protected |
Definition at line 12 of file Edible_Base.c.
Referenced by Edible_Base(), SoundCookingStart(), and SoundCookingStop().
Definition at line 6 of file Edible_Base.c.
Referenced by RefreshAudio().
Definition at line 5 of file Edible_Base.c.
Referenced by RefreshAudio().
Definition at line 7 of file Edible_Base.c.
Referenced by RefreshAudio().