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,29 +108,32 @@ minetest.register_node("mcl_sponges:sponge_wet", {
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
minetest.register_node("mcl_sponges:sponge_wet_river_water", { if minetest.get_modpath("mclx_core") then
description = "Riverwaterlogged Sponge", minetest.register_node("mcl_sponges:sponge_wet_river_water", {
_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.", description = "Riverwaterlogged Sponge",
drawtype = "normal", _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.",
is_ground_content = false, drawtype = "normal",
tiles = {"mcl_sponges_sponge_wet_river_water.png"}, is_ground_content = false,
walkable = true, tiles = {"mcl_sponges_sponge_wet_river_water.png"},
pointable = true, walkable = true,
diggable = true, pointable = true,
buildable_to = false, diggable = true,
stack_max = 64, buildable_to = false,
sounds = mcl_sounds.node_sound_dirt_defaults(), stack_max = 64,
groups = {handy=1, building_block=1}, sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3, groups = {handy=1, building_block=1},
_mcl_hardness = 0.6, _mcl_blast_resistance = 3,
}) _mcl_hardness = 0.6,
})
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",
recipe = "mcl_sponges:sponge_wet_river_water",
cooktime = 10,
})
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "mcl_sponges:sponge", output = "mcl_sponges:sponge",