Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Any way to get a command to run all passages in sugarcube?

$
0
0
Is there any way to get a certain command, for example
<<if $gold gt 200>><<set $gold = 200>><</if>>

to run on all pages. So that the player cannot have more than 200 gold on them at any one time.

The alternative is to copy and paste this at the bottom of every single page and I really don't want to that.

If this isn't possible is there a way to set a maximum value so that $gold cannot exceed 200?

Viewing all articles
Browse latest Browse all 1844

Trending Articles