From 410d9bbaa41448c9697b12a3842d20e2d97d1284 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Mar 2017 23:05:46 +0100 Subject: [PATCH] Make water bucket after cooking dry sponge --- mods/ITEMS/mcl_furnaces/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mods/ITEMS/mcl_furnaces/init.lua b/mods/ITEMS/mcl_furnaces/init.lua index d2a8224dfa..a0772ca571 100644 --- a/mods/ITEMS/mcl_furnaces/init.lua +++ b/mods/ITEMS/mcl_furnaces/init.lua @@ -167,6 +167,13 @@ local function furnace_node_timer(pos, elapsed) inv:set_stack("src", 1, aftercooked.items[1]) src_time = src_time - cooked.time update = true + + -- Unique recipe: Put water into empty bucket after cooking wet sponge + if srclist[1]:get_name() == "mcl_sponges:sponge_wet" then + if inv:get_stack("fuel", 1):get_name() == "bucket:bucket_empty" then + inv:set_stack("fuel", 1, "bucket:bucket_water") + end + end end end end