2261 {
2262 if (!item)
2263 return;
2264
2266 if (!pAttachment)
2267 {
2270 if (itemInventory)
2271 {
2275 {
2276 if (ent != this)
2277 {
2279 }
2280 }
2281 }
2282 }
2283 else
2284 {
2285 float timerCoef = 1.0;
2290
2291 switch (item.Type())
2292 {
2296 break;
2297 }
2298
2299 if (item.IsCookware())
2300 {
2302 }
2303
2306 {
2309 }
2310 }
2311 }
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