Go to the source code of this file.
|
| 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) |
| |
| protected int | UpdateCookingState (Edible_Base item_to_cook, CookingMethodType cooking_method, ItemBase cooking_equipment, float cooking_time_coef) |
| |
| protected 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) |
| |
| protected ItemBase | GetItemTypeFromCargo (typename item_type, ItemBase cooking_equipment) |
| | Cooking data. More...
|
| |
| protected CookingMethodType | GetCookingMethod (ItemBase cooking_equipment) |
| | DEPREACTED. More...
|
| |
| protected 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) |
| |
| protected void | AddTemperatureToItem (ItemBase cooked_item, ItemBase cooking_equipment, float min_temperature) |
| |
| protected void | DecreaseCookedItemQuantity (notnull Edible_Base pItem, float pAmount=0.0) |
| |
◆ CookingMethodType
| Enumerator |
|---|
| NONE | |
| BAKING | |
| BOILING | |
| DRYING | |
| TIME | |
| COUNT | |
Definition at line 1 of file cooking.c.
◆ AddTemperatureToItem()
| protected void AddTemperatureToItem |
( |
ItemBase |
cooked_item, |
|
|
ItemBase |
cooking_equipment, |
|
|
float |
min_temperature |
|
) |
| |
◆ CookOnStick()
◆ CookWithEquipment()
| int CookWithEquipment |
( |
ItemBase |
cooking_equipment, |
|
|
float |
cooking_time_coef = 1 |
|
) |
| |
cooking time coef override
Definition at line 78 of file cooking.c.
◆ DecreaseCookedItemQuantity()
| protected void DecreaseCookedItemQuantity |
( |
notnull Edible_Base |
pItem, |
|
|
float |
pAmount = 0.0 |
|
) |
| |
◆ GetCookingMethod()
◆ GetCookingMethodWithTimeOverride()
when cooking in gasoline, jump to drying state(will be burnt then)
Definition at line 440 of file cooking.c.
◆ GetFoodOnStick()
◆ GetItemTypeFromCargo()
◆ GetMinTempToCook()
◆ GetTimeToCook()
◆ ProcessItemToCook()
state flags are in order: is_done, is_burned
enable cooking SoundEvent
update food
check for done state from baking (exclude Lard from baked items)
check for burned state
Definition at line 34 of file cooking.c.
◆ SmokeItem()
◆ TerminateCookingSounds()
| void TerminateCookingSounds |
( |
ItemBase |
pItem | ) |
|
◆ UpdateCookingState()
Change food stage
Remove all modifiers
any foodstage without lard
any foodstage without lard
Definition at line 165 of file cooking.c.
◆ UpdateCookingStateOnStick()
◆ COOKING_EQUIPMENT_CAULDRON
| COOKING_EQUIPMENT_CAULDRON = Cauldron |
◆ COOKING_EQUIPMENT_FRYINGPAN
| COOKING_EQUIPMENT_FRYINGPAN = FryingPan |
◆ COOKING_EQUIPMENT_POT
| COOKING_EQUIPMENT_POT = Pot |
◆ COOKING_INGREDIENT_LARD
| COOKING_INGREDIENT_LARD = Lard |
◆ TIME_WITH_SUPPORT_MATERIAL_COEF