diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-10 09:48:20 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-02-10 09:48:20 -0500 |
commit | f83f167d18843517a3751cacdb00ebd3393a2183 (patch) | |
tree | bc059e8f61a2e81ca398e4ec3d20242e619c6d77 | |
parent | 471a11f92dcdf9f78ce25268fbcaaa627907b257 (diff) |
adapt plantlike leaves' scale for current engine
-rw-r--r-- | node_defs.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_defs.lua b/node_defs.lua index e5f8127..16b979f 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -31,7 +31,7 @@ local moretrees_plantlike_leaves_visual_scale = 1 if moretrees.plantlike_leaves then moretrees_new_leaves_drawtype = "plantlike" - moretrees_plantlike_leaves_visual_scale = 1.189 + moretrees_plantlike_leaves_visual_scale = math.sqrt(2) end -- redefine default leaves to handle plantlike and/or leaf decay options @@ -40,7 +40,7 @@ if moretrees.plantlike_leaves then minetest.override_item("default:leaves", { inventory_image = minetest.inventorycube("default_leaves.png"), drawtype = "plantlike", - visual_scale = 1.189 + visual_scale = math.sqrt(2) }) else minetest.override_item("default:leaves", { @@ -54,7 +54,7 @@ if moretrees.plantlike_leaves then minetest.override_item("default:jungleleaves", { inventory_image = minetest.inventorycube("default_jungleleaves.png"), drawtype = "plantlike", - visual_scale = 1.189 + visual_scale = math.sqrt(2) }) else minetest.override_item("default:jungleleaves", { |