Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
Tutorial explaining how to get started writing custom pronouns in AdventureJS. tutorial, pronouns

Advanced Scripting:Custom Pronouns

AdventureJS comes with three (or four*) genders and seven sets of pronouns out of the box: first person singular (I), first person plural (we), second person (you), male (him), female (her), nonbinary (they), and nonhuman (it).

Genders

  • Male
  • Female
  • Nonbinary
  • Nonhuman*

    Pronouns

  • First person singular
  • First person plural
  • Second person
  • Third person male
  • Third person female
  • Third person nonbinary
  • Third person nonhuman

A character can have distinct gender and pronouns. This is chiefly so that the player character can be addressed with first or second person pronouns rather than third person pronouns. Other objects and NPCs will generally only be referred to with the pronouns of their gender.

As an author, you can add completely new genders and pronoun sets to your games. In order to do so, you must provide the five different types of pronouns that AdventureJS understands:

  • subjective pronouns
    I, we, you, they, he, she, it
  • objective pronouns
    me, us, you, them, him, her, it
  • possessive determiner (aka possessive adjectives)
    my, our, your, their, his, her, its
  • possessive pronoun
    mine, ours, yours, theirs, his, hers, its
  • reflexive pronoun
    myself, ourself, yourself, themself, himself, herself, itself

Now, people who are more knowledgeable about language than the developers of AdventureJS will argue about these specific terms and their meanings. We're not trying to make the case for any particular set of definitions. We just had to draw a line somewhere to make a game work. Here is all you need to do to define a new gender.

Examples

MyGame.addPronouns({
  singular: true,
  gender: "aile",
  subjective_pronoun: "ai",
  objective_pronoun: "ain",
  possessive_determiner: "aire",
  possessive_pronoun: "aires",
  reflexive_pronoun: "aiself",
});
* Depending on whether you want to consider nonhuman as a gender.