Quick actions

cmd+k|ctrl+k

Navigation

Languages

Gronkifier

Snippet info

Language

Python

Visibility

public

Author

achesak

Created

2017-12-04T20:44:22Z

Updated

2017-12-04T20:49:08Z

# Bored of the same old characters? Pathfinder getting stale?
# Spice up your campaigns with the all new Gronkifier (TM)!
# Run the program to get your new character.

from random import randint

real_races = ["Gronk", "Alaseid", "Arach", "Bog Beast", "Centaur", "Churr", "Crabman", "Dakon", "Gargoyle", "Inphidian", "Minotaur", "Ryven", "Taer", "Trox", "Tsathar", "Cecaelia", "Grindylows", "Sahuagian", "Shabhad"]
imagined_races = ["Dwarf", "Elf", "Gnome", "Half Elf", "Half Orc", "Halfling", "Human", "Catfolk", "Duergar", "Gnoll", "Grippli", "Goblin", "Hobgoblin", "Ifrit", "Kobold", "Lizardfolk", "Monkey Goblin", "Orc", "Oread", "Ratfolk", "Skinwalker", "Sylph", "Triaxian", "Undine", "Vanara", "Aasimar", "Android", "Dhampir", "Drow (Common)", "Fetchling", "Gathlain", "Ghoran", "Kasatha", "Lashunta", "Shabti", "Suli", "Tengu", "Tiefling", "Vishkanya", "Wyrwood", "Wyvaran"]
classes = ["Barbarian", "Bard", "Cleric", "Druid", "Fighter", "Monk", "Paladin", "Ranger", "Rogue", "Sorcerer", "Wizard"]
names = ["Str", "Dex", "Con", "Int", "Wis", "Cha"]

print("Congratulations! You are a...")
print(real_races[randint(0, len(real_races) - 1)] + " " + classes[randint(0, len(classes) - 1)])
print("But you think you are a...")
print(imagined_races[randint(0, len(imagined_races) - 1)])

print("\nYour stats:")
for name in names:
    print("%s: %d" % (name, randint(4, 20)))

print("\nGood luck!")
INFO