2236 {
2237 if (!item)
2238 return;
2239
2241 if (!pAttachment)
2242 {
2245 if (itemInventory)
2246 {
2250 {
2251 if (ent != this)
2252 {
2254 }
2255 }
2256 }
2257 }
2258 else
2259 {
2260 float timerCoef = 1.0;
2265
2266 switch (item.Type())
2267 {
2271 break;
2272 }
2273
2274 if (item.IsCookware())
2275 {
2277 }
2278
2281 {
2284 }
2285 }
2286 }
static const float PARAM_BURN_DAMAGE_COEF
const int TIMER_HEATING_UPDATE_INTERVAL
timer constants
const int TIMER_COOLING_UPDATE_INTERVAL
update interval duration of heating process (seconds)
bool IsFuel(ItemBase item)
Returns if item attached to fireplace is fuel.
ref Timer m_HeatingTimer
value for calculating of wetness that fireplace gain when raining
bool IsKindling(ItemBase item)
Returns if item attached to fireplace is kindling.
proto native bool EnumerateInventory(InventoryTraversalType tt, out array< EntityAI > items)
enumerate inventory using traversal type and filling items array
script counterpart to engine's class Inventory
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal
const float FIRE_ATTACHMENT_DAMAGE_PER_SECOND
various damage per second constants
const int STATE_BADLY_DAMAGED