Fix mcl_sponges dependencies
parent
443fb284cb
commit
99af7618ee
|
@ -1 +1,3 @@
|
|||
mcl_sounds
|
||||
mcl_core?
|
||||
mclx_core?
|
||||
|
|
|
@ -108,7 +108,8 @@ minetest.register_node("mcl_sponges:sponge_wet", {
|
|||
_mcl_hardness = 0.6,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_sponges:sponge_wet_river_water", {
|
||||
if minetest.get_modpath("mclx_core") then
|
||||
minetest.register_node("mcl_sponges:sponge_wet_river_water", {
|
||||
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.",
|
||||
drawtype = "normal",
|
||||
|
@ -123,14 +124,16 @@ minetest.register_node("mcl_sponges:sponge_wet_river_water", {
|
|||
groups = {handy=1, building_block=1},
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 0.6,
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mcl_sponges:sponge",
|
||||
recipe = "mcl_sponges:sponge_wet_river_water",
|
||||
cooktime = 10,
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mcl_sponges:sponge",
|
||||
|
|
Loading…
Reference in New Issue