en:txt:texte
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:txt:texte [2026/05/03 18:47] – Harmonize FR/EN language switch cyrilfiesta | en:txt:texte [2026/08/31 20:48] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| **Language / Langue :** [[fr: | **Language / Langue :** [[fr: | ||
| - | ====== | + | ====== Text and formatting (.txt format) |
| - | Legacy TXT scenarios support plain text, inline | + | ===== Special characters ===== |
| + | |||
| + | ^ Syntax ^ Effect ^ | ||
| + | | '' | ||
| + | | ''&&'' | ||
| + | | ''##'' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | ===== Sounds and music ===== | ||
| + | |||
| + | To play a sound, surround its URL with ''<<'' | ||
| + | |||
| + | < | ||
| + | The monster roars! << | ||
| + | </ | ||
| + | |||
| + | Supported formats: mp3, ogg, wav. The bot joins the '' | ||
| + | |||
| + | If a sound is already playing, it is stopped before the new one starts. | ||
| + | |||
| + | ===== Images ===== | ||
| + | |||
| + | To display an image, surround its URL with '' | ||
| + | |||
| + | < | ||
| + | [[https:// | ||
| + | </ | ||
| + | |||
| + | ===== Variables inside text ===== | ||
| + | |||
| + | To display the value of a numeric variable: '' | ||
| + | |||
| + | To display the value of a text variable: '' | ||
| + | |||
| + | < | ||
| + | You have v_hp_v hit points left. | ||
| + | Hello t_player_name_t, | ||
| + | </ | ||
| + | |||
| + | ===== System | ||
| + | |||
| + | ^ Variable ^ Value ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | These names stay in French, even in an English scenario: they are read by the engine itself. | ||
| + | |||
| + | ===== Line breaks | ||
| + | |||
| + | * '' | ||
| + | * ''&&'' | ||
| + | |||
| + | < | ||
| + | This sentence is long.+n+It continues | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | lamp|table|Table description|You take the lamp|The lamp.&& | ||
| + | key|drawer|Drawer description|You take the key|The key. | ||
| + | </ | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * ''<< | ||
en/txt/texte.1777826878.txt.gz · Dernière modification : de cyrilfiesta
