diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-18 06:53:09 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-18 06:53:09 -0400 |
commit | b9d06746405f8d0b7f82101da689b33cde8429e8 (patch) | |
tree | 495c63c50d1858bc1ece2f0fec2f738417bc620f /castle/rope.lua | |
parent | 907e8bf6a64215a516fdf16869dd81248aeaa2f6 (diff) | |
download | dreambuilder_modpack-b9d06746405f8d0b7f82101da689b33cde8429e8.tar dreambuilder_modpack-b9d06746405f8d0b7f82101da689b33cde8429e8.tar.gz dreambuilder_modpack-b9d06746405f8d0b7f82101da689b33cde8429e8.tar.bz2 dreambuilder_modpack-b9d06746405f8d0b7f82101da689b33cde8429e8.tar.xz dreambuilder_modpack-b9d06746405f8d0b7f82101da689b33cde8429e8.zip |
update blox, bobblocks, coloredwood, technic, homedecor, ilights, stainedglass, unifiedbricks, unified dyes
also contains updates to castle modpack's tapestries that hasn't hit the official castle modpack yet.
removed redundant castle mod (should have been deleted when DB switched to the modpack one)
Diffstat (limited to 'castle/rope.lua')
-rw-r--r-- | castle/rope.lua | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/castle/rope.lua b/castle/rope.lua deleted file mode 100644 index 8c7b73e..0000000 --- a/castle/rope.lua +++ /dev/null @@ -1,124 +0,0 @@ -minetest.register_node("castle:ropes",{ - description = "Rope", - drawtype = "nodebox", - sunlight_propagates = true, - tiles = {"castle_ropes.png"}, - groups = {choppy=3,snappy=3,oddly_breakable_by_hand=3,flammable=1}, - sounds = default.node_sound_defaults(), - paramtype = "light", - climbable = true, - walkable = false, - node_box = { - type = "fixed", - fixed = { - {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, - }, - }, -}) - -minetest.register_craft({ - output = "castle:ropes", - recipe = { - {"farming:string"}, - {"farming:string"}, - {"farming:string"}, - } -}) - -minetest.register_node("castle:box_rope", { - description = "Rope from Ropebox", - drawtype = "nodebox", - paramtype = "light", - sunlight_propagates = true, - tiles = {"castle_ropes.png"}, - groups = {not_in_creative_inventory=1}, - climbable = true, - walkable = false, - diggable = false, - node_box = { - type = "fixed", - fixed = { - {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, - }, - }, - after_destruct = function(pos,oldnode) - local node = minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}) - if node.name == "castle:box_rope" then - minetest.remove_node({x=pos.x,y=pos.y-1,z=pos.z}) - end - end, -}) - -minetest.register_node("castle:ropebox", { - description = "Ropebox", - drawtype = "nodebox", - sunlight_propagates = true, - tiles = {"castle_ropebox_top.png", - "castle_ropebox_top.png", - "castle_ropebox_side_1.png", - "castle_ropebox_side_1.png", - "castle_ropebox_side_2.png", - "castle_ropebox_side_2.png"}, - paramtype = "light", - paramtype2 = "facedir", - groups = {choppy=3}, - sounds = default.node_sound_defaults(), - node_box = { - type = "fixed", - fixed = { - {-2/16, -2/16, -4/16, 2/16, 2/16, 4/16}, - {-2/16, -4/16, -2/16, 2/16, 4/16, 2/16}, - {-2/16, -3/16, -3/16, 2/16, 3/16, 3/16}, - {-3/16, -2/16, -2/16, -2/16, 8/16, 2/16}, - {2/16, -2/16, -2/16, 3/16, 8/16, 2/16}, - {-1/16, -8/16, -1/16, 1/16, -4/16, 1/16}, - }, - }, - after_destruct = function(pos,oldnode) - local node = minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}) - if node.name == "castle:box_rope" then - minetest.remove_node({x=pos.x,y=pos.y-1,z=pos.z}) - end - end, -}) - -minetest.register_abm({ - nodenames = {"castle:ropebox"}, - interval = 1, - chance = 1, - action = function(pos, node) - if minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}).name ~= 'air' then return end - minetest.add_node({x=pos.x,y=pos.y-1,z=pos.z}, {name="castle:box_rope"}) - end -}) - -minetest.register_abm({ - nodenames = {"castle:box_rope"}, - interval = 1, - chance = 1, - action = function(pos, node) - if minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}).name ~= 'air' then return end - minetest.add_node({x=pos.x,y=pos.y-1,z=pos.z}, {name="castle:box_rope"}) - end -}) - -minetest.register_craft({ - output = "castle:ropebox", - recipe = { - {"default:wood"}, - {"castle:ropes"}, - } -}) - |