giangtranguyen: (Default)
Nguyễn Trà Giang ([personal profile] giangtranguyen) wrote in [community profile] twine_tutorials2017-07-26 01:36 pm

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>>