1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-12 13:20:39 +01:00

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
parent abdf76566a
commit 655cff9f76
3 changed files with 1 additions and 34 deletions

View File

@ -101,32 +101,6 @@ minetest.register_node("ferns:fern_01", {
-----------------------------------------------------------------------------------------------
-- 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)

View File

@ -98,8 +98,6 @@ minetest.register_node("ferns:tree_fern_leafs_giant", {
visual_scale = math.sqrt(8),
wield_scale = {x=0.175, y=0.175, z=0.175},
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"},
inventory_image = "ferns_fern_tree.png",
walkable = false,
@ -299,10 +297,6 @@ if abstract_ferns.config.Giant_Tree_Ferns_in_Jungle == true then
near_nodes_vertical = 2,--4,
near_nodes_count = 1,
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
)

View File

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