mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-20 09:53:46 +01:00
Make water bucket after cooking dry sponge
This commit is contained in:
parent
face46e7aa
commit
410d9bbaa4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user