97 for (
int i = 0;
i <
cargo.GetItemCount();
i++)
340 if (
pItem.GetInventory())
345 for (
int i = 0;
i <
cargo.GetItemCount();
i++)
349 edible.MakeSoundsOnClient(
false);
357 edible.MakeSoundsOnClient(
false);
368 for (
int i = 0;
i <
cargo.GetItemCount();
i++)
float GetMinTempToCook(Edible_Base item_to_cook, CookingMethodType cooking_method)
static const float COOKING_FOOD_TIME_INC_VALUE
time modifier used when using support material
COOKING_EQUIPMENT_CAULDRON
void TerminateCookingSounds(ItemBase pItem)
static const float COOKING_LARD_DECREASE_COEF
time increase when cooking a food
Edible_Base GetFoodOnStick(ItemBase stick_item)
static const float COOKING_FOOD_QUANTITY_DECREASE_AMOUNT_NONE
how many units from quantity of lard are remove at each stage
void ProcessItemToCook(notnull ItemBase pItem, ItemBase cookingEquip, Param2< CookingMethodType, float > pCookingMethod, out Param2< bool, bool > pStateFlags)
static const float DEFAULT_COOKING_TEMPERATURE
NOT USED.
Param2< CookingMethodType, float > GetCookingMethodWithTimeOverride(ItemBase cooking_equipment)
static const float LIQUID_BOILING_POINT
float GetTimeToCook(Edible_Base item_to_cook, CookingMethodType cooking_method)
static const float PARAM_BURN_DAMAGE_COEF
CookingMethodType GetCookingMethod(ItemBase cooking_equipment)
DEPREACTED.
static const float LIQUID_VAPOR_QUANTITY
void SmokeItem(Edible_Base item_to_cook, float cook_time_inc)
enum CookingMethodType TIME_WITH_SUPPORT_MATERIAL_COEF
static const float FOOD_MAX_COOKING_TEMPERATURE
void DecreaseCookedItemQuantity(notnull Edible_Base pItem, float pAmount=0.0)
int CookOnStick(Edible_Base item_to_cook, float cook_time_inc)
int UpdateCookingState(Edible_Base item_to_cook, CookingMethodType cooking_method, ItemBase cooking_equipment, float cooking_time_coef)
int UpdateCookingStateOnStick(Edible_Base item_to_cook, float cook_time_inc)
static const float TIME_WITHOUT_SUPPORT_MATERIAL_COEF
time modifier used when not using support material
COOKING_EQUIPMENT_FRYINGPAN
void AddTemperatureToItem(ItemBase cooked_item, ItemBase cooking_equipment, float min_temperature)
static const float COOKING_FOOD_QUANTITY_DECREASE_AMOUNT_LARD
how many units from quantity of item are removed at each stage when support material is NOT used
ItemBase GetItemTypeFromCargo(typename item_type, ItemBase cooking_equipment)
Cooking data.
represents base for cargo storage for entities
proto native CGame GetGame()
const int LIQUID_GASOLINE
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.