Your welcome. It is one of the things I had to work on with my update to UnNatural especially when I added the option for the player to choose to be Nonbinary. I was surprised how many additional variables it added to the game as grammar is a fickle thing. I think its worth the extra work though.
I think iâll still just go with copying text for now. For some reason the prospect of having to *create all verbs etc thatâd change eats more spoons than the prospect of the additional work
If you use @CJWâs CSIDE there is a pronoun sample project that helped me with the additonal pronouns.
For example in my nano project Daemonglass I use
*create xhild ââ
*create xhey ââ
*comment This is the they/she/he pronoun.
*create xhem ââ
*comment This is the them/her/him pronoun.
*create xheir ââ
*comment This is the their/her/his pronoun.
*create xheirs ââ
*comment This is the theirs/hers/his pronoun.
*create xhemself ââ
*comment This is the themself/herself/himself pronoun.
*create x_s âsâ
*comment This is for the âsâ on the ends of verbs, as in âthey walkâ/âshe walksâ.
*create x_es âesâ
*comment This is for the âesâ on the ends of verbs, as in âthey marchâ/âshe marchesâ.
*create x_re â'sâ
*create x_ve â'sâ
*create x_is âisâ
*create x_nt âesnâtâ
*create x_ed âedâ
this is for the MC then for the mentor I just copy and paste that and add the prefix m_ (likewise for the friend prefix f_ and the rival m_ i also create a special s_ variation for scenes where the player can be with the mentor, friend or rival.
Trying to think of how many verbs doe require more than an s to make them singularâŚ
Actually, by having tons of variables, it gives you more freedom to control how those pronouns-verb interaction will be.
FYI, if youâre already familiar with the @{}
multireplace operator, you just need 4 basic pronouns (+ 1 to-be for they)
The âthey/their/theirs/them (+ is/are)â.
For the rest, use the operator.
Of course the actual text can be a clustervuk of code-symbols, but you wonât have to create tons of variables.
that operator wonât work for me oddly enough (as said, I probably am putting it in the wrong place in the code)
Maybe you forgot to put the separator pipe? The â|â ?
Just do this
Variable name : Variable
Values will be between 1 - 3
@{Variable Hi | Hey | Yo}
Of the value of Variable is 1 it will print Hi if its 2 it will print Hey and of its 3 it will print Yo
Thanks again all, but as said, bit of autism getting in the way. Before my motivation takes a nose-dive due to sudden anxiety peak, Iâll stay with the additional text and just adjust the wordcount down by 25%
But hopefully thisâll help others
Please. Try it once on your own.
Please please pleaseâŚ
Itâs so disheartening to see someone not understanding what you were trying to tell them.
( if you donât want to itâs perfectly fine because ahem⌠)
I understand, itâs something that gets easier with time. After all its taken a few years working on UnNatural on and off and itâs only this year when I made the decision to do a major edit that I started to feel competant enough to refine the code. So just do what suits you best, you can always go back later to tidy up and refine code after a bit more experience.
I use gosub quite a bit.
I mightâŚ
But I need the spoons for it first
Edit:
My main problem remains:
I donât even know WHERE in the code to put it.
not to mention can
@{(gender_child_count = âpluralâ) | s } even work?
This is me
Though to be fair my estimates on âthe operativesâ length put it at 400-500k words.
But, I am hoping to go longer⌠Mainly for quiet moments between characters.
That should work perfectly fine. As for the placement, the rule is similar as the ${}
Iâll try tomorrow after making a backup file.
Thanks again people
(Also this might mean my WIP might get a big major update before thursday)
A few more thoughts about this. I religiously avoid repeated text, but when I think about how many words I lose as a result, I donât think itâs huge. Maybe 1 in 5 words tops would be repeated if I didnât use gosubs to avoid it. So thatâd be an inflation of like 100K on Magics. It would look big both before and after cleanup.
The other thought is, it takes a pretty long time to write a lot of words, and CoG doesnât really have a lot to gain by casting suspicion on particular works or the metric, so canât we just look at that hard work and say rah rah yay?
I think we can. Yay!
@Eric_Moser Iâve never used gosub either, I find it a bit confusing to understand. Iâm not sure Iâm understanding exactly why itâs needed even after the explanations here unless itâs something that is going to pop up in random sections that you canât link with a single goto at the end? (And even then it could be linked with an *if although I guess that is less efficient using a few extra words like *if (scene = âoneâ) *goto garden. *if (scene = âtwoâ) *goto car. Surely most things could avoid repeats with *ifâs, *gotoâs, *labels and variables?
Like if I was to write a choice that I didnât want repeating text to talk to the gardener, Iâd either use an *if or a label like:
*choice
#Go into the backyard
Explore yard
*label garden
Talk to gardener
*goto next
#Go into the front yard
Check the mail box and cars.
*goto garden
#Stay inside.
Something completely different. Do not talk to gardener.
*goto next
Or could just have an *if command below the *label next, that only allows the garden text to show up if you didnât stay inside.
Anyway, not entering the contest, but just wondering if Iâm missing something that I should be doing?
(BTW- not repeating text is good for if you make mistakes so you donât have to change it in 5 different places later! Not just coding efficient, but time efficient. Lesson learned from my first attempt.)
I use *gosub_scene in UnNatural for both the partner select and the weapon select choices. Then rather than repeating the choices in episodes 3-6 for each case I just use *gosub_scene weapon_choice and *gosub_scene partner_choice saves a lot of unneeded code that way.
Oh, I think I might have just understood. Does the gosub let you acess text from a different scene? So if you were in the file chapter1 and wanted to got to the weapons select, you could have another document with that in there instead of having to repeat the text for the weapon select in each scene it could pop up?