Flammable Oils deprecated

by Klonan

Pipes and storage tanks and stuff will catch fire and explode

Content
5 years ago
0.14 - 0.17
20
Fluids

i Interface for adding new flammable liquids

7 years ago

Hi Klonan, this mod adds something absolutely unique to factorio. Unfortunately, the list of flammable fluids is hardcoded within your mod. Would you mind adding a small interface, so other mods would be able to add their fluids to this list? This would be great!
Regards, Arcitos

6 years ago

Done

6 years ago
remote.add_interface("flammable_oils", 
{
  add_flammable_type = function(name)
    global.flammable_types[name] = true
  end,
  remove_flammable_type = function(name)
    global.flammable_types[name] = nil
  end,
  get_flammable_types = function()
    return global.flammable_types
  end
})
6 years ago

:D

New response