seanohue / axolemma

A tool for procedurally generating RanvierMUD areas.
MIT License
15 stars 1 forks source link

adding in logic to work with rot.js Cellular type maps #12

Open ratacat opened 5 years ago

ratacat commented 5 years ago

This adds in logic to work for Cellular type map parameters

Which you can set when calling Axolemma.generate passes = 6 //number of passes to run the Cellular growth algorithm randomize = .54 //number between 0 and 1 for the chance of each room starting out with a 'cell'

This doesn't account for several additional Cellular type parameters, I'd like to incorporate later. born: survive: topology:

seanohue commented 5 years ago

Also, it seems like this means that the Cellular type would only be usable via requireing axolemma, and not the CLI -- this is fine and CLI support for it can be added later, or I could walk you through how to do that.