Created
December 26, 2018 23:25
-
-
Save jkopczyn/74eb220044b85b33828782e17471e55a to your computer and use it in GitHub Desktop.
Automated god generator, implements http://www.rolang.com/archives/449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
domains = [] | |
while True: | |
domains.append(random.randint(1,4)) | |
if random.randint(1,2) == 1: | |
break | |
dom_table = { | |
1: ["Play", "Fertility/Harvest/Babies", "Health/Disease", "Hunt", "Hearth", "Doors/Household Safety", "Baking", "Wine/Beer", "Sewing/Weaving", "Wealth", "Household Item", "Food (particular)", "Important Commodity", "Male Virility", "Bridges/Gates/Crossing/Crossroads", "Fidelity/Adultery", "Animal Husbandry", "Gossip/Reputation", "Books/Scrolls", "Important Domestic Animal/Insect"], | |
2: ["Invention", "War", "Indulgence", "Theft/Kidnapping", "Travel/Hospitality to Strangers", "Sailing", "Building", "Exploration/Adventure", "Cannibalism", "Honor/Justice/Vengeance", "Trade/Commerce/Unexpected Windfalls", "Slavery/Freedom", "Learning/Ignorance", "Hiding", "Art/Poetry", "Healing", "Protector of Our People", "Mining", "Sport", "Gambling"], | |
3: [ "Invention", "War", "Indulgence", "Theft/Kidnapping", "Travel/Hospitality to Strangers", "Sailing", "Building", "Exploration/Adventure", "Cannibalism", "Honor/Justice/Vengeance", "Trade/Commerce/Unexpected Windfalls", "Slavery/Freedom", "Learning/Ignorance", "Hiding", "Art/Poetry", "Healing", "Protector of Our People", "Mining", "Sport", "Gambling" | |
"Animal", "Mountains", "Night", "Oceans", "Season (1d4: Spring/Summer/Autumn/Winter)", "Plants/Woods", "Predominant Local Climate/Weather Type", "Fresh Waters", "Natural Disasters", "Thunder / Storms /Monsoon Season", "Death/Destruction", "Sun", "Moon", "Planet/Stars", "Air", "Fire", "Earth", "Water (all)", "Natural Beauty", "Decay (and rebirth)"], | |
4: ["Wisdom", "Compassion", "Tricks", "Protection from Spirits", "Miracles", "Afterlife", "Pre-life", "Karma", "Undead", "Laughter", "Song", "Love/Sex", "Destiny/Fate", "Dreams", "Fear/Bravery", "Greed/Generosity", "Jealousy/Equanimity", "Hate/Love (non-romantic)", "Abstinance/Indulgence", "Bardo (Trial grounds between lifetimes)"] | |
} | |
purviews = [dom_table[d][random.randint(0,19)] for d in domains] | |
print purviews, random.choice(['male']*10+['female']*10+['androgynous']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment