summaryrefslogtreecommitdiff
path: root/extra.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-04-10 15:38:53 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-04-10 15:38:53 +0100
commit7d5b162ae9c7942bc21725bd310b46ebe8e4e4a2 (patch)
tree897e5de62611c8d8cea46219960744a7c0da7fb3 /extra.lua
parentefd4ab247c4fa11921bf0a65b61a432e674600e4 (diff)
tidied & optimized code
Diffstat (limited to 'extra.lua')
-rw-r--r--extra.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/extra.lua b/extra.lua
index 57281fe..6139ac1 100644
--- a/extra.lua
+++ b/extra.lua
@@ -12,9 +12,6 @@ minetest.register_node("ethereal:vine", {
is_ground_content = false,
selection_box = {
type = "wallmounted",
- --wall_top = = <default>
- --wall_bottom = = <default>
- --wall_side = = <default>
},
groups = {choppy=3, oddly_breakable_by_hand=1},
legacy_wallmounted = true,
@@ -44,9 +41,6 @@ minetest.register_node("ethereal:stone_ladder", {
is_ground_content = false,
selection_box = {
type = "wallmounted",
- --wall_top = = <default>
- --wall_bottom = = <default>
- --wall_side = = <default>
},
groups = {cracky=3, oddly_breakable_by_hand=1},
legacy_wallmounted = true,
@@ -310,10 +304,10 @@ minetest.register_craft({
minetest.register_on_generated(function(minp, maxp, seed)
local coal_nodes = minetest.find_nodes_in_area(minp, maxp, "default:stone_with_coal")
-
+ local bpos
for key, pos in pairs(coal_nodes) do
- local bpos = { x=pos.x, y=pos.y + 1, z=pos.z }
+ bpos = { x=pos.x, y=pos.y + 1, z=pos.z }
if minetest.get_node(bpos).name == "air" then
if bpos.y > -3000 and bpos.y < -2000 then