Author Topic: side-project  (Read 12854 times)

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: side-project
« Reply #15: March 30, 2012, 01:26:47 AM »
And a final update (hey, it's the next day over here, technically speaking!):

The script now generates metal deposits and calculates wood and food yields. Metal depends on some perlin noise and the terrain height (i.e. much more common in mountains). Wood depends on some noise and the biome, mostly (obviously, forests yield lots of wood, the other types not so much). Food depends on the biome, some noise and the moisture.

In addition, the script now stores which places are on a coast and which ones are on a river, so it knows which ones have access to the sea, or could build a harbor, etc. I don't yet incorporate fishing into the food calculations.