public static bool TerrainFlammableNow(this IntVec3 c, Map map) { TerrainDef terrain = c.GetTerrain(map); if (!terrain.Flammable()) { return(false); } List <Thing> thingList = c.GetThingList(map); for (int i = 0; i < thingList.Count; i++) { if (thingList[i].FireBulwark) { return(false); } } return(true); }