data\core\lualib\defines.lua
Code: Select all
...
inventory =
{
...
furnace_source = 1,
furnace_result = 2,
...
}
...
Put a {stone,steel} furnace down, add coal, smelt a few iron ore into iron plate, then without removing anything, add some copper ore. You should have copper ore in the "input" slot, iron plate in the "output" slot and coal in the "fuel slot".
Then select (hover over) the furnace and enter these commands:
Code: Select all
/c require("defines")
/c for k,v in pairs(game.player.selected.get_inventory(defines.inventory.furnace_source).get_contents()) do game.player.print(k .. ": " .. v) end
/c for k,v in pairs(game.player.selected.get_inventory(defines.inventory.furnace_result).get_contents()) do game.player.print(k .. ": " .. v) end
The furnace_result line displays the amount of copper ore present. (Should be iron plate)
Since it's inconsistent with the wiki, is this a regression?