Guest User

Untitled

a guest
Feb 22nd, 2013
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plantslib = {}
  2.  
  3. local DEBUG = false --... except if you want to spam the console with debugging info :-)
  4.  
  5. plantslib.plantlife_seed_diff = 329 -- needs to be global so other mods can see it
  6.  
  7. local perlin_octaves = 3
  8. local perlin_persistence = 0.6
  9. local perlin_scale = 100
  10.  
  11. local temperature_seeddiff = 112
  12. local temperature_octaves = 3
  13. local temperature_persistence = 0.5
  14. local temperature_scale = 150
  15.  
  16. local humidity_seeddiff = 9130
  17. local humidity_octaves = 3
  18. local humidity_persistence = 0.5
  19. local humidity_scale = 250
  20.  
  21. plantslib.perlin_temperature = minetest.env:get_perlin(temperature_seeddiff, temperature_octaves, temperature_persistence, temperature_scale)
  22. plantslib.perlin_humidity = minetest.env:get_perlin(humidity_seeddiff, humidity_octaves, humidity_persistence, humidity_scale)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×