0 votes
by (130 points)

I started working on a Twine game forever ago in Harlowe 1.2.4, and when I picked it back up, I tried to change the story format to Harlowe 2.1.0. However, when I tried, I found that I got a ton of errors. The code:

[[Guns-> db_spec_guns]]

Resulted in an error: "There isn't a temp variable named _spec_guns in this place.►"

My guess is that it doesn't like that I'm using underscores, since Harlowe now uses underscores for temp variables.

I use underscores as part of both my passage names (db_spec_guns) and my variables ($brief_3a_done).

Can anyone suggest a way to let me still use Harlowe 2.1.0, or should I just go back to 1.2.4?

(I've tried a global search and replace to change the underscores everywhere into something nonobjectionable, but it broke all the passage names and made the file unusable.)





1 Answer

+1 vote
by (2.5k points)
The _ symbol is used for emphasized text. This might be the reason for it being broke. Here's a link to a question similar on the old forums.


Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.