2076 {
2077
2080
2081
2084
2085
2087
2088
2091 cookware.RemoveAudioVisualsOnClient();
2092
2094 {
2096 {
2098 {
2100 cookware.RemoveAudioVisualsOnClient();
2101
2103 if (itsfood)
2105
2107 if (!inv)
2108 return;
2109
2111 if (!cargo)
2112 return;
2113
2115 {
2117 if (edible)
2119 }
2120 }
2121 }
2122 }
2123 }
ItemBase GetCookingEquipment()
bool DirectCookingSlotsInUse()
const int DIRECT_COOKING_SLOT_COUNT
direct cooking slots
void SetFireState(FireplaceFireState state)
const string MATERIAL_FIREPLACE_NOGLOW
ItemBase m_DirectCookingSlots[DIRECT_COOKING_SLOT_COUNT]
proto native int GetItemCount()
proto native EntityAI GetItem(int index)
represents base for cargo storage for entities
Super root of all classes in Enforce script.
void MakeSoundsOnClient(bool soundstate, CookingMethodType cookingMethod=CookingMethodType.NONE)
proto native CargoBase GetCargo()
cargo
script counterpart to engine's class Inventory
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.