A simple sci-fi zone generator for the Elysium Flare RPG by Brad Murray (https://www.patreon.com/halfjack). You can see this running at http://binary-systems.net.
Pull down the source, create a virtual environment, active the virtualenv, and install the requirements.
git clone https://github.com/mhglover/flarezone.git
cd flarezone
virtualenv env
source env/bin/activate
pip install -r requirements.txt
You can develop locally by running in Flask in debug mode. Debug mode will automatically reload the application upon changes to the source.
export FLASK_APP=flarezone.py
export FLASK_DEBUG=1
python -m flask run
Browse to http://localhost:5000
We're using Passenger at Dreamhost for running at binary-systems.net. If you've got Passenger installed, you can run it with:
passenger start
Each zone type (Hub, Rim, Gulf, and each Arm) should have a YAML file in the data directory to define the characteristics to be generated for a given world in that area.
For the Proximity characteristic, I'm using an array with an integer for each category.
We're using code derived from Sayam Qazi's planet-name-generator for building zone and planet names. You can modify the planet name corpus by editing planet.txt and removing or adding planet names separated into syllables with dashes: Jupiter becomes ju-pi-ter . Planetary suffixes are defined in the generate.py script itself in the genName() method.
We're using Google Fonts because we can both include the TrueType files in the application for generating labels on the images as well as refer to Google's hosted version of the font for rendering the HTML text in your browser.
The following fonts are included:
- Matthew Harris Glover - Initial work - Twitter - @mhglover
- Andrew Codispoti - Zone Chart transcription - github
This project is licensed under the MIT License - see the LICENSE.md file for details
- Brad Murray's RPG development of Elysium Flare
- Sayam Qazi's planet-name-generator