Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


smutbook:classes:api:grammar:youhesheit

This is an old revision of the document!


youHeSheIt( pronounSubject=undefined, verb=undefined, singular3pVerb=undefined, capitalize=false )

Define an object in the defaults datastore. Redefinition is not allowed.

  • Defined in: Persistence/PersistentObject.js
  • Type: Function
  • Arguments:
    • pronounSubject: The subject of the pronoun to be output. If empty, the value of the Sugarcube temporary variable '_pronounSubject' will be used by default. If the pronounSubject is also the $SmutBook.viewpointCharacter, the singular2p (“you”) pronoun will be used regardless of the pronounSubject's actual gender setting. If the pronounSubject has no gender defined, the “neuter” (it) form will be used.
    • verb: An optional singular verb form to append.
    • singular3pVerb: An optional 3p verb form to append if the subject is male, female, or neuter. If not provided, 's' will be appended to the 'verb' argument above and that will be used.
    • capitalize: Whether or not to capitalize the first letter of the output string.
  • Returns: a Proxy-wrapped instantiation of the defined object.
  • Throws: Error if an object of the given id has already been defined.
smutbook/classes/api/grammar/youhesheit.1787689428.txt.gz · Last modified: by lee