Adding linkToNextStorylet to Readme and fixing a bug

This commit is contained in:
David Masad
2021-02-28 10:38:24 -05:00
parent a30931691e
commit f3bafb8d35
7 changed files with 79 additions and 41 deletions

View File

@ -33,8 +33,9 @@ StoryManager.storylets["Go somewhere"] = {
You find yourself in $currentLocation. You should probably [[jump | Jump]].
:: Jump
You prep your ship to jump.
You prep your ship to jump. You can choose a destination:<br>
<<getStoryletLinks>>
Or you can <<linkToNextStorylet "jump blind">>.
:: Orbit
<<set $currentLocation = $currentStorylet.planet>>