Facts

A fact represents some value which you can use later in the story. This is often called a variable in programming languages. There are three of facts types: text, true/false, and number facts.

Facts

All fact types can be set by using the Update fact action. Text facts and true/false facts can be set to values which you type in when you are writing the story. Number facts may be set to values you have typed in, but also to the value of other number facts, and to values calculated using simple mathematical expressions. Text facts which have not been set will initially be set to blank text. True/false facts which have not been set will initially be false. Number facts which have not been set will initially have the value 0 (zero).

True/false and number facts can be tested in conditions. A true/false fact may be tested for whether it is true or false. Number facts may be tested for whether they are equal to either a value you have typed in when writing the story, or another number fact.