WoodDoesBurn


This mod lets you burn things made out of wood. Small Electric Poles and Wooden Chests are made out of wood. Wood burns. With this mod they can be "recycled" as fuel in burners as it was the case prior to Factorio Version 0.17. 0.75MJ for a power pole 3MJ per chest

Tweaks
4 months ago
1.1 - 2.1
4.00K
Manufacturing

i Modify only needed

a month ago

This mod replaces whole definition of wooden-chest and small-electric-pole so some properties might get lost, namely inventory_move_sound, pick_sound and drop_sound.

https://github.com/wube/factorio-data/blob/2.1.21/base/prototypes/item.lua#L224-L226
https://github.com/wube/factorio-data/blob/2.1.21/base/prototypes/item.lua#L378-L380

You can modify only the necessary properties instead, preserving the rest of the existing definition and making the mod more robust against future changes in the base game

local fuels = {
  ["wooden-chest"] = "3MJ",
  ["small-electric-pole"] = "0.75MJ"
}

for name, fuel_value in pairs(fuels) do
  local item = data.raw.item[name]
  item.fuel_categories = {"chemical"}
  item.fuel_value = fuel_value
end

New response