Removed obsolete or useless code

Some commented code makes no sense because there is not comment as to why it's commented out. Removed.
This commit is contained in:
Craig Robbins 2014-08-20 20:37:48 +10:00 committed by Vanessa Ezekowitz
parent d0d839df15
commit 2b320a11cd
3 changed files with 1 additions and 34 deletions

View File

@ -101,32 +101,6 @@ minetest.register_node("ferns:fern_01", {
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- Spawning -- Spawning
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
--[[plantslib:spawn_on_surfaces({
spawn_delay = 1200,
spawn_plants = {"ferns:fern"},
spawn_chance = 800,
spawn_surfaces = {
"default:dirt_with_grass",
"default:mossycobble",
"dryplants:grass_short",
"default:jungletree",
"stoneage:grass_with_silex"
},
seed_diff = 329,
})
plantslib:spawn_on_surfaces({
spawn_delay = 1200,
spawn_plants = {"ferns:fern_mid"},
spawn_chance = 400,
spawn_surfaces = {
"default:dirt_with_grass",
"default:mossycobble",
"dryplants:grass_short",
"default:jungletree",
"stoneage:grass_with_silex"
},
seed_diff = 329,
})]]
assert(abstract_ferns.config.Lady_fern == true) assert(abstract_ferns.config.Lady_fern == true)

View File

@ -98,8 +98,6 @@ minetest.register_node("ferns:tree_fern_leafs_giant", {
visual_scale = math.sqrt(8), visual_scale = math.sqrt(8),
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",
--paramtype2 = "facedir",
--tiles = {"[combine:"..TSS..T1.."ferns_5.png"..T2.."ferns_6.png"..T3.."ferns_7.png"..T4.."ferns_8.png^[transformFX^[combine:"..TSS..T1.."ferns_5.png"..T2.."ferns_6.png"..T3.."ferns_7.png"..T4.."ferns_8.png"},
tiles = {"ferns_fern_tree_giant.png"}, tiles = {"ferns_fern_tree_giant.png"},
inventory_image = "ferns_fern_tree.png", inventory_image = "ferns_fern_tree.png",
walkable = false, walkable = false,
@ -299,10 +297,6 @@ if abstract_ferns.config.Giant_Tree_Ferns_in_Jungle == true then
near_nodes_vertical = 2,--4, near_nodes_vertical = 2,--4,
near_nodes_count = 1, near_nodes_count = 1,
plantlife_limit = -0.9, plantlife_limit = -0.9,
--humidity_max = 0.39,--1.0,
--humidity_min = 0.5,
--temp_max = -1,-- -1.2,-- -0.5, -- ~ 55C
--temp_min = -0.35,-- -0.07, -- ~ 25C
}, },
abstract_ferns.grow_giant_tree_fern abstract_ferns.grow_giant_tree_fern
) )

View File

@ -197,8 +197,7 @@ if abstract_ferns.config.Tree_Ferns_in_Jungle == true then
surface = { surface = {
"default:dirt_with_grass", "default:dirt_with_grass",
"default:sand", "default:sand",
"default:desert_sand"--, "default:desert_sand",
--"dryplants:grass_short"
}, },
max_count = 35,--27, max_count = 35,--27,
avoid_nodes = {"default:tree"}, avoid_nodes = {"default:tree"},