simplify water recipes

This commit is contained in:
tenplus1 2021-07-24 20:37:18 +01:00
parent 2277932cd4
commit 2e2cd77184
2 changed files with 14 additions and 13 deletions

View File

@ -42,15 +42,6 @@ minetest.register_node("farming:soy_sauce", {
sounds = default.node_sound_glass_defaults()
})
-- river water availability check
local bucket_water
if minetest.get_mapgen_setting("mgname") == "valleys"
or minetest.get_modpath("ethereal") then
bucket_water = "bucket:bucket_river_water"
else
bucket_water = "bucket:bucket_water"
end
-- soy sauce recipe
minetest.register_craft( {
@ -58,10 +49,10 @@ minetest.register_craft( {
recipe = {
{"group:food_soy", "group:food_salt", "group:food_soy"},
{"", "group:food_juicer", ""},
{"", bucket_water, "vessels:glass_bottle"}
{"", "bucket:bucket_water", "vessels:glass_bottle"}
},
replacements = {
{bucket_water, "bucket:bucket_empty"},
{"bucket:bucket_water", "bucket:bucket_empty"},
{"group:food_juicer", "farming:juicer"}
}
})

View File

@ -29,6 +29,16 @@ minetest.register_craft({
replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}}
})
minetest.register_craft({
output = "farming:glass_water 4",
recipe = {
{"vessels:drinking_glass", "vessels:drinking_glass"},
{"vessels:drinking_glass", "vessels:drinking_glass"},
{"bucket:bucket_water", "farming:hemp_fibre"}
},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})
--= Sugar
minetest.register_craftitem("farming:sugar", {
@ -675,10 +685,10 @@ minetest.register_craft({
recipe = {
{"group:food_rice", "group:food_sugar", "group:food_rice"},
{"", "group:food_mortar_pestle", ""},
{"", "bucket:bucket_river_water", ""}
{"", "farming:glass_water", ""}
},
replacements = {
{"group:food_mortar_pestle", "farming:mortar_pestle"},
{"bucket:bucket_river_water", "bucket:bucket_empty"}
{"farming:glass_water", "vessels:drinking_glass"}
}
})