moved perlin seeddiff settings to respective mods' init.lua's, tweaked default

perlin values to be the same as used in the game's mapgen for spawning dry
shrubs and jungle grass, so that jungle grass mod will replenish the game's
biomes.
This commit is contained in:
Vanessa Ezekowitz 2013-01-04 18:56:09 -05:00
parent e2794f71f4
commit af7aaca77a
4 changed files with 8 additions and 8 deletions

View File

@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
local spawn_chance = 100 -- 100
local grow_delay = 1000 -- 1000
local grow_chance = 10 -- 10
local flowers_seed_diff = plantlife_seed_diff
local flowers_list = {
{ "Rose", "rose", spawn_delay, 10, spawn_chance , 10},

View File

@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
local spawn_chance = 100 -- 100
local grow_delay = 1000 -- 1000
local grow_chance = 10 -- 10
local junglegrass_seed_diff = plantlife_seed_diff
local grasses_list = {
{"junglegrass:shortest","junglegrass:short" },

View File

@ -12,19 +12,16 @@
-- Various settings - most of these probably won't need to be changed
local plantlife_debug = true -- ...unless you want the modpack to spam the console ;-)
plantlife_seed_diff = 329 -- needs to be global so other mods can see it
local plantlife_debug = false -- ...unless you want the modpack to spam the console ;-)
local plantlife_seed_diff = 123
local perlin_octaves = 3
local perlin_persistence = 0.2
local perlin_scale = 25
local perlin_persistence = 0.6
local perlin_scale = 100
local plantlife_limit = 0.1 -- compared against perlin noise. lower = more abundant
local flowers_seed_diff = plantlife_seed_diff
local junglegrass_seed_diff = plantlife_seed_diff + 10
local poisonivy_seed_diff = plantlife_seed_diff + 10
-- Local functions
math.randomseed(os.time())

View File

@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
local spawn_chance = 100 -- 100
local grow_delay = 1000 -- 1000
local grow_chance = 10 -- 10
local poisonivy_seed_diff = plantlife_seed_diff + 10
local verticals_list = {
"default:dirt",