diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-22 17:56:54 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-22 17:56:54 -0400 |
commit | 5123e2c13ce63b2465ac654f586055452f75dcbb (patch) | |
tree | d96da5c490f17bfa0714720b0a1021201301689e | |
parent | 6235ab35a51bc2db1c08362ef08b28b4f7d1532c (diff) | |
download | dreambuilder_modpack-5123e2c13ce63b2465ac654f586055452f75dcbb.tar dreambuilder_modpack-5123e2c13ce63b2465ac654f586055452f75dcbb.tar.gz dreambuilder_modpack-5123e2c13ce63b2465ac654f586055452f75dcbb.tar.bz2 dreambuilder_modpack-5123e2c13ce63b2465ac654f586055452f75dcbb.tar.xz dreambuilder_modpack-5123e2c13ce63b2465ac654f586055452f75dcbb.zip |
updated gloopblocks
-rw-r--r-- | gloopblocks/init.lua | 28 | ||||
-rw-r--r-- | gloopblocks/textures/gloopblocks_rainbow_block.png | bin | 141 -> 196 bytes |
2 files changed, 0 insertions, 28 deletions
diff --git a/gloopblocks/init.lua b/gloopblocks/init.lua index 3a8e396..5b059eb 100644 --- a/gloopblocks/init.lua +++ b/gloopblocks/init.lua @@ -134,36 +134,8 @@ minetest.register_node("gloopblocks:scaffolding", { tiles = {"gloopblocks_scaffold.png"},
groups = {choppy=3, oddly_breakable_by_hand=3},
sounds = default.node_sound_wood_defaults(),
- on_rightclick = function(pos, node, clicker, itemstack)
- if itemstack and itemstack:get_name() == node.name then
- for i = 1,19 do
- if minetest.get_node({x=pos.x,y=pos.y-i,z=pos.z}).name == "gloopblocks:scaffolding" and scafffound ~= 0 and scafffound ~= 1 then
- local scafffound = 1
- return itemstack
- else
- break
- end
- end
- for i = 1,19 do
- if minetest.get_node({x=pos.x,y=pos.y+i,z=pos.z}).name == "air" and scaffworked ~= 1 and scaffworked ~= 0 then
- minetest.set_node({x=pos.x,y=pos.y+i,z=pos.z}, {name="gloopblocks:scaffolding"})
- local scaffworked = 1
- return ItemStack(tostring(itemstack:get_name().." "..tostring(itemstack:get_count()-1)))
- elseif minetest.get_node({x=pos.x,y=pos.y+i,z=pos.z}).name == "gloopblocks:scaffolding" then
- else
- local scaffworked = 0
- end
- end
- if scaffworked == 1 then
- return ItemStack(tostring(itemstack:get_name().." "..tostring(itemstack:get_count()-1)))
- else
- return itemstack
- end
- else return itemstack end
- end,
})
-
minetest.register_alias("moreblocks:oerkkiblock", "gloopblocks:oerkki_block")
minetest.register_alias("gloopblocks:obsidian", "default:obsidian")
diff --git a/gloopblocks/textures/gloopblocks_rainbow_block.png b/gloopblocks/textures/gloopblocks_rainbow_block.png Binary files differindex c3553fc..3dae3ff 100644 --- a/gloopblocks/textures/gloopblocks_rainbow_block.png +++ b/gloopblocks/textures/gloopblocks_rainbow_block.png |