2243 {
2244 if (!item)
2245 return;
2246
2248 if (!pAttachment)
2249 {
2252 if (itemInventory)
2253 {
2257 {
2258 if (ent != this)
2259 {
2261 }
2262 }
2263 }
2264 }
2265 else
2266 {
2267 float timerCoef = 1.0;
2272
2273 switch (item.Type())
2274 {
2278 break;
2279 }
2280
2281 if (item.IsCookware())
2282 {
2284 }
2285
2288 {
2291 }
2292 }
2293 }
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