Implementing widget
This commit is contained in:
@ -18,11 +18,7 @@ You can go to the [[Ballroom]] or the [[Library]].
|
||||
<<set $location = "Ballroom">>
|
||||
You're in the ballroom.<br>
|
||||
<<set _possibleStories = window.NM.getNStorylets(3)>>
|
||||
<<for _story range _possibleStories>>
|
||||
<<capture _story>>
|
||||
[[_story.description|_story.passage][$payload=_story.payload]]<br>
|
||||
<</capture>>
|
||||
<</for>>
|
||||
<<ShowStorylets _possibleStories>>
|
||||
Or you can go to the [[Library]]
|
||||
|
||||
|
||||
@ -76,11 +72,8 @@ Fortunately, they reply with a rumor of their own -- one you haven't heard yet.
|
||||
<<set $location = "Library">>
|
||||
You're in the library.<br>
|
||||
<<set _possibleStories = window.NM.getNStorylets(3)>>
|
||||
<<for _story range _possibleStories>>
|
||||
<<capture _story>>
|
||||
[[_story.description|_story.passage][$payload=_story.payload]]<br>
|
||||
<</capture>>
|
||||
<</for>>
|
||||
<<ShowStorylets _possibleStories>>
|
||||
|
||||
Or you can go to the [[Ballroom]]
|
||||
|
||||
:: ConversationRoot
|
||||
|
Reference in New Issue
Block a user