I’ve created a little python script for working with the Alien RPG map. It just calculates the distance between star systems based on the included Data sheet. See also a Readme in there.
CONTENTS OF README:
WARRANTY
There is none. I’m not a programmer. I’m just a geek bored in Lockdown due to the Coronavirus. Real programmers may mock me for my extensive comments and my poor syntax or programming discipline. I do not care. You run this at your own risk.
USAGE
This is a python3 script that I’ve tested on Linux and macOS systems.
It pulls data from a slightly modified version of the AlienStarChart.csv.
I launch it with
$ python3 muther6000.py
There may be some issues on Windows with line endings/carriage returns.
SAMPLE OUTPUT
# # # # # ####### # # # # # ######
## ## # # # # # # # # # # #
# # # # # # # # # # # # # # #
# # # # # # # ####### # # # ######
# # # # # # # # # # # # #
# # # # # # # # # # # # #
# # ##### # # # # # ##### # #
Enter Authorisation Code: DALLAS
Welcome user DALLAS
Enter your current location: HD10180
Current location HD10180 confirmed.
HD10180 is in the Trailward-Coreward quadrant
Enter your destination: 78 NU CETI
Destination 78 NU CETI confirmed
78 NU CETI is in the Spinward-Rimward quadrant
PILOT NOTE: 78 NU CETI is affiliated with UA.
Other notes may be available: Myssa 340, Tanburo Station.
Calculating trajectory...
The distance is 34.67 parsecs.
(113.02 light years)
VERSION INFO
Version 0.1 – HUDSON
This version reports a little of the data from the files as well as calculating the distance between two stars in parsecs and light years. It uses data culled from the ALIEN map.
Version 0.2 – HICKS
- The auth code will actually work. At the moment it’s just decoration. Even when it works, it’s just decoration.
- A menu system allowing for more parameters and searches will be made available
- For instance, a destination search showing all systems within X parsecs.
- Wouldn’t that be useful.
- Maybe a question at the start asking for the FTL rating of the ship. So it can report the travel time in days (or plugging all of the FTL ship data into a file would be easier).
Version 0.3 – BISHOP
Suggestions welcome.