Formatting text
Text that you prepare for your players will be displayed in their terminal. This can be plain text, but the terminal also supports formatting.
This text is the text that you put in the layers text and script interaction as well as in the script effect show message.
Formatting tags​
This text can be formatted with the following syntax:
| Input | Output |
|---|---|
test | test |
[primary]test[/] | test |
[pri]test[/] | test |
[ok]test[/] | test |
[info]test[/] | test |
[warn]test[/] | test |
[error]test[/] | test |
[mute]test[/] | test |
[b]test[/] | test |
[i]test[/] | test |
[s]test[/] | test |
[u]test[/] | test |
[us]test[/] | test |
The last formatting option will override previous formatting options. So you cannot nest styles.
[ok][u]test[/] will result in test.
But you don't have to end a style before starting a new one.
[ok]green[error]red[/]normal will result in greenrednormal.
Links and images​
Links to other websites and images are supported like this:
| Input | Output |
|---|---|
Link [https://example.com]link[/] | link |
Image !https://dummyimage.com/100x50/1e6ba1/fff! | |
Image link [https://example.com]!https://dummyimage.com/100x50/1e6ba1/fff![/] |
You can style the text of link:
[https://example.com][ok]link[/] will result in link
Full screen editor​
Use the full screen editor when creating larger formatted text.