Variables and Conditions
There was a cat named Lamar.
[[next]]Lamar wanted to get a gift for his sister, Paisley.
Should he get a [[bird]] or a [[mouse]]?Lamar gets a bird.
(set: $gift to "bird")
[[passage 3]]Lamar decides to get a nice, plump mouse for Paisley.
(set: $gift to "mouse")
[[passage 3]] (if: $gift is "bird")[Paisley loves to eat birds, so she is thrilled!
[[good end]]
]
(if: $gift is "mouse")[Paisley hates mice, so she smacks Lamar right in the face!
[[bad end]]
]Double-click this passage to edit it.Double-click this passage to edit it.Ted went to the grocery store to get milk.
But when he was there, he saw the most beautiful kitchen sponge he had ever seen.
Ted knew his wife would be mad if he didn't come home with milk, but he really wanted that sponge, and he could only afford one of them.
[[milk]]
[[sponge]]Double-click this passage to edit it.Double-click this passage to edit it.Luke has to figure out what color to paint his new godzilla character.
[[blue]]
[[green]]
[[brown]]luke chooses blue.
(set: $color to 1)
[[painted]]green
(set: $color to 2)
[[painted]]brown
(set: $color to 3)
[[painted]] (if: $color is 1)[this is going to be a very blue godzilla
[[water godzilla]]
]
(if: $color is 2)[ah, godzilla's natural color.
[[killing tokyo]]
]
(if: $color is 3)[ok, brown is gross
[[playing in the mud godzilla]]
]Double-click this passage to edit it.Double-click this passage to edit it.Double-click this passage to edit it.