Skip to content

Instantly share code, notes, and snippets.

Avatar

Shawn Medero soypunk

View GitHub Profile
View gist:df5de4153a5d3bf277ba36a4f7c21cca
"""
Proof of Concept: Generate a Travellermap Subsector Poster from Legacy SEC data using Python and the Requests lib
"""
import requests
# I'm hard coding this for demostration purposes but ideally this data comes from the CLWorldGen
# Also note that API allows you to generate an entire sector or just a subsector.
# for our purposes we'll just generate subsector A
SUBSECTOR_DATA = """@SUB-SECTOR: Laorre SECTOR: Esge
#
View Location Crafter Space Example
Location Crafter: Traveller Example
LOCATIONS
Space
Space
Space
Space
Space
Space
Planet