It looks like you're new here. If you want to get involved, click one of these buttons!
Name: <<print $player.name>>
Level: <<print $player.level>>
HP: <<print $player.HP>>
MP: <<print $player.HP>>
XP: <<print $player.XP>>
Gold: <<print $player.gold>>
You buy a weapon!
<<set $player.gold = $player.gold - $price>>
The passage still shows $player.gold as it was before the change.
Comments
Even if I could jury rig it somehow, the point is, I would like to know how to use state.display(). I have a game that uses it, but Henry Soule wrote the code and I can't figure out how to adapt it. "StoryRegions Module" is a script passage. Don't know what the "offscreen" does, but I've tried adding it (or not adding it, like above) and couldn't get it to work.