How do I allow players to enter their preferred pronouns?
xXExterminateXx
24 Jan 2020, 00:03For example, I want players to be able to answer that their pronouns might be "they/their/them," so that if they are referred to throughout the story, it would insert their pronouns into my script. i.e. A script might say " " + pronoun1 + " went into the TARDIS and saw the Doctor standing at the console." That would seem to work, but what do I do for cases when "he is," "she is," or "they are" could be used? I don't want to put " " + pronoun1 + " is/are in the UNIT laboratory." I've seen some foreign video games do something similar with gender before (i.e. German games) and it looks tacky.
mrangel
24 Jan 2020, 02:22Quest by default has 3 attributes for pronouns:
gender
- i/you/he/she/it/theyarticle
- me/you/him/her/it/thempossessive
- my/your/his/her/its/their
As far as verbs go, there is a built-in function which automatically selects the right verb form based on a character's pronoun attributes.
For example, the expression WriteVerb (player, "shoot")
could give "you shoot", "he shoots", or "they shoot".
And WriteVerb (player, "be")
will give "I am", "you are", "he is", "they are" etc.
This is how some of the built-in messages are done (though many are static, with "you" as part of them). But the ones that depend on the gender of an NPC will work correctly.
It is worth noting that there are some bugs in this system - for example, WriteVerb generates "saies" instead of "says" because it doesn't have a full set of grammar rules. But in most cases you can trust it.
Somewhere on the forums in the past I've posted an updated version of this library that you can use.
Curt A. P.
24 Jan 2020, 17:19With English as my third language, I would love to see a list of built-in grammar-related attributes. In case these aren't all.