mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 14:13:05 +00:00
Make water bucket after cooking dry sponge
This commit is contained in:
parent
face46e7aa
commit
410d9bbaa4
1 changed files with 7 additions and 0 deletions
|
@ -167,6 +167,13 @@ local function furnace_node_timer(pos, elapsed)
|
||||||
inv:set_stack("src", 1, aftercooked.items[1])
|
inv:set_stack("src", 1, aftercooked.items[1])
|
||||||
src_time = src_time - cooked.time
|
src_time = src_time - cooked.time
|
||||||
update = true
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue