Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plantslib = {}
- local DEBUG = false --... except if you want to spam the console with debugging info :-)
- plantslib.plantlife_seed_diff = 329 -- needs to be global so other mods can see it
- local perlin_octaves = 3
- local perlin_persistence = 0.6
- local perlin_scale = 100
- local temperature_seeddiff = 112
- local temperature_octaves = 3
- local temperature_persistence = 0.5
- local temperature_scale = 150
- local humidity_seeddiff = 9130
- local humidity_octaves = 3
- local humidity_persistence = 0.5
- local humidity_scale = 250
- plantslib.perlin_temperature = minetest.env:get_perlin(temperature_seeddiff, temperature_octaves, temperature_persistence, temperature_scale)
- plantslib.perlin_humidity = minetest.env:get_perlin(humidity_seeddiff, humidity_octaves, humidity_persistence, humidity_scale)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement