forked from mtcontrib/plantlife_modpack
fix sizes of various ferns and dry plants
(due to changes in how visual_scale is interpreted in the engine)
This commit is contained in:
parent
dd14b2cb04
commit
0363ed0348
|
@ -25,7 +25,7 @@ end
|
||||||
minetest.register_node("dryplants:juncus", {
|
minetest.register_node("dryplants:juncus", {
|
||||||
description = "Juncus",
|
description = "Juncus",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"dryplants_juncus_03.png"},
|
tiles = {"dryplants_juncus_03.png"},
|
||||||
inventory_image = "dryplants_juncus_inv.png",
|
inventory_image = "dryplants_juncus_inv.png",
|
||||||
|
@ -67,7 +67,7 @@ minetest.register_node("dryplants:juncus", {
|
||||||
minetest.register_node("dryplants:juncus_02", {
|
minetest.register_node("dryplants:juncus_02", {
|
||||||
description = "Juncus",
|
description = "Juncus",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"dryplants_juncus_02.png"},
|
tiles = {"dryplants_juncus_02.png"},
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
|
|
@ -125,7 +125,7 @@ minetest.register_node("dryplants:reedmace_top", {
|
||||||
minetest.register_node("dryplants:reedmace_height_2", {
|
minetest.register_node("dryplants:reedmace_height_2", {
|
||||||
description = "Reedmace, height: 2",
|
description = "Reedmace, height: 2",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"dryplants_reedmace_height_2.png"},
|
tiles = {"dryplants_reedmace_height_2.png"},
|
||||||
inventory_image = "dryplants_reedmace_top.png",
|
inventory_image = "dryplants_reedmace_top.png",
|
||||||
|
@ -148,7 +148,7 @@ minetest.register_node("dryplants:reedmace_height_2", {
|
||||||
minetest.register_node("dryplants:reedmace_height_3", {
|
minetest.register_node("dryplants:reedmace_height_3", {
|
||||||
description = "Reedmace, height: 3",
|
description = "Reedmace, height: 3",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"dryplants_reedmace_height_3.png"},
|
tiles = {"dryplants_reedmace_height_3.png"},
|
||||||
inventory_image = "dryplants_reedmace_top.png",
|
inventory_image = "dryplants_reedmace_top.png",
|
||||||
|
@ -171,7 +171,7 @@ minetest.register_node("dryplants:reedmace_height_3", {
|
||||||
minetest.register_node("dryplants:reedmace_height_3_spikes", {
|
minetest.register_node("dryplants:reedmace_height_3_spikes", {
|
||||||
description = "Reedmace, height: 3 & Spikes",
|
description = "Reedmace, height: 3 & Spikes",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"dryplants_reedmace_height_3_spikes.png"},
|
tiles = {"dryplants_reedmace_height_3_spikes.png"},
|
||||||
inventory_image = "dryplants_reedmace_top.png",
|
inventory_image = "dryplants_reedmace_top.png",
|
||||||
|
|
|
@ -25,7 +25,7 @@ local nodenames = {}
|
||||||
|
|
||||||
local function create_nodes()
|
local function create_nodes()
|
||||||
local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" }
|
local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" }
|
||||||
local vscales = { 1, 2, 2.2 }
|
local vscales = { 1, math.sqrt(8), math.sqrt(11) }
|
||||||
local descs = { "Lady-fern (Athyrium)", nil, nil }
|
local descs = { "Lady-fern (Athyrium)", nil, nil }
|
||||||
|
|
||||||
for i = 1, 3 do
|
for i = 1, 3 do
|
||||||
|
|
|
@ -104,7 +104,7 @@ end
|
||||||
minetest.register_node("ferns:tree_fern_leaves_giant", {
|
minetest.register_node("ferns:tree_fern_leaves_giant", {
|
||||||
description = "Tree Fern Crown (Dicksonia)",
|
description = "Tree Fern Crown (Dicksonia)",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = math.sqrt(8),
|
visual_scale = math.sqrt(11),
|
||||||
wield_scale = {x=0.175, y=0.175, z=0.175},
|
wield_scale = {x=0.175, y=0.175, z=0.175},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"ferns_fern_tree_giant.png"},
|
tiles = {"ferns_fern_tree_giant.png"},
|
||||||
|
|
|
@ -55,7 +55,7 @@ end
|
||||||
minetest.register_node("ferns:tree_fern_leaves", {
|
minetest.register_node("ferns:tree_fern_leaves", {
|
||||||
description = "Tree Fern Crown (Dicksonia)",
|
description = "Tree Fern Crown (Dicksonia)",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
--tiles = {"[combine:32x32:0,0=top_left.png:0,16=bottom_left.png:16,0=top_right.png:16,16=bottom_right.png"},
|
--tiles = {"[combine:32x32:0,0=top_left.png:0,16=bottom_left.png:16,0=top_right.png:16,16=bottom_right.png"},
|
||||||
|
@ -89,7 +89,7 @@ minetest.register_node("ferns:tree_fern_leaves", {
|
||||||
})
|
})
|
||||||
minetest.register_node("ferns:tree_fern_leaves_02", {
|
minetest.register_node("ferns:tree_fern_leaves_02", {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 2,
|
visual_scale = math.sqrt(8),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"ferns_fern_big.png"},
|
tiles = {"ferns_fern_big.png"},
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user