A Universe and World Creation Script for Mongoose Traveller 2nd Edition

- Tabletop RPGs, Programming

Spaceship flying over active volcanoes

The following is a Python script developed by yours truly to generate a sector according to the core rulebook of the Mongoose Traveller 2nd Edition tabletop RPG, exactly as described in the Universe and World Creation chapter. It is designed to describe worlds in human-readable format as much as possible, without any confusing abbreviations.

The script assumes that you are already familiar with the Universe and World Creation rules, and requires reference to them to configure the script to your liking and complete the creation process.

Special thanks to Matthew Sprange of Mongoose Publishing for giving me written permission to publish portions of his work in my script for non-commercial purposes! Note that due to this limited permission, I am releasing my code under a custom non-commercial license, which you can read in the header of the Python script.

Download

MGT2WorldAndUniverseCreation.py

Usage

First, install Python 3 if it is not already installed on your system.

Next, open MGT2WorldAndUniverseCreation.py in a text editor, and change the constants at the top of the file to the desired values. Each element in each array correspond to a specific subsector. Note that by default, each subsector has a normal density of systems, a 5% probability for systems to be located at a hot edge, a 5% probability for systems to be located at a cold edge, and a 10% probability for systems with an unusual atmosphere to be panthalassic.

Then, run:

python MGT2WorldAndUniverseCreation.py > Sector.txt

Finally, follow the instructions at the bottom of the generated text file to manually complete the process.

Notes

Related articles I wrote

Medusa in fiery scenery

Deep Learning in Python With PyTorch - Tutorial and Demo

- Programming, Mathematics

As I am continuing my personal journey into deep learning research and development, I wanted to try out PyTorch, a machine learning framework with GPU acceleration primarily designed for the Python programming language. However, I couldn't find any good introductory resource online for it. So I read…

PARANOIA: Troubleshooters book cover snippet

Creating a Paranoia 25th Anniversary Edition Character Sheet for Roll20

- Tabletop RPGs

I'm a big fan of the Paranoia 25th Anniversary Edition comedy tabletop RPG, and I regularly act as a game master for that game on Roll20 with my regular play group in-between other tabletop RPG campaigns. However, there wasn't any good character sheet for that game system on Roll20, so I decided to…

Dusty light bulb lying on the floor

Stop! Your Ideas Are Stale!

- Business, Programming

"Everything must be done now. Let's re-use existing proven solutions and build over them so we don't waste time." And thus, people will look at the top 2 or 3 most popular solutions they already know about or can easily find on the Internet, compare them, pick the best one, and maybe add or change…

City numerically connected to computers

Free Quantum Programming on the IBM Q Experience

- Programming, Mathematics

You can now watch yours truly explain the basics of quantum programming and how to execute a custom quantum program on the IBM Q Experience in less than 10 minutes! The following video summarizes my very first blog post Quantum Programming 101 in a dynamic format and apprends to it a real-time…

Flag of Prosperia

Prosperia - A Tabletop RPG Prototype For My Coworkers

- Tabletop RPGs, Game Design, Anecdotes

I'm a big fan of role-playing video games, especially Japanese-style ones, but there's a big restriction these games have: players have limited abilities to create their own stories in them due to programming restrictions. When I discovered tabletop role-playing games, having this restriction lifted…

See all of my articles