Fix issue #175 (TA3 Furnace Does not implement replacements in recipes)

This commit is contained in:
Joachim Stolberg 2024-06-30 14:00:34 +02:00
parent d7c31f9865
commit b1a338c8d4

View File

@ -12,8 +12,6 @@
]]--
local S = techage.S
--Detects if the salt node is registered.
minetest.register_on_mods_loaded(function()
@ -32,6 +30,14 @@ minetest.register_on_mods_loaded(function()
"techage:water 1",
}
})
-- Add salt recipe as replacement for the minetest.register_craft("farming:salt") recipe
techage.furnace.register_recipe({
output = "farming:salt",
recipe = {"bucket:bucket_water"},
waste = "bucket:bucket_empty",
time = 8,
})
else
-- Creates a water -> River Water recipe in absense of the farming:salt node.
techage.recipes.add("ta4_doser", {