mirror of
https://github.com/cheapie/plasticbox.git
synced 2024-12-04 13:13:46 +01:00
make moreblocks optional (#8)
This commit is contained in:
parent
97b252e2f5
commit
a4e5967b88
@ -1,3 +1,3 @@
|
|||||||
homedecor
|
homedecor
|
||||||
moreblocks
|
moreblocks?
|
||||||
unifieddyes
|
unifieddyes
|
||||||
|
14
init.lua
14
init.lua
@ -12,12 +12,14 @@ minetest.register_node("plasticbox:plasticbox", {
|
|||||||
after_place_node = unifieddyes.recolor_on_place,
|
after_place_node = unifieddyes.recolor_on_place,
|
||||||
})
|
})
|
||||||
|
|
||||||
stairsplus:register_all("plasticbox", "plasticbox", "plasticbox:plasticbox", {
|
if minetest.global_exists("stairsplus") then
|
||||||
description = "Plastic",
|
stairsplus:register_all("plasticbox", "plasticbox", "plasticbox:plasticbox", {
|
||||||
tiles = {"plasticbox_white.png"},
|
description = "Plastic",
|
||||||
groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1},
|
tiles = {"plasticbox_white.png"},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1},
|
||||||
})
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "plasticbox:plasticbox 4",
|
output = "plasticbox:plasticbox 4",
|
||||||
|
Loading…
Reference in New Issue
Block a user