Go to the source code of this file.
|
| void | SetCookingUpdateTime (float val) |
| |
| void | ProcessItemToCook (notnull ItemBase pItem, ItemBase cookingEquip, Param2< CookingMethodType, float > pCookingMethod, out Param2< bool, bool > pStateFlags) |
| |
| int | CookWithEquipment (ItemBase cooking_equipment, float cooking_time_coef=1) |
| |
| 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) |
| |
| void | SmokeItem (Edible_Base item_to_cook, float cook_time_inc) |
| |
| void | TerminateCookingSounds (ItemBase pItem) |
| |
| ItemBase | GetItemTypeFromCargo (typename item_type, ItemBase cooking_equipment) |
| | Cooking data.
|
| |
| Param2< CookingMethodType, float > | GetCookingMethodWithTimeOverride (ItemBase cooking_equipment) |
| |
| Edible_Base | GetFoodOnStick (ItemBase stick_item) |
| |
| float | GetTimeToCook (Edible_Base item_to_cook, CookingMethodType cooking_method) |
| |
| float | GetMinTempToCook (Edible_Base item_to_cook, CookingMethodType cooking_method) |
| |
| void | AddTemperatureToItem (ItemBase cooked_item, ItemBase cooking_equipment, float min_temperature) |
| |
| void | DecreaseCookedItemQuantity (notnull Edible_Base pItem, float pAmount=0.0) |
| |
| CookingMethodType | GetCookingMethod (ItemBase cooking_equipment) |
| | DEPRECATED.
|
| |
◆ CookingMethodType
| Enumerator |
|---|
| NONE | |
| BAKING | |
| BOILING | |
| DRYING | |
| TIME | |
| COUNT | |
Definition at line 1 of file cooking.c.
◆ AddTemperatureToItem()
◆ CookOnStick()
◆ CookWithEquipment()
| int CookWithEquipment |
( |
ItemBase | cooking_equipment, |
|
|
float | cooking_time_coef = 1 ) |
|
protected |
◆ DecreaseCookedItemQuantity()
| void DecreaseCookedItemQuantity |
( |
notnull Edible_Base | pItem, |
|
|
float | pAmount = 0.0 ) |
|
protected |
◆ GetCookingMethod()
◆ GetCookingMethodWithTimeOverride()
when cooking in gasoline, jump to drying state(will be burnt then)
Definition at line 430 of file cooking.c.
◆ GetFoodOnStick()
◆ GetItemTypeFromCargo()
◆ GetMinTempToCook()
◆ GetTimeToCook()
◆ ProcessItemToCook()
update food
check for done state from baking (exclude Lard from baked items)
check for burned state
Definition at line 44 of file cooking.c.
◆ SetCookingUpdateTime()
| void SetCookingUpdateTime |
( |
float | val | ) |
|
|
protected |
◆ SmokeItem()
◆ TerminateCookingSounds()
| void TerminateCookingSounds |
( |
ItemBase | pItem | ) |
|
|
protected |
◆ UpdateCookingState()
enable cooking SoundEvent
Change food stage to new, IF DIFFERENT
any foodstage without lard
any foodstage without lard
Definition at line 196 of file cooking.c.
◆ UpdateCookingStateOnStick()
Change food stage to new, IF DIFFERENT
Definition at line 283 of file cooking.c.
◆ COOKING_EQUIPMENT_CAULDRON
◆ COOKING_EQUIPMENT_FRYINGPAN
◆ COOKING_EQUIPMENT_POT
| COOKING_EQUIPMENT_POT = Pot |
0..1, validly cooked item will pre-emptively start emitting burning sounds when this close to being burned
Definition at line 32 of file cooking.c.
◆ COOKING_INGREDIENT_LARD
| COOKING_INGREDIENT_LARD = Lard |
◆ m_UpdateTime
◆ TIME_WITH_SUPPORT_MATERIAL_COEF