This is a pretty simple thing to do.
Every time there’s adult content, you want to display it only if a variable is turned on, instead of off, so you’ll want a boolean adult content variable.
*create adult_content false
And in the body of your work:
*if (adult_content)
She breasted boobily down the stairs.
*if not(adult_content)
She walked down the stairs.
Or, using multireplace, if you’re up for it:
She @{adult_content breasted boobily|walked} down the stairs.
You want the player to able to choose whether or not to enable adult content. At the beginning of your game, you’ll want to offer a choice to the player. The default command is *choice
but for this one you’re just flipping a boolean variable true or false, so you can just use *fake_choice
which removes the need to add *goto
or *finish
after every option.
*fake_choice
# Enable adult content.
*set adult_content true
# Disable adult content.
*set adult_content false
Pay close attention to the indentation. Notice how it all lines up.
As for a glossary in choicescript_stats:
*choice
# Glossary.
*goto glossary
*label glossary
[b]Glossary[/b]
Tortoise: A shelled reptile known for its slow speed.
[n/]Turtle: Like a tortoise but it swims.
The HTML command [n/]
adds a line break, otherwise they’d show up on the same line.
For relationship stats, first you want to make the stat.
*create mom 50
In the body of your work, you can let the player adjust this variable.
*fake_choice
# Clean your room.
*set mom +10
# Back talk your mom.
*set mom -10
And in choicescript stats, you display it. Start with *stat_chart
, and then use the “percent” command for a numbered variable that goes from 1-100. Call the variable name mom
and then write what the player sees: Mom
.
*stat_chart
percent mom Mom
If you want to gate it behind having met your mom, start with another boolean variable.
*create met_mom false
When the player meets mom, change that variable to true.
*set met_mom true
And in choicescript stats, gate the “mom” stat behind an *if
command.
*if (met_mom)
*stat_chart
percent mom Mom
If you haven’t checked out the basic choicescript introduction, go do that right now.