diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-07-02 21:07:49 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-07-02 21:07:49 -0400 |
commit | dd3d366a77e77fd93f6db9243a8d6719335e6895 (patch) | |
tree | d9fbb6c0b9992b32952a239bee19403d657c9123 /moreblocks/stairsplus | |
parent | f18f36ac0d5416311b74160942e5f4946742c7d1 (diff) | |
download | dreambuilder_modpack-dd3d366a77e77fd93f6db9243a8d6719335e6895.tar dreambuilder_modpack-dd3d366a77e77fd93f6db9243a8d6719335e6895.tar.gz dreambuilder_modpack-dd3d366a77e77fd93f6db9243a8d6719335e6895.tar.bz2 dreambuilder_modpack-dd3d366a77e77fd93f6db9243a8d6719335e6895.tar.xz dreambuilder_modpack-dd3d366a77e77fd93f6db9243a8d6719335e6895.zip |
updated areas, biome_lib, plantlife, moreblocks, moretrees, pipeworks,
and worldedit mods
Diffstat (limited to 'moreblocks/stairsplus')
-rw-r--r-- | moreblocks/stairsplus/microblocks.lua | 2 | ||||
-rw-r--r-- | moreblocks/stairsplus/panels.lua | 2 | ||||
-rw-r--r-- | moreblocks/stairsplus/registrations.lua | 2 | ||||
-rw-r--r-- | moreblocks/stairsplus/slabs.lua | 2 | ||||
-rw-r--r-- | moreblocks/stairsplus/slopes.lua | 2 | ||||
-rw-r--r-- | moreblocks/stairsplus/stairs.lua | 2 |
6 files changed, 7 insertions, 5 deletions
diff --git a/moreblocks/stairsplus/microblocks.lua b/moreblocks/stairsplus/microblocks.lua index 680b3ca..7902209 100644 --- a/moreblocks/stairsplus/microblocks.lua +++ b/moreblocks/stairsplus/microblocks.lua @@ -77,7 +77,7 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.groups = stairsplus:prepare_groups(fields.groups) def.description = desc - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname.. ":micro_" ..fields.drop..alternate end minetest.register_node(":" ..modname.. ":micro_" ..subname..alternate, def) diff --git a/moreblocks/stairsplus/panels.lua b/moreblocks/stairsplus/panels.lua index 4fb3f13..dc1d67d 100644 --- a/moreblocks/stairsplus/panels.lua +++ b/moreblocks/stairsplus/panels.lua @@ -77,7 +77,7 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname.. ":panel_" ..fields.drop..alternate end minetest.register_node(":" ..modname.. ":panel_" ..subname..alternate, def) diff --git a/moreblocks/stairsplus/registrations.lua b/moreblocks/stairsplus/registrations.lua index c87e06b..13a9be7 100644 --- a/moreblocks/stairsplus/registrations.lua +++ b/moreblocks/stairsplus/registrations.lua @@ -28,6 +28,8 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks: "pine_wood", "acacia_tree", "acacia_wood", + "aspen_tree", + "aspen_wood", "obsidian", "obsidian_glass", "stonebrick", diff --git a/moreblocks/stairsplus/slabs.lua b/moreblocks/stairsplus/slabs.lua index cc3502c..e184981 100644 --- a/moreblocks/stairsplus/slabs.lua +++ b/moreblocks/stairsplus/slabs.lua @@ -48,7 +48,7 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = ("%s (%d/16)"):format(desc_base, num) def.groups = stairsplus:prepare_groups(fields.groups) - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname.. ":slab_" .. fields.drop .. alternate end minetest.register_node(":" .. modname .. ":slab_" .. subname .. alternate, def) diff --git a/moreblocks/stairsplus/slopes.lua b/moreblocks/stairsplus/slopes.lua index 49058e3..dfb4bcb 100644 --- a/moreblocks/stairsplus/slopes.lua +++ b/moreblocks/stairsplus/slopes.lua @@ -231,7 +231,7 @@ function stairsplus:register_slope(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname.. ":slope_" ..fields.drop..alternate end minetest.register_node(":" ..modname.. ":slope_" ..subname..alternate, def) diff --git a/moreblocks/stairsplus/stairs.lua b/moreblocks/stairsplus/stairs.lua index dde6d50..04b8667 100644 --- a/moreblocks/stairsplus/stairs.lua +++ b/moreblocks/stairsplus/stairs.lua @@ -117,7 +117,7 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) - if fields.drop then + if fields.drop and not type(fields.drop) == "table" then def.drop = modname .. ":stair_" .. fields.drop .. alternate end minetest.register_node(":" .. modname .. ":stair_" .. subname .. alternate, def) |