New features in ChoiceScript: change text size/color, hyphen spacing, @{} variable replacement

I’ve mentioned this elsewhere, but if you set a character’s gender variable as numeric instead of a string, you can simplify plural-variant verbs for “they/them” pronouns. For example:

*fake_choice
	#Non-binary.
		*set gender 1
		*set they "they"
	#Female.
		*set gender 2
		*set they "she"
	#Male.
		*set gender 3
		*set they "he"

Then you can insert things like @{gender teach|teaches|teaches} or @{gender go|goes|goes} inline instead of breaking your sentences apart to use structures things like:

*if gender = "non-binary"
	teach
*if gender != "non-binary"
	teaches

*if gender = "non-binary"
	go
*if gender != "non-binary"
	goes

And you can use that in conjunction with (or instead of) pronoun variables:

$!{they} @{gender go|goes|goes} to the market every Saturday morning.
@{gender They go|She goes|He goes} to the market every Saturday morning.

Edit: You can leave an option within the multireplace blank as well. So you could also do:

$!{they} go@{gender |es|es} to the market every Saturday morning.

9 Likes