*comment Copyright 2010 by Dan Fabulich. *comment *comment Dan Fabulich licenses this file to you under the *comment ChoiceScript License, Version 1.0 (the "License"); you may *comment not use this file except in compliance with the License. *comment You may obtain a copy of the License at *comment *comment http://www.choiceofgames.com/LICENSE-1.0.txt *comment *comment See the License for the specific language governing *comment permissions and limitations under the License. *comment *comment Unless required by applicable law or agreed to in writing, *comment software distributed under the License is distributed on an *comment "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, *comment either express or implied. *title Gender Setting Example *author Hannah Powell-Smith *scene_list startup *comment this variable controls whether the player is asked to define NPC genders when they're met ingame *create genderchoice false *comment PC's personal info *create pc_gender 1 *create pc_he "" *create pc_him "" *create pc_his "" *create pc_hers "" *create pc_boy "" *create pc_sibling "" *create pc_child "" *create pc_singular true *comment the pc_say variable controls whether or not verbs will be pluralised. *comment Rather than having to write '$!{pc_he} @{pc_singular say|says} the sky is blue' it saves time, and reduces errors, to write '$!{pc_he} ${pc_says} the sky is blue' *comment You can include as many of these as you like if there are particular verbs that gender-selectable characters use a lot. *create pc_says "" *comment Freddie's personal info *create freddie_rand 0 *create freddie_singular true *create freddie_gender 1 *create freddie_he "" *create freddie_him "" *create freddie_his "" *create freddie_hers "" *create freddie_title "" *create freddie_child "" *create freddie_firstname "" *create freddie_says "" *comment Gonzalez's personal info *create gonzalez_rand 0 *create gonzalez_singular true *create gonzalez_gender 1 *create gonzalez_he "" *create gonzalez_him "" *create gonzalez_his "" *create gonzalez_hers "" *create gonzalez_title "" *create gonzalez_child "" *create gonzalez_says "" You can form romances or partnerships with some side characters, and they can have varied genders (male, female, and non-binary) on each playthrough. How would you like the genders to be set? *choice #Randomize the genders of variable side characters. [Recommended for first playthrough] *rand freddie_rand 1 3 *if freddie_rand = 1 *gosub freddie_male *goto gonzalez_randomize *elseif freddie_rand = 2 *gosub freddie_female *goto gonzalez_randomize *elseif freddie_rand = 3 *gosub freddie_nb *goto gonzalez_randomize *else *bug freddie_rand is ${freddie_rand}; expected value 1-3 *label gonzalez_randomize *rand gonzalez_rand 1 3 *if gonzalez_rand = 1 *gosub gonzalez_male *goto npcgenders *elseif gonzalez_rand = 2 *gosub gonzalez_female *goto npcgenders *elseif gonzalez_rand = 3 *gosub gonzalez_nb *goto npcgenders *else *bug gonzalez_rand is ${gonzalez_rand}; expected value 1-3 #Pick a single gender for all variable side characters. All side characters with variable genders will be: *choice #Female. *gosub freddie_female *gosub gonzalez_female *goto npcgenders #Non-binary. *gosub freddie_nb *gosub gonzalez_nb *goto npcgenders #Male. *gosub freddie_male *gosub gonzalez_male *goto npcgenders #Choose the genders of variable side characters as you play. *set genderchoice true *goto npcgenders *label npcgenders *if genderchoice When you meet Freddie... *fake_choice #He introduces himself. *gosub freddie_male #She introduces herself. *gosub freddie_female #They introduce themself. *gosub freddie_nb Then Gonzalez shows up. *fake_choice #He says hello. *gosub gonzalez_male #She says hello. *gosub gonzalez_female #They say hello. *gosub gonzalez_nb *goto pronouns *else When you meet Freddie, ${freddie_he} @{freddie_singular introduces|introduce} ${freddie_him}self. Then Gonzalez shows up. $!{gonzalez_he} @{gonzalez_singular says|say} hello. *label pronouns *page_break What do you want your main character's pronouns to be? *choice #He/him. *gosub pc_male *goto genderfeedback #She/her. *gosub pc_female *label genderfeedback Characters in the game will refer to you with the pronouns ${pc_he}/${pc_him}/${pc_his}, as in: "$!{pc_he} survey@{pc_singular s|} the shop windows, wondering what ${pc_his} sister would buy for ${pc_him}." Is that right? *choice #Yes. *finish #No. *goto pronouns #Something else. [enter your own] *gosub pc_nb *label pronounselect Please enter your subjective pronoun (for example, he, she, they). *input_text pc_he Please enter your objective pronoun (for example, him, her, them). *input_text pc_him Please enter your possessive pronoun (for example his, her, their). *input_text pc_his Do your pronouns work best with singular or plural verbs? *fake_choice #Singular (for example "he says", "she says"). #Plural (for example "they say".) *set pc_singular false Characters in the game will refer to you with the pronouns ${pc_he}/${pc_him}/${pc_his}, as in: "$!{pc_he} survey@{pc_singular s|} the shop windows, wondering what ${pc_his} sister would buy for ${pc_him}." Is that right? *choice #Yes. *finish #No. *goto pronounselect *label freddie_male *set freddie_he "he" *set freddie_him "him" *set freddie_his "his" *set freddie_hers "his" *set freddie_title "Mr." *set freddie_child "son" *set freddie_firstname "Frederic" *set freddie_says "says" *return *label freddie_female *set freddie_gender 2 *set freddie_he "she" *set freddie_him "her" *set freddie_his "her" *set freddie_hers "hers" *set freddie_title "Miss" *set freddie_child "daughter" *set freddie_firstname "Winifred" *set freddie_says "says" *return *label freddie_nb *set freddie_gender 3 *set freddie_singular false *set freddie_he "they" *set freddie_him "them" *set freddie_his "their" *set freddie_hers "theirs" *set freddie_title "Mx." *set freddie_child "child" *set freddie_firstname "Robin" *set freddie_says "say" *return *label gonzalez_male *set gonzalez_he "he" *set gonzalez_him "him" *set gonzalez_his "his" *set gonzalez_hers "his" *set gonzalez_title "Mr." *set gonzalez_child "son" *set gonzalez_says "says" *return *label gonzalez_female *set gonzalez_gender 2 *set gonzalez_he "she" *set gonzalez_him "her" *set gonzalez_his "her" *set gonzalez_hers "hers" *set gonzalez_title "Miss" *set gonzalez_child "daughter" *set gonzalez_says "says" *return *label gonzalez_nb *set gonzalez_gender 3 *set gonzalez_singular false *set gonzalez_he "they" *set gonzalez_him "them" *set gonzalez_his "their" *set gonzalez_hers "theirs" *set gonzalez_title "Mx." *set gonzalez_child "child" *set gonzalez_says "say" *return *label pc_male *set pc_gender 1 *set pc_he "he" *set pc_him "him" *set pc_his "his" *set pc_boy "boy" *set pc_sibling "brother" *set pc_child "son" *set pc_says "says" *return *label pc_female *set pc_gender 2 *set pc_he "she" *set pc_him "her" *set pc_his "her" *set pc_boy "girl" *set pc_sibling "sister" *set pc_child "daughter" *set pc_says "says" *return *label pc_nb *set pc_gender 3 *set pc_boy "student" *set pc_sibling "sibling" *set pc_child "child" *set pc_says "say" *return