summaryrefslogtreecommitdiff
path: root/moreblocks
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-15 03:07:49 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-15 03:07:49 -0400
commitf5df30ddb8e38d9891eef2ef0763f67afdda498c (patch)
tree971a5ed9e5d5b5de609a199db54b1e00452457e1 /moreblocks
parent6c701f9b7cf88fcb026a8f38d8852bd8a54412c7 (diff)
downloaddreambuilder_modpack-f5df30ddb8e38d9891eef2ef0763f67afdda498c.tar
dreambuilder_modpack-f5df30ddb8e38d9891eef2ef0763f67afdda498c.tar.gz
dreambuilder_modpack-f5df30ddb8e38d9891eef2ef0763f67afdda498c.tar.bz2
dreambuilder_modpack-f5df30ddb8e38d9891eef2ef0763f67afdda498c.tar.xz
dreambuilder_modpack-f5df30ddb8e38d9891eef2ef0763f67afdda498c.zip
update moreblocks and gloopblocks
Diffstat (limited to 'moreblocks')
-rw-r--r--moreblocks/depends.txt1
-rw-r--r--moreblocks/stairsplus/registrations.lua37
2 files changed, 38 insertions, 0 deletions
diff --git a/moreblocks/depends.txt b/moreblocks/depends.txt
index 8f1c124..74e8624 100644
--- a/moreblocks/depends.txt
+++ b/moreblocks/depends.txt
@@ -1,3 +1,4 @@
default
intllib?
farming?
+wool?
diff --git a/moreblocks/stairsplus/registrations.lua b/moreblocks/stairsplus/registrations.lua
index be08b43..065bc9d 100644
--- a/moreblocks/stairsplus/registrations.lua
+++ b/moreblocks/stairsplus/registrations.lua
@@ -74,3 +74,40 @@ for _, name in pairs(default_nodes) do
})
end
end
+
+-- wool registrations
+
+if minetest.get_modpath("wool") then
+
+ local colorlist = {
+ {"white", "White Wool"},
+ {"grey", "Grey Wool"},
+ {"black", "Black Wool"},
+ {"red", "Red Wool"},
+ {"yellow", "Yellow Wool"},
+ {"green", "Green Wool"},
+ {"cyan", "Cyan Wool"},
+ {"blue", "Blue Wool"},
+ {"magenta", "Magenta Wool"},
+ {"orange", "Orange Wool"},
+ {"violet", "Violet Wool"},
+ {"brown", "Brown Wool"},
+ {"pink", "Pink Wool"},
+ {"dark_grey", "Dark Grey Wool"},
+ {"dark_green", "Dark Green Wool"},
+ }
+
+ for i in ipairs(colorlist) do
+ local color = colorlist[i][1]
+ local colordesc = colorlist[i][2]
+
+ stairsplus:register_all("wool", color, "wool:"..color, {
+ description = colordesc,
+ tiles = {"wool_"..color..".png"},
+ groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,
+ flammable=3,wool=1,not_in_creative_inventory=1},
+ sounds = default.node_sound_defaults(),
+ sunlight_propagates = true,
+ })
+ end
+end