Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// pronouns.js

(function () {
  /*global adventurejs A*/
  "use strict";

  var p = adventurejs.Dictionary.prototype;

  /**
   * Pronoun groups include language for first person,
   * second person, plural, male third person,
   * female third person, nonbinary third person,
   * and nonhuman third person. These can be applied
   * to all of the default response strings built-in
   * to Adventurejs, by setting the person property.
   * @var {Object} adventurejs.Dictionary#pronouns
   */
  p.pronouns = {
    first: {
      we: "I",
      us: "me",
      "we've": "I've",
      "we'll": "I'll",
      "we're": "I'm",
      our: "my",
      ours: "mine",
      ourself: "myself",
      ourselves: "myself",
    },
    second: {
      we: "you",
      us: "you",
      "we've": "you've",
      "we'll": "you'll",
      "we're": "you're",
      our: "your",
      ours: "yours",
      ourself: "yourself",
      ourselves: "yourself",
    },
    plural: {
      we: "we",
      us: "us",
      "we've": "we've",
      "we'll": "we'll",
      "we're": "we're",
      our: "our",
      ours: "ours",
      ourself: "ourselves",
      ourselves: "ourselves",
    },
    male: {
      we: "he",
      us: "him",
      "we've": "he's",
      "we'll": "he'll",
      "we're": "he's",
      our: "his",
      ours: "his",
      ourself: "himself",
      ourselves: "himself",
    },
    female: {
      we: "she",
      us: "her",
      "we've": "she's",
      "we'll": "she'll",
      "we're": "she's",
      our: "her",
      ours: "hers",
      ourself: "herself",
      ourselves: "herself",
    },
    nonbinary: {
      we: "they",
      us: "them",
      "we've": "they've",
      "we'll": "they'll",
      "we're": "they're",
      our: "their",
      ours: "theirs",
      ourself: "themself",
      ourselves: "themself",
    },
    nonhuman: {
      we: "it",
      us: "it",
      "we've": "it's",
      "we'll": "it'll",
      "we're": "It's",
      our: "its",
      ours: "its",
      ourself: "itself",
      ourselves: "itself",
    },
  };
})();