Furnace: Improve fuel item replacement support
authorPaul Ouellette <oue.paul18@gmail.com>
Tue, 20 Aug 2019 19:15:28 +0000 (15:15 -0400)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Tue, 20 Aug 2019 19:15:28 +0000 (21:15 +0200)
commit72697119116fb3be38b35c97b637afd7d0cb4cbf
tree70f03fe2ea8d98592ad04fa37452eafd27093235
parent3a3f71aa50c7ef5d894d1f1e0760f164654bbeb7
Furnace: Improve fuel item replacement support

The output returned by `get_craft_result` has a replacements table that
contains any replacement items that could not be placed in the input
(due to the input stack having a count > 1). Put these replacements in
the dst list or drop them on the furnace.
mods/default/furnace.lua