Flammability

The Flammability of an item determines how quickly an Object catches fire due to being in a hot environment, as well as the temperature at which it catches fire. It is applicable to Items, Buildings, and Plants. 
In addition to Flammability, an Object can also catch fire due to being in proximity to another item that is already on fireXiaWorld.SpreadMapData.SetSpread. This can occur regardless of the Flammability of the Object. An Object can also be set on fire directly, bypassing Flammability. This can occur most notably through the Phoenix's abilities.
Flammability consists of four sub-properties contained in the main Flammability tag. Only two of these have implemented functions: 
===Flammability===
This sub-property determines the chance that an Object will catch fire, assuming that it is above the BurningPointXiaWorld.Thing.Step. This is checked every 60 seconds, and the Object catches fire if its temperature is above the BurningPoint, and a random roll between 0 and 1 is lower than the Flammability sub-property. If Flammability is zero or lower, the object cannot catch fire from being too hot, but may still catch fire from other sources mentioned above. 
===BurningPoint===
This sub-property determines the minimum temperature that is required for an item to catch fire by being in a hot environment. 
===FlameSpawnChance, FlameSpawnThingDef===
These sub-properties are unused, as no Object utilizes these Properties. Had they been implemented, they would have caused a fire specified by FlameSpawnThingDef to spawn on the location of an Object after it is destroyed, with a probability of FlameSpawnChanceXiaWorld.Thing.OnDeath. 
==References==
Category:Game Mechanics
Category:Property
Category:Items
Category:Buildings
Category:Trees
Category:Objects
Category:Object Properties