diff options
author | Calinou <calinou9999spam@gmail.com> | 2013-10-27 19:24:49 +0100 |
---|---|---|
committer | Calinou <calinou9999spam@gmail.com> | 2013-10-27 19:24:49 +0100 |
commit | e60644c7e01100a775283ff63f3db0d7471f27fa (patch) | |
tree | 9dcd7940e1e4d1e018d09fd39655c2fe54ea5d39 | |
parent | 1333faa48b4df017e862441e65d2f3661c0e55e8 (diff) | |
download | moreblocks-e60644c7e01100a775283ff63f3db0d7471f27fa.tar.gz moreblocks-e60644c7e01100a775283ff63f3db0d7471f27fa.tar.bz2 moreblocks-e60644c7e01100a775283ff63f3db0d7471f27fa.zip |
Fix drops
-rw-r--r-- | stairsplus/microblocks.lua | 12 | ||||
-rw-r--r-- | stairsplus/panels.lua | 12 | ||||
-rw-r--r-- | stairsplus/slabs.lua | 20 |
3 files changed, 22 insertions, 22 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index de4d581..24a69ea 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -43,7 +43,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_1", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -69,7 +69,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_2", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -95,7 +95,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_4", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -121,7 +121,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_12", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -147,7 +147,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_14", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -173,7 +173,7 @@ function register_micro(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":micro_" .. drop, + drop = modname .. ":micro_" .. drop .. "_15", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, diff --git a/stairsplus/panels.lua b/stairsplus/panels.lua index 7534b80..a5a9caa 100644 --- a/stairsplus/panels.lua +++ b/stairsplus/panels.lua @@ -42,7 +42,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_1", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -67,7 +67,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_2", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -92,7 +92,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_4", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -117,7 +117,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_12", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -142,7 +142,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_14", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -167,7 +167,7 @@ function register_panel(modname, subname, recipeitem, groups, images, descriptio drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":panel_" .. drop, + drop = modname .. ":panel_" .. drop .. "_15", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index d9d72b4..a7ebe43 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -115,23 +115,23 @@ function register_slab(modname, subname, recipeitem, groups, images, description end }) - minetest.register_node(":"..modname .. ":slab_" .. subname .. "_2", { + minetest.register_node(":"..modname .. ":slab_" .. subname .. "_1", { description = S("%s Slab"):format(S(description)), drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":slab_" .. drop .. "_quarter", + drop = modname .. ":slab_" .. drop .. "_1", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, groups = groups, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5}, + fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, }, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5}, + fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, }, sounds = default.node_sound_stone_defaults(), on_place = function(itemstack, placer, pointed_thing) @@ -141,23 +141,23 @@ function register_slab(modname, subname, recipeitem, groups, images, description end }) - minetest.register_node(":"..modname .. ":slab_" .. subname .. "_1", { + minetest.register_node(":"..modname .. ":slab_" .. subname .. "_2", { description = S("%s Slab"):format(S(description)), drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":slab_" .. drop .. "_quarter", + drop = modname .. ":slab_" .. drop .. "_2", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, groups = groups, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5}, }, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + fixed = {-0.5, -0.5, -0.5, 0.5, -0.375, 0.5}, }, sounds = default.node_sound_stone_defaults(), on_place = function(itemstack, placer, pointed_thing) @@ -172,7 +172,7 @@ function register_slab(modname, subname, recipeitem, groups, images, description drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":slab_" .. drop .. "_quarter", + drop = modname .. ":slab_" .. drop .. "_14", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -198,7 +198,7 @@ function register_slab(modname, subname, recipeitem, groups, images, description drawtype = "nodebox", tiles = images, light_source = light, - drop = modname .. ":slab_" .. drop .. "_quarter", + drop = modname .. ":slab_" .. drop .. "_15", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, |