This commit is contained in:
root 2021-07-25 11:35:15 +02:00
parent 709c185915
commit e37296bc91
8 changed files with 23 additions and 22 deletions

View file

@ -42,15 +42,6 @@ minetest.register_node("farming:soy_sauce", {
sounds = default.node_sound_glass_defaults() 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 -- soy sauce recipe
minetest.register_craft( { minetest.register_craft( {
@ -58,10 +49,10 @@ minetest.register_craft( {
recipe = { recipe = {
{"group:food_soy", "group:food_salt", "group:food_soy"}, {"group:food_soy", "group:food_salt", "group:food_soy"},
{"", "group:food_juicer", ""}, {"", "group:food_juicer", ""},
{"", bucket_water, "vessels:glass_bottle"} {"", "bucket:bucket_water", "vessels:glass_bottle"}
}, },
replacements = { replacements = {
{bucket_water, "bucket:bucket_empty"}, {"bucket:bucket_water", "bucket:bucket_empty"},
{"group:food_juicer", "farming:juicer"} {"group:food_juicer", "farming:juicer"}
} }
}) })

View file

@ -29,6 +29,16 @@ minetest.register_craft({
replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}} 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 --= Sugar
minetest.register_craftitem("farming:sugar", { minetest.register_craftitem("farming:sugar", {
@ -675,10 +685,10 @@ minetest.register_craft({
recipe = { recipe = {
{"group:food_rice", "group:food_sugar", "group:food_rice"}, {"group:food_rice", "group:food_sugar", "group:food_rice"},
{"", "group:food_mortar_pestle", ""}, {"", "group:food_mortar_pestle", ""},
{"", "bucket:bucket_river_water", ""} {"", "farming:glass_water", ""}
}, },
replacements = { replacements = {
{"group:food_mortar_pestle", "farming:mortar_pestle"}, {"group:food_mortar_pestle", "farming:mortar_pestle"},
{"bucket:bucket_river_water", "bucket:bucket_empty"} {"farming:glass_water", "vessels:drinking_glass"}
} }
}) })

View file

@ -1,4 +1,4 @@
default
mobs mobs
default?
lucky_block? lucky_block?
intllib? intllib?

View file

@ -1,4 +1,4 @@
name = mobs_animal name = mobs_animal
depends = default, mobs depends = mobs
optional_depends = lucky_block, intllib optional_depends = default, lucky_block, intllib
description = Adds farm animals. description = Adds farm animals.

View file

@ -1,5 +1,5 @@
default
mobs mobs
default?
lucky_block? lucky_block?
toolranks? toolranks?
intllib? intllib?

View file

@ -1,4 +1,4 @@
name = mobs_monster name = mobs_monster
depends = default, mobs depends = mobs
optional_depends = lucky_block, toolranks, intllib optional_depends = default, lucky_block, toolranks, intllib
description = Adds many types of monsters. description = Adds many types of monsters.

View file

@ -1,4 +1,4 @@
default
mobs mobs
default?
lucky_block? lucky_block?
intllib? intllib?

View file

@ -1,4 +1,4 @@
name = mobs_npc name = mobs_npc
depends = default, mobs depends = mobs
optional_depends = lucky_block, intllib optional_depends = default, lucky_block, intllib
description = Adds simple NPC and Trader. description = Adds simple NPC and Trader.