Made by Just Us Games, creators of Supreme Courtship, and (soon!) other political comedy games. https://supremecourtship.com
An add-on for Fungus that simplifies the process of writing for characters with a dynamic or user-defined gender. We take the user's gender pronoun, and use it to determine the gendered terms for that pronoun. These are then added to Fungus as variables, which can be used in your game's script.
Tested with:
- Unity - 2018.2.21f1
- Fungus - 3.11.2
- Visual Studio - Mono 5.18.1.3
Game script: "That's {$GT_him} over there."
Fungus variables: mc_pronoun = "she"
Result: "That's her over there."
(Supported pronouns: he, she, they)
- Add the code to your project.
- Add a new GameObject to the scene hierarchy. Add the GenderedTermLoader as a Component.
- Update the DynamicGenderCharacterGameData for your game.
- Specify the Fungus variable that will store the character's pronoun (ie "mc_pronoun").
- Specify the kinds of gendered terms used in your game script for this character, and the variable names for them.
- Update your game script to use the Fungus variables for your characters (ie {$GT_him}).
- Set the Fungus variables that store your character pronouns to the correct values (ie mc_pronoun = "she").
- On Start(), the GenderedTermLoader will add the gendered terms for each character to Fungus as global variables (ie {$GT_him} -> "him", "her", or "them").
- If a character's pronoun changes after Start(), call "UpdateAllGenderedTermVariables()" from a Fungus command.
- Update GenderedTermDictionary.cs. Add the new type of gendered term as a GenderedTermType enum.
- Each new GenderedTermType will need to include terms for each of the supported pronouns.
- Update Pronoun.cs. Add a new Pronoun enum.
- Add support for the new pronoun.
- In GenderedTerms.cs, add the new pronoun to GenderedTermTypeAttr and GenderedTerms.
- In GenderedTermDictionary.cs, update each GenderedTermType enum to include a gendered term for the new pronoun.