2101 {
2102
2105
2106
2109
2110
2112
2113
2116 cookware.RemoveAudioVisualsOnClient();
2117
2119 {
2121 {
2123 {
2125 cookware.RemoveAudioVisualsOnClient();
2126
2128 if (itsfood)
2130
2132 if (!inv)
2133 return;
2134
2136 if (!cargo)
2137 return;
2138
2140 {
2142 if (edible)
2144 }
2145 }
2146 }
2147 }
2148 }
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.