From a06586c2b9238ee715661462f023217907f7f01c Mon Sep 17 00:00:00 2001 From: lord-sakamoto Date: Fri, 22 Nov 2024 15:48:05 +0100 Subject: [PATCH] 1792_water-bottle-to-salt. Closes #1792 --- mods/lord/Tools/lord_vessels/mod.conf | 2 +- mods/lord/Tools/lord_vessels/src/bottles.lua | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/mods/lord/Tools/lord_vessels/mod.conf b/mods/lord/Tools/lord_vessels/mod.conf index 2a02ceea3..1ea2348db 100644 --- a/mods/lord/Tools/lord_vessels/mod.conf +++ b/mods/lord/Tools/lord_vessels/mod.conf @@ -1,2 +1,2 @@ name = lord_vessels -depends = builtin, default, vessels +depends = builtin, default, vessels, lottores diff --git a/mods/lord/Tools/lord_vessels/src/bottles.lua b/mods/lord/Tools/lord_vessels/src/bottles.lua index e88fedb7e..7f73aafcc 100644 --- a/mods/lord/Tools/lord_vessels/src/bottles.lua +++ b/mods/lord/Tools/lord_vessels/src/bottles.lua @@ -33,3 +33,13 @@ minetest.register_node('lord_vessels:glass_bottle_water', { groups = { vessel = 1, dig_immediate = 3, attached_node = 1 }, sounds = default.node_sound_glass_defaults(), }) + +minetest.register_craft({ + type = "cooking", + output = "lottores:salt 5", + recipe = "lord_vessels:glass_bottle_water", + cooktime = 7, + replacements = { + { "lord_vessels:glass_bottle_water", "vessels:glass_bottle" }, + }, +})