Expand description
Book texts are Yog text (yog_ui::rich: {b|…}, {#rrggbb|…}, …)
with words of the book’s own, turned into Yog text’s when the book is
prepared:
| Write | Shows |
|---|---|
{accent|term} | a term, in the book’s accent color |
{link=entry|text} | a link to an entry: underlined, in the link color |
{key|sprint} | the key a binding is bound to (sprint, a mod’s mymod:xray) |
Functions§
- resolve
textwith the book’s words (accent,link=…,key) as Yog text’s.- set_
key_ namer - Where
{key|…}gets its keys’ names (the game’s; the binding itself without one).
Type Aliases§
- KeyNamer
- The key a binding is bound to, as the game’s controls show it; none when there’s no such binding (or no game).