Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement