giangtranguyen: (Default)
[personal profile] giangtranguyen
 Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(if: $STR >= 75 & $DEX >= 60)[\
I did it!]
(else-if: $STR >= 20 & $DEX >= 20)[\
Good job!]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and past the code into the passage, and then adjust it to your liking.

For example:

(set: $value to true)

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

For example:

(if: $value is true)[Insert text here.]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(link: "first link")[(set: $x to true)(goto: "new passage")]
(link: "second link")[(set: $y to true)(goto: "new passage")]
(link: "third link")[(set: $z to true)(goto: "new passage")]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(set: $sec to 0)
(live:1s)[
 Seconds: $sec
 (set: $sec to it + 1)
 (if: $sec > 3)[3 seconds passed]
 (if: $sec > 5)[(go-to:"next")]
]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:
 
(set: $counter to 10)\
You have |amount>[$counter] seconds left!\
\
(live: 1s)[\
(set: $counter to it - 1)\
(if: $counter is 0)[(go-to: "Next Passage")]\
(replace: ?amount)[$counter]\
]

Or 

(set: $time to 2)
(live: 1s)[(set: $time to it - 1)
(if: $time is 0)[(stop:)(go-to: "Next Passage")]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(link-goto: "Open red door", (either: "lion room", "empty room"))
giangtranguyen: (Default)
[personal profile] giangtranguyen
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.]
giangtranguyen: (Default)
[personal profile] giangtranguyen
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
]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into Story Stylesheets, and then adjust it to your liking.

For example:

tw-story[tags~="yachi"] {
background: #ffffff; url("yachi.jpg");
}
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(set:$cl to (a:
"where were you?",
"what happened?",
"why weren't you here?"))
(link-repeat:"|this>[what should you say?]")[(replace:?this)[(print: $cl's 1st)](set:$cl to(rotated:1, ...$cl))]
 
Page generated Sunday, 22 June 2025 12:25 pm
Powered by Dreamwidth Studios