From 27156fdd71f6d2f50723c892c62570e7b8f08f43 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Wed, 20 Aug 2014 21:51:32 +1000 Subject: [PATCH] derp --- ferns/gianttreefern.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ferns/gianttreefern.lua b/ferns/gianttreefern.lua index 09fa613..b90323d 100644 --- a/ferns/gianttreefern.lua +++ b/ferns/gianttreefern.lua @@ -63,7 +63,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos) minetest.set_node({x = pos.x, y = pos.y + i, z = pos.z}, {name="ferns:fern_trunk_big"}) end minetest.set_node({x = pos.x, y = pos.y + size-2, z = pos.z}, {name="ferns:fern_trunk_big_top"}) - minetest.set_node({x = pos.x, y = pos.y + size-1, z = pos.z}, {name="ferns:tree_fern_leafs_giant"}) + minetest.set_node({x = pos.x, y = pos.y + size-1, z = pos.z}, {name="ferns:tree_fern_leaves_giant"}) -- all the checking for air below is to prevent some ugly bugs (incomplete trunks of neighbouring trees), it's a bit slower, but worth the result @@ -76,7 +76,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos) -- add leaves so long as the destination nodes are air for j = 1, 3 do if minetest.get_node(positions[j]).name == "air" then - minetest.set_node(positions[j], {name="ferns:tree_fern_leaf_big"}) + minetest.set_node(positions[j], {name="ferns:tree_fern_leaves_big"}) else endpos = j break @@ -84,7 +84,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos) end -- add the terminating leaf if required and possible if endpos == 4 and minetest.get_node(positions[endpos]).name == "air" then - minetest.set_node(positions[endpos], {name="ferns:tree_fern_leaf_big_end", param2=rot}) + minetest.set_node(positions[endpos], {name="ferns:tree_fern_leaves_big_end", param2=rot}) end end end @@ -92,7 +92,7 @@ end ----------------------------------------------------------------------------------------------- -- GIANT TREE FERN LEAVES ----------------------------------------------------------------------------------------------- -minetest.register_node("ferns:tree_fern_leafs_giant", { +minetest.register_node("ferns:tree_fern_leaves_giant", { description = "Tree Fern Crown (Dicksonia)", drawtype = "plantlike", visual_scale = math.sqrt(8), @@ -115,7 +115,7 @@ minetest.register_node("ferns:tree_fern_leafs_giant", { rarity = 40, }, { - items = {"ferns:tree_fern_leafs_giant"}, + items = {"ferns:tree_fern_leaves_giant"}, } } }, @@ -128,7 +128,7 @@ minetest.register_node("ferns:tree_fern_leafs_giant", { ----------------------------------------------------------------------------------------------- -- GIANT TREE FERN LEAVE PART ----------------------------------------------------------------------------------------------- -minetest.register_node("ferns:tree_fern_leaf_big", { +minetest.register_node("ferns:tree_fern_leave_big", { description = "Giant Tree Fern Leaves", drawtype = "raillike", paramtype = "light", @@ -149,7 +149,7 @@ minetest.register_node("ferns:tree_fern_leaf_big", { ----------------------------------------------------------------------------------------------- -- GIANT TREE FERN LEAVE END ----------------------------------------------------------------------------------------------- -minetest.register_node("ferns:tree_fern_leaf_big_end", { +minetest.register_node("ferns:tree_fern_leave_big_end", { description = "Giant Tree Fern Leave End", drawtype = "nodebox", paramtype = "light",