// common_words.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Dictionary.prototype;
/**
* Ask whether the common word dictionary contains
* the specified word.
* @memberOf adventurejs.Dictionary
* @method adventurejs.Dictionary#hasCommonWord
* @param {string} word The word to look up, ie "zoo".
* @returns {boolean}
*/
p.hasCommonWord = function Dictionary_hasCommonWord(word) {
return this.common_words.includes(word);
};
/**
* Common words is a group of words that may not exist in the
* game, but which a player could reasonably be expected to
* use, for which we may want to return a more informative
* message than "I don't know the word x." Authors can provide
* their own lists of common words, or set the list to empty,
* through the use of
* <code>MyGame.dictionary.set({ common_words: ["foo", "bar"] });</code>
* @var {Object} adventurejs.Dictionary#common_words
*/
p.common_words = [
"brother",
"sister",
"aunt",
"uncle",
"grandmother",
"grandfather",
// const locations = [
"store",
"cafe",
"shop",
"restaurant",
"zoo",
"mall",
"library",
"school",
"park",
"bakery",
"bar",
"museum",
"hospital",
"station",
"hotel",
"pharmacy",
"market",
"bank",
"church",
"theater",
"clinic",
"post office",
"university",
"diner",
"garage",
"airport",
"pier",
"gym",
// ];
// const evocativePlaces = [
"alley",
"courtyard",
"hall",
"garden",
"path",
"grove",
"meadow",
"attic",
"basement",
"cellar",
"tower",
"chapel",
"crypt",
"barn",
"shed",
"porch",
"veranda",
"balcony",
"clearing",
"bridge",
"tunnel",
"cavern",
"chamber",
"den",
"hearth",
"threshold",
"terrace",
"spire",
"ledge",
"archway",
// ];
// const peopleNouns = [
"child",
"sister",
"brother",
"mother",
"father",
"stranger",
"vendor",
"beggar",
"priest",
"teacher",
"merchant",
"watchman",
"librarian",
"nurse",
"tailor",
"butcher",
"soldier",
"mechanic",
"traveler",
"guide",
"patient",
"clerk",
"rider",
"bystander",
"singer",
"fisherman",
"caretaker",
"driver",
"thief",
"monk",
"orphan",
"widow",
"scholar",
"apprentice",
"prophet",
// ];
// const bodyPartNouns = [
"hand",
"eye",
"face",
"mouth",
"ear",
"hair",
"fingers",
"teeth",
"skin",
"voice",
"heart",
"breath",
"bone",
"shadow",
"gaze",
"palm",
"tongue",
"sigh",
"scar",
"foot",
"wrist",
"back",
"leg",
"arm",
"laugh",
"blink",
"step",
"touch",
"grip",
"pulse",
// ];
];
})();