Skip to content

Commit

Permalink
Visual scale: Update plantlike nodes to post-bugfix values
Browse files Browse the repository at this point in the history
Plantlike drawtype no longer applies 'visual scale' twice, so now we
use the actual scale factor desired.
Remove unnecessary 'visual_scale = 1.0' lines.
  • Loading branch information
paramat committed Feb 12, 2017
1 parent f6dfa4a commit 0819d4b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions mods/default/nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ minetest.register_node("default:wood", {
minetest.register_node("default:sapling", {
description = "Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_sapling.png"},
inventory_image = "default_sapling.png",
wield_image = "default_sapling.png",
Expand Down Expand Up @@ -582,7 +581,6 @@ minetest.register_node("default:leaves", {
minetest.register_node("default:apple", {
description = "Apple",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_apple.png"},
inventory_image = "default_apple.png",
paramtype = "light",
Expand Down Expand Up @@ -652,7 +650,6 @@ minetest.register_node("default:jungleleaves", {
minetest.register_node("default:junglesapling", {
description = "Jungle Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_junglesapling.png"},
inventory_image = "default_junglesapling.png",
wield_image = "default_junglesapling.png",
Expand Down Expand Up @@ -732,7 +729,6 @@ minetest.register_node("default:pine_needles",{
minetest.register_node("default:pine_sapling", {
description = "Pine Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_pine_sapling.png"},
inventory_image = "default_pine_sapling.png",
wield_image = "default_pine_sapling.png",
Expand Down Expand Up @@ -813,7 +809,6 @@ minetest.register_node("default:acacia_leaves", {
minetest.register_node("default:acacia_sapling", {
description = "Acacia Tree Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_acacia_sapling.png"},
inventory_image = "default_acacia_sapling.png",
wield_image = "default_acacia_sapling.png",
Expand Down Expand Up @@ -892,7 +887,6 @@ minetest.register_node("default:aspen_leaves", {
minetest.register_node("default:aspen_sapling", {
description = "Aspen Tree Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
tiles = {"default_aspen_sapling.png"},
inventory_image = "default_aspen_sapling.png",
wield_image = "default_aspen_sapling.png",
Expand Down Expand Up @@ -1079,7 +1073,6 @@ minetest.register_node("default:dry_shrub", {
description = "Dry Shrub",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.0,
tiles = {"default_dry_shrub.png"},
inventory_image = "default_dry_shrub.png",
wield_image = "default_dry_shrub.png",
Expand All @@ -1099,7 +1092,7 @@ minetest.register_node("default:junglegrass", {
description = "Jungle Grass",
drawtype = "plantlike",
waving = 1,
visual_scale = 1.3,
visual_scale = 1.69,
tiles = {"default_junglegrass.png"},
inventory_image = "default_junglegrass.png",
wield_image = "default_junglegrass.png",
Expand Down Expand Up @@ -1223,7 +1216,7 @@ end
minetest.register_node("default:bush_stem", {
description = "Bush Stem",
drawtype = "plantlike",
visual_scale = 1.18,
visual_scale = 1.41,
tiles = {"default_bush_stem.png"},
inventory_image = "default_bush_stem.png",
wield_image = "default_bush_stem.png",
Expand All @@ -1250,7 +1243,7 @@ minetest.register_node("default:bush_leaves", {
minetest.register_node("default:acacia_bush_stem", {
description = "Acacia Bush Stem",
drawtype = "plantlike",
visual_scale = 1.18,
visual_scale = 1.41,
tiles = {"default_acacia_bush_stem.png"},
inventory_image = "default_acacia_bush_stem.png",
wield_image = "default_acacia_bush_stem.png",
Expand Down

0 comments on commit 0819d4b

Please sign in to comment.