summaryrefslogtreecommitdiff
path: root/plantlife.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-21 21:23:13 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-21 21:23:13 +0000
commita9f3896ae764f6fa48472b987ac3b33a50b48b78 (patch)
tree39087a4d07fdbed58086b73682872b06e395d044 /plantlife.lua
parent1ba21217a2882221d6763eebe12f96767dc27a13 (diff)
selection boxes updated thanks to RQWorldblender
Diffstat (limited to 'plantlife.lua')
-rw-r--r--plantlife.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/plantlife.lua b/plantlife.lua
index bf86d5a..d0eafd7 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -18,7 +18,7 @@ minetest.register_node("ethereal:fire_flower", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 1 / 2, 5 / 16},
},
on_punch = function(pos, node, puncher)
@@ -138,7 +138,7 @@ minetest.register_node("ethereal:fern", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16},
},
})
@@ -166,7 +166,7 @@ minetest.register_node("ethereal:dry_shrub", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16},
},
})
@@ -187,7 +187,7 @@ minetest.register_node("ethereal:snowygrass", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16},
},
})
@@ -208,7 +208,7 @@ minetest.register_node("ethereal:crystalgrass", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16},
},
})
@@ -251,7 +251,7 @@ minetest.register_node("ethereal:illumishroom", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
+ fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
})
@@ -269,7 +269,7 @@ minetest.register_node("ethereal:illumishroom2", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
+ fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
})
@@ -287,6 +287,6 @@ minetest.register_node("ethereal:illumishroom3", {
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
+ fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16},
},
})