summaryrefslogtreecommitdiff
path: root/castle/rope.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-20 13:13:20 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-20 13:13:20 -0400
commit56c6604e85994d0a6e993695c718f9086a3d014e (patch)
treeb6e5890d8cd45057be551279c3caacf133df8a66 /castle/rope.lua
parent2368b5c948c971cd6899393b00cb3a8c51f4e006 (diff)
downloaddreambuilder_modpack-56c6604e85994d0a6e993695c718f9086a3d014e.tar
dreambuilder_modpack-56c6604e85994d0a6e993695c718f9086a3d014e.tar.gz
dreambuilder_modpack-56c6604e85994d0a6e993695c718f9086a3d014e.tar.bz2
dreambuilder_modpack-56c6604e85994d0a6e993695c718f9086a3d014e.tar.xz
dreambuilder_modpack-56c6604e85994d0a6e993695c718f9086a3d014e.zip
updated several mods:
blox, bobblocks, castle, digilines, home decor, mesecons, pipeworks, and quartz
Diffstat (limited to 'castle/rope.lua')
-rw-r--r--castle/rope.lua79
1 files changed, 40 insertions, 39 deletions
diff --git a/castle/rope.lua b/castle/rope.lua
index 23ebea8..1141913 100644
--- a/castle/rope.lua
+++ b/castle/rope.lua
@@ -31,15 +31,15 @@ minetest.register_craft({
})
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,
+ 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 = {
@@ -52,44 +52,44 @@ minetest.register_node("castle:box_rope", {
{-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,
+ 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},
+ 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},
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},
+ {-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},
+ {-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,
+ 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({
@@ -98,7 +98,7 @@ minetest.register_abm({
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"})
+ minetest.add_node({x=pos.x,y=pos.y-1,z=pos.z}, {name="castle:box_rope"})
end
})
@@ -108,7 +108,7 @@ minetest.register_abm({
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"})
+ minetest.add_node({x=pos.x,y=pos.y-1,z=pos.z}, {name="castle:box_rope"})
end
})
@@ -119,3 +119,4 @@ minetest.register_craft({
{"castle:ropes"},
}
})
+