mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-09-27 14:50:30 +02:00
Added check for wool dependancy
This commit is contained in:
parent
6455e192ba
commit
9394b04b68
|
@ -77,6 +77,8 @@ end
|
||||||
|
|
||||||
-- wool registrations
|
-- wool registrations
|
||||||
|
|
||||||
|
if minetest.get_modpath("wool") then
|
||||||
|
|
||||||
local colorlist = {
|
local colorlist = {
|
||||||
{"white", "White"},
|
{"white", "White"},
|
||||||
{"grey", "Grey"},
|
{"grey", "Grey"},
|
||||||
|
@ -102,8 +104,10 @@ for i in ipairs(colorlist) do
|
||||||
stairsplus:register_all("wool", color, "wool:"..color, {
|
stairsplus:register_all("wool", color, "wool:"..color, {
|
||||||
description = colordesc.." Wool",
|
description = colordesc.." Wool",
|
||||||
tiles = {"wool_"..color..".png"},
|
tiles = {"wool_"..color..".png"},
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,
|
||||||
|
flammable=3,wool=1,not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user