1
0
Fork 0

Fix mcl_sponges dependencies

This commit is contained in:
Wuzzy 2017-11-30 17:46:47 +01:00
parent 443fb284cb
commit 99af7618ee
2 changed files with 27 additions and 22 deletions

View File

@ -1 +1,3 @@
mcl_sounds mcl_sounds
mcl_core?
mclx_core?

View File

@ -108,6 +108,7 @@ minetest.register_node("mcl_sponges:sponge_wet", {
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
if minetest.get_modpath("mclx_core") then
minetest.register_node("mcl_sponges:sponge_wet_river_water", { minetest.register_node("mcl_sponges:sponge_wet_river_water", {
description = "Riverwaterlogged Sponge", description = "Riverwaterlogged Sponge",
_doc_items_longdesc = "A sponge full of river water. It can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of the furnace, the river water will pour into the bucket.", _doc_items_longdesc = "A sponge full of river water. It can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of the furnace, the river water will pour into the bucket.",
@ -131,6 +132,8 @@ minetest.register_craft({
recipe = "mcl_sponges:sponge_wet_river_water", recipe = "mcl_sponges:sponge_wet_river_water",
cooktime = 10, cooktime = 10,
}) })
end
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "mcl_sponges:sponge", output = "mcl_sponges:sponge",