Travgen 0.0.10 - Fork with added support for HOSTILE: https://www.paulelliottbooks.com/hostile.html
A gamemaster toolkit for Traveller and compatible campaign settings for Mongoose Traveller(c). The script generates random characters complete with name, gender, UPP, ethnicity, planet of origin, skills, and career path. CT and MGT books are still required for generation of events, and the fleshing out of other details. The scripts also provide functionality for animal generation, UPP generation, and generic dice rolling.
The script is run from the command line with the following syntax. All input variables may be stipulated at the command line rather than randomly generated, including career path. The script may also be used to generate UPPs and roll arbitrary sets of dice.
Usage: travgen char [--name NAME] [--homeworld WORLD]
[--ethnicity ETHNICITY] [--gender GENDER]
[--upp UPP] [--method METHOD] [--psi PSI]
[--terms TERMS] [--path PATH]
[--rand-age] [--max-careers CAREERS]
[--personality] [--random-seed SEED]
[--show-hist]
travgen UPP [--method METHOD] [--psi PSI]
Character Generation Options:
-n --name STR Character name.
-w --homeworld STR Character's world of origin.
-e --ethnicity STR Ethnic group and random naming convention;
currently supports: American, Arabic, Brazilian,
British, Chechen, Chinese, Czech, Danish,
Filipino, Finnish, French, German, Greek,
Hungary, Irish, Italian, Jamaican, Japanese,
Korean, Mongolian, North Indian, Portuguese,
Roma, Russian, Senegalese, Sicilian, Spanish,
Thai.
-g --gender STR Male or female.
-a --rand-age Randomize term length (+/-1 year).
-u --upp HEX A pre-generated UPP.
-i --psi STR Psi attribute enabled for a given campaign type:
traditional, psi-heavy, space opera,
science fantasy, transcendent.
-t --terms INT Number of terms to serve. [default: 3]
-p --path STR Colon-delimited career path of the form:
"career:spec::career:spec::...".
-P --personality Random personality.
-x --max-careers INT Maximum number of careers.
-s --show-hist Show full career history.
Run without options, the character generator will return a full character, complete with Skills and Benefits.
$ travgen char
Di Stefano, Frana
Female Wild Catter (Sicilian), age 30
UPP: 55a669 [6.8]
Career Path: Marine (USMC) [Rank 2]
Skills: Advocate 0, Art 0, Drive 1, Gun Combat 0, Medic 1, Recon 0, Survival 0, Trade 0, Vacc Suit 0
Benefits: 500 Cr., Star Envoy Club Member x1, Silver Star x1
Random seed: -633c0b7a
Character stats are presented in UPP format, and may be generated with a variety of ways with the --method
parameter. The number in brackets '[...]' is the average of the attributes. The same methods are available for generating UPPs only with travgen UPP
.
- normal: 2d6
- heroic: 3d6, drop the lowest
- superheroic: 2d6+3
- mediocre: 4d3
- extreme: 1d16-1
- alternating: 4d6, sorted, drop the 2nd and 4th
Every character is generated with a random seed that allows one to regenerate the character on the command line with addition options. For example, if one wants to see the character's full generation history, the --show-hist
option will reproduce the above character will all steps leading to her creation.
$ travgen char --random-seed cd515598 --show-hist
The --show-hist
option returns a narrative description of the steps taken during character generation. Included in the history is a career path table, allowing one to easily scan the pertinent rolls that lead to the generation of the character. The columns of the table are:
- T = The term number.
- Q = Qualified/enlisted successfully?
- S = Survived?
- A = Advanced?
- C = Commissioned?
- Edu = Number of starting skills based on homeworld.
- BT = Number of basic training skills.
- SR = Number of skill rolls for the term.
- Rnk = Professional rank.
- EM = Event or Mishap. The numbers in brackets are rolls to be looked up in the core rules.
- Age = Result of rolling 2d6 and subtracting number of completed terms.
- Ben = Benefit roll for the term.
Career choices may be prespecified at the command line, with careers and specializations separated by a single colon ":" and terms separated by a double colon "::", as shown below. Note that this does not guarantee that the character will generate with this career path; if the character fails to qualify for a career or has a mishap, random career choice will occur. Career paths can be partially specified, replacing any career or specialization with "-". The following command will attempt to generate a character with a random first term and second and subsequent terms as a Warden Enforcer.
$ travgen char -p "-:-::Technician:-"
Wilson, Petephew
Male Earther (British), age 30
UPP: 464968 [6.2]
Career Path: Technician (Freelance Miner) [Rank 0]
...
The remaining options are largely self-explanatory. Random names are similar to, but often not exactly the same as, modern names of a random Earth ethnicity. The --rand-age
parameter will cause starting ages to fluctuate slightly, for a more 'realistic' starting age. The --max-careers
option allows one to specify an upper limit on the number of careers that a character goes through, effectively generating a series of characters until one is found that meets the condition. The --personality
parameter is for comedic value, and provides some random personality quirks, along with a Meyers-Briggs personality profile.
The script does not currently generate the effects of events, mishaps, or pensions.
The script also generate random creatures per the rules in the MGT Core Rulebook.
Usage: travgen animal [--terrain TERRAIN] [--behavior BEHAVIOR] [--order ORDER]
[--sentient]
Animal Generation Options:
--terrain TERRAIN One of: Mountain, Hills, Open Ocean, Clear, Riverbank,
Swamp, Deep Ocean, Woods, Plain/Prairie, Forest,
Ocean Shallows, Rainforest, Rough, Beach, Desert,
Jungle.
--behavior BEHAVIOR One of: Intimidator, Siren, Reducer, Trapper,
Intermittent, Hijacker, Eater, Pouncer, Hunter,
Filter, Grazer, Carrion-Eater, Chaser, Brute Killer,
Gatherer, Swift Killer.
--order ORDER One of: Scavenger, Omnivore, Herbivore, Carnivore.
--sentient Creature has an intelligence greater than 1.
The script can also be used to generate random numbers from simulated dice of any number of sides.
Usage: travgen roll DICE
Dice Roll Arguments:
DICE Number and sides of dice in '#d#' format, e.g., 2d6.
Standard Python package installation.
> git clone http://github.com/mschippr/travgen.git
> cd travgen
> python setup.py install
docopt>=0.6.1