Skip to content

Instantly share code, notes, and snippets.

@SteelPangolin
Created May 12, 2015 04:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save SteelPangolin/09609752e94b659027b9 to your computer and use it in GitHub Desktop.
Generate a random X-COM mission name.
#!/usr/bin/env python3
"""
Generate a random X-COM mission name.
See http://xcom.wikia.com/wiki/Missions_%28XCOM:_Enemy_Unknown%29
and http://kotaku.com/5916411/why-all-of-xcom-enemy-unknowns-missions-sound-like-1980s-heavy-metal-albums
"""
from random import choice
prefixes = [
"Banished",
"Black",
"Bleeding",
"Blind",
"Blinding",
"Bloody",
"Broken",
"Brutal",
"Burning",
"Cold",
"Crimson",
"Cryptic",
"Crystal",
"Dark",
"Defiant",
"Demon",
"Devil's",
"Driving",
"Dying",
"Empty",
"Enduring",
"Fading",
"Fallen",
"Final",
"First",
"Flying",
"Forgotten",
"Frozen",
"Glass",
"Hidden",
"Hot",
"Lazy",
"Lone",
"Lost",
"Morbid",
"Patient",
"Purple",
"Red",
"Rotting",
"Sacred",
"Secret",
"Severed",
"Shattered",
"Silent",
"Soaring",
"Spectral",
"Stone",
"Swift",
"Twisted",
"Unceasing",
"Vengeful",
]
suffixes = [
"Apollo",
"Bell",
"Blade",
"Breath",
"Calm",
"Crone",
"Crown",
"Daze",
"Dream",
"Druid",
"Empire",
"Engine",
"Fall",
"Father",
"Fear",
"Fog",
"Future",
"Grave",
"God",
"Hammer",
"Hawk",
"Hydra",
"Hymn",
"Jester",
"Justice",
"King",
"Line",
"Law",
"Moon",
"Mother",
"Mountain",
"Night",
"Palace",
"Paramour",
"Pipe",
"Priest",
"Prophet",
"Pyre",
"Rain",
"Ring",
"Savior",
"Scepter",
"Serpent",
"Shield",
"Shroud",
"Skull",
"Smoke",
"Stallion",
"Star",
"Stranger",
"Stroke",
"Summer",
"Sword",
"Tears",
"Thorn",
"Throne",
"Thunder",
"Vanguard",
"Vengeance",
"Whisper",
]
def xcom_mission_name():
return '{} {}'.format(choice(prefixes), choice(suffixes))
if __name__ == '__main__':
print(xcom_mission_name())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment