2017-07-29

How To Make A Points System

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

For example:
 
(set: $kiyokoAffection to 0)

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

For example:

(set: $kiyokoAffection to $kiyokoAffection + 5)

or
 
(set: $kiyokoAffection to it + 5)

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

For example:
 
(if: $kiyokoAffection >= 75)[\
I love you!
](else-if: $kiyokoAffection >= 50)[\
I like you.
](else-if: $kiyokoAffection >= 25)[\
I don't like you
](else:)[\
I dislike you
]

How To Store Multiple Events In The Same Passage

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

For example:

(set: $HinataConfession to 0)

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

For example:

(set: $HinataConfession to it + 1)\
(if: $HinataConfession is 1)[\
So this is the first event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 2)[\
So this is the second event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 3)[\
So this is the third event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 4)[\
So this is the fourth event.
 
[[Go back|Second]]]\
\
(else:)[So this is the last event.]