Changing API from NarrativeManager to StoryManager

This commit is contained in:
David Masad
2021-01-28 14:33:12 -05:00
parent 0413480900
commit 51dd88d89e
7 changed files with 30 additions and 30 deletions

View File

@ -15,7 +15,7 @@ State.variables.characters = [
{name: "Claudio Croix"}
]
NarrativeManager.storylets["Conversation"] = {
StoryManager.storylets["Conversation"] = {
name: "Conversation",
tags: [],
generate: function() {
@ -36,8 +36,8 @@ NarrativeManager.storylets["Conversation"] = {
:: Start
You stand at the edge of the grand ballroom in the Duchess's palace.
<<set _possibleStories = window.NM.getNStorylets(3)>>
You stand at the edge of the grand ballroom in the Duchess's palace.<br>
<<set _possibleStories = window.SM.getNStorylets(3)>>
<<ShowStorylets _possibleStories>>