mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-05 09:50:27 +01:00
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:
parent
e2794f71f4
commit
af7aaca77a
|
@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
|
||||||
local spawn_chance = 100 -- 100
|
local spawn_chance = 100 -- 100
|
||||||
local grow_delay = 1000 -- 1000
|
local grow_delay = 1000 -- 1000
|
||||||
local grow_chance = 10 -- 10
|
local grow_chance = 10 -- 10
|
||||||
|
local flowers_seed_diff = plantlife_seed_diff
|
||||||
|
|
||||||
local flowers_list = {
|
local flowers_list = {
|
||||||
{ "Rose", "rose", spawn_delay, 10, spawn_chance , 10},
|
{ "Rose", "rose", spawn_delay, 10, spawn_chance , 10},
|
||||||
|
|
|
@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
|
||||||
local spawn_chance = 100 -- 100
|
local spawn_chance = 100 -- 100
|
||||||
local grow_delay = 1000 -- 1000
|
local grow_delay = 1000 -- 1000
|
||||||
local grow_chance = 10 -- 10
|
local grow_chance = 10 -- 10
|
||||||
|
local junglegrass_seed_diff = plantlife_seed_diff
|
||||||
|
|
||||||
local grasses_list = {
|
local grasses_list = {
|
||||||
{"junglegrass:shortest","junglegrass:short" },
|
{"junglegrass:shortest","junglegrass:short" },
|
||||||
|
|
|
@ -12,19 +12,16 @@
|
||||||
|
|
||||||
-- Various settings - most of these probably won't need to be changed
|
-- 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_octaves = 3
|
||||||
local perlin_persistence = 0.2
|
local perlin_persistence = 0.6
|
||||||
local perlin_scale = 25
|
local perlin_scale = 100
|
||||||
|
|
||||||
local plantlife_limit = 0.1 -- compared against perlin noise. lower = more abundant
|
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
|
-- Local functions
|
||||||
|
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
|
@ -4,6 +4,7 @@ local spawn_delay = 2000 -- 2000
|
||||||
local spawn_chance = 100 -- 100
|
local spawn_chance = 100 -- 100
|
||||||
local grow_delay = 1000 -- 1000
|
local grow_delay = 1000 -- 1000
|
||||||
local grow_chance = 10 -- 10
|
local grow_chance = 10 -- 10
|
||||||
|
local poisonivy_seed_diff = plantlife_seed_diff + 10
|
||||||
|
|
||||||
local verticals_list = {
|
local verticals_list = {
|
||||||
"default:dirt",
|
"default:dirt",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user