diff --git a/examples/ball_game.html b/examples/ball_game.html deleted file mode 100644 index e45a360..0000000 --- a/examples/ball_game.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - -Pansexual Space Regency Party (working title) - - - - - - - - - - - - - - - - -
-
-
Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
-
Loading…
-
- - - - diff --git a/examples/ball_game.js b/examples/ball_game.js deleted file mode 100644 index 844b2b2..0000000 --- a/examples/ball_game.js +++ /dev/null @@ -1,85 +0,0 @@ -// Set up narrative model -// ----------------------------------------------------------------------- - -// Set up NPCs -// ------------------------------------------ - -var firstNames = { - "m": ["William", "George", "Jose", "Kwame", "Vin", "Alexander", "Martin", "Daniel", - "Nicholas", "Sorin", "Vlad", "Matthew", "Octavius"], - "f": ["Alice", "Bella", "Charlotte", "Doreen", "Francesca", "Willhelmina", "Xenia", - "Juliette", "Rosemary", "Margot"] -}; - -var lastNames = ["Abar", "Bridgewater", "Clarence", "Delmar", "Ellseworth", "Fox", - "Williams", "Rose"]; - -var pronouns = { - "m": {he: "he", his: "his", him: "him"}, - "f": {he: "she", his: "hers", him: "her"} -} - -var nChars = 10; -State.variables.characters = []; -for (let id=0; id= 0) { - let storylet = { - passage: "DancingRoot", - description: "Dance with " + char.firstname + " " + char.lastname, - priority: 0, - payload: {character: char} - } - storylets.push(storylet); - } - } - return storylets; - } -}; - - -StoryManager.storylets["Conversation"] = { - name: "Conversation", - tags: ["interaction"], - generate: function() { - let storylets = []; - if (State.variables.location != "Library") return storylets; - for (let id in State.variables.characters) { - let char = State.variables.characters[id]; - if (char.friendship >= 0) { - let storylet = { - passage: "ConversationRoot", - description: "Talk with " + char.firstname + " " + char.lastname, - priority: 0, - payload: {character: char} - } - storylets.push(storylet); - } - } - return storylets; - } -}; diff --git a/examples/ball_game.tw b/examples/ball_game.tw deleted file mode 100644 index cdb684e..0000000 --- a/examples/ball_game.tw +++ /dev/null @@ -1,108 +0,0 @@ -:: StoryTitle -Pansexual Space Regency Party (working title) - -:: StoryData -{ - "ifid": "E9DEA250-BBFD-4C92-8E8C-53212FBB2083" -} - -:: Story JavaScript [script] -Config.passages.nobr = true; // Deal with linebreaks. - -:: Start -<> -<> -You can go to the [[Ballroom]] or the [[Library]]. - -:: Ballroom -<> -You're in the ballroom.
-<> -<> -Or you can go to the [[Library]] - - -:: DancingRoot -<> -You take <>'s hand and step onto the dance floor. As you dance, you can -talk about [[poetry|Conversation-Poetry-Dancing]], [[trade gossip|Conversation-Gossip]], the latest -[[current events|Conversation-Politics-Dancing]] -- or you can [[dance in silence|Dance-Quietly]].
- - -:: Conversation-Poetry-Dancing -< $partner.poetry>> -(Poetry success) -<> -(Poetry fail) -<> -(Poetry up) -<> -<> -<> -
-[[Return | Ballroom]] - -:: Conversation-Politics-Dancing -(This is inappropriate to do while dancing) -<> -[[Return | Ballroom]] - -:: Dance-Quietly -(Dance quietly, some chance of improving romance goes here) -[[Return | Ballroom]] - -:: Conversation-Gossip -< $partner.gossip>> -"I heard-" you begin archy, and are able to share some juicy gossip you heard earlier, earning a smile. -<> -You bring up a rumor you read earlier, but you can see it's old news already. -<> -Fortunately, they reply with a rumor of their own -- one you haven't heard yet. -<> -<> -<> -
-<> -[[Return | Ballroom]] -<> -[[Return | Library]] -<> - -:: Library -<> -You're in the library.
-<> -<> - -Or you can go to the [[Ballroom]] - -:: ConversationRoot -<> -You talk to $partner.firstname in the library. You can talk about [[poetry|Conversation-Poetry-Talking]], [[trade gossip|Conversation-Gossip]], or the latest -[[current events|Conversation-Politics-Talking]].
- - -:: Conversation-Poetry-Talking -< $partner.poetry>> -(Poetry success) -<> -(Poetry fail) -<> -(Poetry up) -<> -<> -<> -
-[[Return | Library]] - - -:: Conversation-Politics-Talking -<> -<> -(Politics conversation success) -<> -<> -(Politics conversation failure) -<> -[[Return | Library]] -