Skip to main content

Module text

Module text 

Source
Expand description

{token} text: a game’s text names what is filled in when it is shown between braces (Hello, {name}.). split_tokens cuts such text into its plain parts and its tokens; what a token stands for is the game’s.

Enums§

Part
A piece of text: plain text, a {token}, or a { with no } after it (with the rest of the text).

Functions§

split_tokens
Splits text into plain text and {tokens}.