Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


smutbook:classes:api:grammar:youhimherit

This is an old revision of the document!


youHimHerIt( pronounSubject=undefined, capitalize=false )

Return an objective pronoun and optional verb form based on the gender of the pronounSubject.

  • Defined in: Util/Grammar.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.
    • capitalize: Whether or not to capitalize the first letter of the output string.
  • Returns: the pronoun.
  • Throws: Error if the pronoun subject is ultimately undefined or does not resolve to a PersistentObject.
smutbook/classes/api/grammar/youhimherit.1787690133.txt.gz · Last modified: by lee