make moreblocks optional (#8)

This commit is contained in:
bell07 2017-07-09 09:54:33 +02:00 committed by cheapie
parent 97b252e2f5
commit a4e5967b88
2 changed files with 9 additions and 7 deletions

@ -1,3 +1,3 @@
homedecor
moreblocks
moreblocks?
unifieddyes

@ -12,12 +12,14 @@ minetest.register_node("plasticbox:plasticbox", {
after_place_node = unifieddyes.recolor_on_place,
})
stairsplus:register_all("plasticbox", "plasticbox", "plasticbox:plasticbox", {
description = "Plastic",
tiles = {"plasticbox_white.png"},
groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1},
sounds = default.node_sound_stone_defaults(),
})
if minetest.global_exists("stairsplus") then
stairsplus:register_all("plasticbox", "plasticbox", "plasticbox:plasticbox", {
description = "Plastic",
tiles = {"plasticbox_white.png"},
groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1},
sounds = default.node_sound_stone_defaults(),
})
end
minetest.register_craft( {
output = "plasticbox:plasticbox 4",