scionaltera / agony-engine

A modern, web based, procedurally generated MUD.
https://agonyengine.com
MIT License
17 stars 5 forks source link

Fractal Biome Map #172

Closed scionaltera closed 5 years ago

scionaltera commented 5 years ago

This branch makes a couple of fundamental changes to how the world works in the Agony Engine.

Each room within the world can have its biome computed independently, and the result will always be the same so the value doesn't need to be stored.

The biome by itself does not contribute to the room description and will ultimately be more or less invisible to the players. In the current code it does nothing but change the room name.

Going forward biomes will be used to determine which plants and animals like to live in that room because it can be used to derive a lot of information about the climate in that area: general temperature range, availability of water, average elevation, etc. Room descriptions, on the other hand, are specific and detailed rather than general. The biome will determine which things want to be in the room, but the description will be built from the things that are actually present in the room.