Created
April 16, 2018 17:33
-
-
Save apaleslimghost/12c67e7d9b7f42d171f0e48915e2e242 to your computer and use it in GitHub Desktop.
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
const adjectives = [ | |
'Lost', | |
'Fortress', | |
'Hidden', | |
'Eerie', | |
'Ruined', | |
'Sunken', | |
'Ghastly', | |
'Unknown', | |
'Evil', | |
]; | |
const locales = [ | |
'Mines', | |
'Dungeons', | |
'Caves', | |
'Mountains', | |
'Tower', | |
'Cavern', | |
'Lake', | |
'River', | |
'Castle', | |
'Keep', | |
'Mansion', | |
'Catacombs', | |
'Crypt', | |
]; | |
const settlements = [ | |
'Phandelver', | |
'Hawvale', | |
'Grenscombe', | |
'Woodcrest', | |
'Cransborne', | |
'Anemst', | |
'Askren', | |
'Reynford', | |
'Westreach', | |
'Erinport', | |
'Ponterin', | |
'Bridgefoot', | |
'Askemouth', | |
'Mirebend', | |
'Pentarr', | |
]; | |
const pick = a => a[Math.floor(Math.random() * a.length)]; | |
module.exports = () => `The ${pick(adjectives)} ${pick(locales)} of ${pick(settlements)}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment