Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


smutbook:classes:api:grammar:yourhisherits

yourHisHerIts( pronounSubject=undefined, capitalize=false )

Return an possessive adjective pronoun based on the gender of the pronounSubject.

  • Defined in: macros/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/yourhisherits.txt · Last modified: by lee