Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


smutbook:classes:grammar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
smutbook:classes:grammar [2023/08/06 19:25] – created leesmutbook:classes:grammar [2023/08/06 19:54] (current) – removed lee
Line 1: Line 1:
-====== SmutBook.Grammar ====== 
- 
-The Grammar module provides functionality to the grammar macros (see the macro documentation for details), which allows one piece of text to be written so that it can display the correct pronoun reference and verb tense regardless of the current viewpoint character or gender of the subject or direct object. 
- 
-Eg: "He has blond hair."/"She has blonde hair."/"They have blond hair."/"It has blond hair."/"You have blonde hair." 
- 
-A bit complicated, but massively useful for status displays and and other such revisited passages in stories with multiple viewpoint characters and/or gender TF. 
- 
-Note: As much as referring to a singular someone of indeterminate gender with a plural pronoun makes me cringe grammatically, it is still needed for the androgynous middle stage of a slow-TF, IMO, as referring to someone as "it" seems unintentionally dehumanizing, and the third-person plural seems to have come into common usage for this case, even if it is grammatically incorrect... 
- 
-===== LibEcho.Grammar.Pronouns ===== 
- 
-Implements pronoun forms according to the following table: 
- 
-|            ^ Subjective ^ Objective ^ Possessive Adjective ^ Absolute Possessive ^ Reflexive/Intensive ^ 
-^ male       | he         | him       | his                  | his                 | himself             | 
-^ female     | she        | her       | her                  | hers                | herself             | 
-^ neuter     | it         | it        | its                  | its                 | itself              | 
-^ Singular1p | I          | me        | my                   | mine                | myself              | 
-^ Singular2p | you        | you       | your                 | yours               | yourself            | 
-^ Plural1p   | we         | us        | our                  | ours                | ourselves           | 
-^ Plural2p   | you        | you       | your                 | yours               | yourselves          | 
-^ Plural3p   | they       | them      | their                | theirs              | themselves          | 
- 
-FIXME The member functions should also work if passed a Person-type object, but that is currently unimplemented.  They also don't do any sanity checking on the args. 
- 
-==== Member Functions ==== 
- 
-You shouldn't ever need to use these functions in your game.  These functions provide a back-end to the grammar macros (see the macro documentation for details).  Use those macros instead. 
- 
-These are all static. 
- 
-=== .youHeSheIt( personOrGender ) === 
-Returns the subjective pronoun for the given personOrGender. 
- 
-=== .youHimHerIt( personOrGender ) === 
-Returns the objective pronoun for the given personOrGender. 
- 
-=== .yourHisHerIts( personOrGender ) === 
-Returns the possessive adjective pronoun for the given personOrGender. 
- 
-=== .yoursHisHersIts( personOrGender ) === 
-Returns the absolute possessive pronoun for the given personOrGender. 
-  
-=== .yourselfHimselfHerselfItself( personOrGender ) === 
-Returns the reflexive/intensive pronoun for the given personOrGender. 
  
smutbook/classes/grammar.1691375143.txt.gz · Last modified: 2023/08/06 19:25 by lee