diff options
author | cheapie <no-email-for-you@example.com> | 2024-09-14 16:27:59 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-09-14 16:27:59 -0500 |
commit | fa911813dbca08c78327ca5403331f4cd6c89d99 (patch) | |
tree | fce2f8800e091d091514d24016d69d1107234b14 /init.lua | |
parent | 8af241857746c227bd7194bd5b42cea6a6d3d983 (diff) | |
download | prefab_redo-master.tar prefab_redo-master.tar.gz prefab_redo-master.tar.bz2 prefab_redo-master.tar.xz prefab_redo-master.zip |
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -60,7 +60,6 @@ minetest.register_node("prefab_redo:concrete_wall", { end end, on_destruct = function(pos) - local node = minetest.get_node(pos) local pos_above = {x = pos.x,y = pos.y + 1,z = pos.z} local node_above = minetest.get_node(pos_above) if node_above.name == "prefab_redo:concrete_wall_upper" then @@ -88,7 +87,6 @@ minetest.register_node("prefab_redo:concrete_wall_upper", { }, connects_to = {"prefab_redo:concrete_wall","prefab_redo:concrete_wall_upper"}, on_destruct = function(pos) - local node = minetest.get_node(pos) local pos_above = {x = pos.x,y = pos.y + 1,z = pos.z} local node_above = minetest.get_node(pos_above) if node_above.name == "prefab_redo:concrete_wall_upper" then @@ -161,9 +159,9 @@ minetest.register_node("prefab_redo:concrete_catwalk",{ node_box = { type = "fixed", fixed = { - {-0.5,-0.5,-0.5,0.5,-0.375,0.5}, - {-0.5,-0.5,-0.0625,-0.4375,0.5,0.0625}, - {0.4433,-0.5,-0.0625,0.5,0.5,0.0625}, + {-0.5,-0.5,-0.5,0.5,-0.375,0.5}, + {-0.5,-0.5,-0.0625,-0.4375,0.5,0.0625}, + {0.4433,-0.5,-0.0625,0.5,0.5,0.0625}, {0.4433,0.4485,-0.5,0.5,0.5,0.5}, {-0.5,0.4485,-0.5,-0.4375,0.5,0.5}, }, @@ -180,8 +178,8 @@ minetest.register_node("prefab_redo:concrete_bench", { node_box = { type = "fixed", fixed = { - {-0.125,-0.5,-0.125,0.125,0.0625,0.125}, - {-0.5,0.0625,-0.3125,0.5,0.1875,0.3125}, + {-0.125,-0.5,-0.125,0.125,0.0625,0.125}, + {-0.5,0.0625,-0.3125,0.5,0.1875,0.3125}, }, }, groups = {cracky = 2}, |