Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2.3.13
Story Format: Harlow 3.2.1
Hi everyone,
I’m at the end of my story and I would like to give the reader a link to restart and reset. I’ve found the restart command and I’ve tried placing this in the last passage of my story,
(link: "A game about life")[(restart:)]
But then I get this error
I mustn’t (restart:) the story in the starting passage.
I almost ended up doing the same thing over and over, forever.
(That’s cute.)
Any suggestions?
I do have a passage called variables with a startup tag that sets all the variables used throughout the game, if that makes anything easier. I thought that the startup tag would reset the variables at the first passage, but that does not seem to be the case. The variables from one story carry through to the next. Here is my variables passage if this helps.
{
(set: $name to "name")
(set: $shower to false)
(set: $teeth to false)
(set: $clothes to "nope")
(set: $late to false)
(set: $latelate to false)
(set: $breakfast to false)
(set: $traintime to true)
(set: num-type $snooze = 0)
(set: num-type $ready = 0)
}