Introduction
Learn what we're about, and get started!
Quick start
https://hamish-milne.github.io/moontale/format.js# An example Moontale passage
I can use all the standard formatting: **bold**, _italics_ and so on.
Even lists:
1. First
2. Second
3. Third
To link to another passage, the standard Twine syntax works:
* [[Go forward->Passage 2]]
* [[Passage 0<-Go back]]
* [[More information]]
To add Lua code, I can use a script block like this: {$
x = 2
print(x) -- This will write to the debugging console
$}
If I've set any variables, I can use them in the text. The value of X is $x!
For more complex expressions, I can use the expression syntax:
2 + $x = <$ 2 + x $>
The '< >' means that the result will be displayed.
Some variables/expressions, called 'changers', can be applied to content in the passage:
$If(x == 2)[Yes! My logic is sound.]
$Else[The walls of reality are collapsing!]Motivation
Who is this for?
Who is this not for?
Last updated