Skip to content

A simple sci-fi zone generator for the Elysium Flare RPG by Brad Murray (https://www.patreon.com/halfjack).

License

Notifications You must be signed in to change notification settings

mhglover/flarezone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlareZone

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.

Installing

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

Running

Flask

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

Passenger

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

Built With

Data Files

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.

Zone and Planet Names

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.

Fonts

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:

Contributors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

A simple sci-fi zone generator for the Elysium Flare RPG by Brad Murray (https://www.patreon.com/halfjack).

Resources

License

Stars

Watchers

Forks

Packages

No packages published