From 4f318a941212a174d75994d66f54dc8d67e05fce Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sun, 12 Feb 2017 11:44:46 +0000
Subject: [PATCH] amend visual_scale for plantlike nodes

---
 food.lua      |  3 ---
 leaves.lua    | 28 ++++++++++++++--------------
 plantlife.lua |  3 +--
 sapling.lua   |  1 -
 4 files changed, 15 insertions(+), 20 deletions(-)

diff --git a/food.lua b/food.lua
index 486ef70..205e4dc 100644
--- a/food.lua
+++ b/food.lua
@@ -5,7 +5,6 @@ local S = ethereal.intllib
 minetest.register_node("ethereal:banana", {
 	description = S("Banana"),
 	drawtype = "torchlike",
-	visual_scale = 1.0,
 	tiles = {"banana_single.png"},
 	inventory_image = "banana_single.png",
 	wield_image = "banana_single.png",
@@ -53,7 +52,6 @@ minetest.register_craft({
 minetest.register_node("ethereal:orange", {
 	description = S("Orange"),
 	drawtype = "plantlike",
-	visual_scale = 1.0,
 	tiles = {"farming_orange.png"},
 	inventory_image = "farming_orange.png",
 	wield_image = "farming_orange.png",
@@ -128,7 +126,6 @@ minetest.register_craftitem("ethereal:coconut_slice", {
 minetest.register_node("ethereal:golden_apple", {
 	description = S("Golden Apple"),
 	drawtype = "plantlike",
-	visual_scale = 1.0,
 	tiles = {"default_apple_gold.png"},
 	inventory_image = "default_apple_gold.png",
 	wield_image = "default_apple_gold.png",
diff --git a/leaves.lua b/leaves.lua
index 5f1c40c..0848c2a 100644
--- a/leaves.lua
+++ b/leaves.lua
@@ -11,7 +11,7 @@ end
 -- default apple tree leaves
 minetest.override_item("default:leaves", {
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	inventory_image = "default_leaves.png",
 	wield_image = "default_leaves.png",
 	walkable = ethereal.leafwalk,
@@ -20,7 +20,7 @@ minetest.override_item("default:leaves", {
 -- default jungle tree leaves
 minetest.override_item("default:jungleleaves", {
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	inventory_image = "default_jungleleaves.png",
 	wield_image = "default_jungleleaves.png",
 	walkable = ethereal.leafwalk,
@@ -29,7 +29,7 @@ minetest.override_item("default:jungleleaves", {
 -- default pine tree leaves
 minetest.override_item("default:pine_needles", {
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	inventory_image = "default_pine_needles.png",
 	wield_image = "default_pine_needles.png",
 	walkable = ethereal.leafwalk,
@@ -49,7 +49,7 @@ minetest.override_item("default:acacia_leaves", {
 --	tiles = {"moretrees_acacia_leaves.png"},
 	inventory_image = "default_acacia_leaves.png",
 	wield_image = "default_acacia_leaves.png",
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	walkable = ethereal.leafwalk,
 })
 
@@ -58,7 +58,7 @@ minetest.override_item("default:aspen_leaves", {
 	drawtype = leaftype,
 	inventory_image = "default_aspen_leaves.png",
 	wield_image = "default_aspen_leaves.png",
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	walkable = ethereal.leafwalk,
 })
 
@@ -71,7 +71,7 @@ minetest.register_node("ethereal:willow_twig", {
 	wield_image = "willow_twig.png",
 	paramtype = "light",
 	walkable = ethereal.leafwalk,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	waving = 1,
 	groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
 	drop = {
@@ -89,7 +89,7 @@ minetest.register_node("ethereal:willow_twig", {
 minetest.register_node("ethereal:redwood_leaves", {
 	description = S("Redwood Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"redwood_leaves.png"},
 	inventory_image = "redwood_leaves.png",
 	wield_image = "redwood_leaves.png",
@@ -112,7 +112,7 @@ minetest.register_node("ethereal:redwood_leaves", {
 minetest.register_node("ethereal:orange_leaves", {
 	description = S("Orange Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"orange_leaves.png"},
 	inventory_image = "orange_leaves.png",
 	wield_image = "orange_leaves.png",
@@ -135,7 +135,7 @@ minetest.register_node("ethereal:orange_leaves", {
 minetest.register_node("ethereal:bananaleaves", {
 	description = S("Banana Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"banana_leaf.png"},
 	inventory_image = "banana_leaf.png",
 	wield_image = "banana_leaf.png",
@@ -158,7 +158,7 @@ minetest.register_node("ethereal:bananaleaves", {
 minetest.register_node("ethereal:yellowleaves", {
 	description = S("Healing Tree Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"yellow_leaves.png"},
 	inventory_image = "yellow_leaves.png",
 	wield_image = "yellow_leaves.png",
@@ -184,7 +184,7 @@ minetest.register_node("ethereal:yellowleaves", {
 minetest.register_node("ethereal:palmleaves", {
 	description = S("Palm Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"moretrees_palm_leaves.png"},
 	inventory_image = "moretrees_palm_leaves.png",
 	wield_image = "moretrees_palm_leaves.png",
@@ -207,7 +207,7 @@ minetest.register_node("ethereal:palmleaves", {
 minetest.register_node("ethereal:birch_leaves", {
 	description = S("Birch Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"moretrees_birch_leaves.png"},
 	inventory_image = "moretrees_birch_leaves.png",
 	wield_image = "moretrees_birch_leaves.png",
@@ -230,7 +230,7 @@ minetest.register_node("ethereal:birch_leaves", {
 minetest.register_node("ethereal:frost_leaves", {
 	description = S("Frost Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"ethereal_frost_leaves.png"},
 	inventory_image = "ethereal_frost_leaves.png",
 	wield_image = "ethereal_frost_leaves.png",
@@ -254,7 +254,7 @@ minetest.register_node("ethereal:frost_leaves", {
 minetest.register_node("ethereal:bamboo_leaves", {
 	description = S("Bamboo Leaves"),
 	drawtype = leaftype,
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"bamboo_leaves.png"},
 	inventory_image = "bamboo_leaves.png",
 	wield_image = "bamboo_leaves.png",
diff --git a/plantlife.lua b/plantlife.lua
index d0eafd7..8292d81 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -118,7 +118,7 @@ minetest.register_craft({
 minetest.register_node("ethereal:fern", {
 	description = S("Fern"),
 	drawtype = "plantlike",
-	visual_scale = 1.2,
+	visual_scale = 1.4,
 	tiles = {"fern.png"},
 	inventory_image = "fern.png",
 	wield_image = "fern.png",
@@ -153,7 +153,6 @@ minetest.register_craftitem("ethereal:fern_tubers", {
 minetest.register_node("ethereal:dry_shrub", {
 	description = S("Fiery Dry Shrub"),
 	drawtype = "plantlike",
-	visual_scale = 1.0,
 	tiles = {"ethereal_dry_shrub.png"},
 	inventory_image = "ethereal_dry_shrub.png",
 	wield_image = "ethereal_dry_shrub.png",
diff --git a/sapling.lua b/sapling.lua
index 3d0f24d..b8e3732 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -30,7 +30,6 @@ ethereal.register_sapling = function(name, desc, texture, height)
 	minetest.register_node(name .. "_sapling", {
 		description = S(desc .. " Tree Sapling"),
 		drawtype = "plantlike",
-		visual_scale = 1.0,
 		tiles = {texture .. ".png"},
 		inventory_image = texture .. ".png",
 		wield_image = texture .. ".png",
-- 
GitLab