2017-07-26

How To Remove The Menu Bar

Just copy and paste the code into the Javascript.

For example:

$('#ui-bar').remove();
$(document.head).find('#style-ui-bar').remove();

How To Set Up A Points System

Just copy and paste the code into the passage StoryInit, and then adjust it to your liking.

For example:

<<set $kiyokoAffection to 0>>

Just copy and paste the code into any passage, and then adjust it to your liking.

For example: 

<<set $kiyokoAffection to $kiyokoAffection + 5>>

Just copy and paste the code into the passage that ends the game, and then adjust it to your liking.

For example: 

<<if $affection gte 75>>
I love you!
<<elseif $affection gte 50>>
I like you.
<<elseif $affection gte 25>>
I don't like you
<<else>>
I dislike you
<</if>>

How To Use Random Events

Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

<<set $pies = [ "Blueberry", "Cherry", "Cream", "Pecan", "Pumpkin" ]>>\
\
<<set _randomFlavor = $pies.random()>>\
\
<<if _randomFlavor == "Blueberry">>\
<<print "You're hit in the face with a blueberry pie!">>\
<<elseif _randomFlavor == "Cherry">>\
<<print "A cherry pie flies over your head, what a waste you love cherry!">>\
<<elseif _randomFlavor == "Cream">>\
<<print "A simple cream pie hits the wall behind you, making a simple splatter.">>\
<<elseif _randomFlavor == "Pecan">>\
<<print "A pecan pie tin rolls along the floor, just stuffing and chunks of crust left in it.">>
<<else>>\
<<print "A pumpkin pie takes flight and ruptures mid-air, crumbling all over you!">>
<</if>>\