<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://cyril-fiesta.fr/jdr-bot-wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/feed.php">
        <title>JDR-Bot - en:yaml</title>
        <description></description>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/</link>
        <image rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-03T19:32:09+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:actions&amp;rev=1777826863&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:alias&amp;rev=1777826872&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:choix&amp;rev=1777826864&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:conditions&amp;rev=1777826862&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements-globaux&amp;rev=1777826865&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements&amp;rev=1777826865&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:export&amp;rev=1777826873&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:hud&amp;rev=1777826870&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:medias&amp;rev=1777826867&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:modeles&amp;rev=1777826871&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:objets&amp;rev=1777826863&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:options&amp;rev=1777826867&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:syntaxe-base&amp;rev=1777826862&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:tags&amp;rev=1777826872&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:texte&amp;rev=1777826866&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:timers&amp;rev=1777826870&amp;do=diff"/>
                <rdf:li rdf:resource="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:variables&amp;rev=1777826865&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>JDR-Bot</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/</link>
        <url>http://cyril-fiesta.fr/jdr-bot-wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:actions&amp;rev=1777826863&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>actions</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:actions&amp;rev=1777826863&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Custom Actions (YAML)

Custom actions add free-form commands. On web/desktop, the player types the verb directly. On Discord, they use the action command.

Declaration

Local actions live in a room&#039;s actions: block. Global actions live at root level in</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:alias&amp;rev=1777826872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>alias</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:alias&amp;rev=1777826872&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Aliases, Commands and Buttons (YAML)

Modern YAML does not use a reaction: field next to choices or actions. Visible buttons are declared with button:, and typed commands with command: or alias:.

Choices


choices:
  - command: north
    button: &quot;Go north&quot;
    to: north_room</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:choix&amp;rev=1777826864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>choix</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:choix&amp;rev=1777826864&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Choices and Buttons (YAML)

Choices define navigation commands and buttons shown to the player.

Base Syntax


choices:
  - command: north
    button: &quot;Go north&quot;
    to: forest

  - command: back
    to: home


	*  command:</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:conditions&amp;rev=1777826862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>conditions</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:conditions&amp;rev=1777826862&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Conditions (YAML)

Conditions are used in if: fields on events, choices, actions, conditional text blocks, ticks, visible-if: and disabled-if:.

Base Syntax
 Condition  Meaning  ~  Always true fallback.  v_hp_v = 0  Variable equals 0.</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements-globaux&amp;rev=1777826865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>evenements-globaux</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements-globaux&amp;rev=1777826865&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Global Events, Global Aliases and Global Actions (YAML)

global_events:

Global events can run in every room. They are OFF by default unless state: ON is set.


global_events:
  - id: visit_bonus
    state: OFF
    if: ~
    do: &quot;score.+.1&quot;
    text: &quot;Visit bonus: +1 score!&quot;</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements&amp;rev=1777826865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>evenements</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:evenements&amp;rev=1777826865&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Events (YAML)

Events are action blocks triggered automatically when entering a room, or manually through buttons.

Base Syntax


events:
  - if: &quot;condition&quot;
    do: &quot;action&quot;
    text: &quot;Displayed message&quot;


	*  if: — trigger condition.</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:export&amp;rev=1777826873&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>export</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:export&amp;rev=1777826873&amp;do=diff</link>
        <description>Language / Langue : FR | EN

YAML — Standalone and PDF Export

HTML5 Standalone Export

The standalone export generates a ZIP containing a complete game that can run without installing JDR-Bot. It can be hosted on itch.io or any web server.

From the editor:</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:hud&amp;rev=1777826870&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hud</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:hud&amp;rev=1777826870&amp;do=diff</link>
        <description>Language / Langue : FR | EN

HUD — Persistent Panels (YAML)

HUD panels (hud:) display persistent information on the player screen: HP, score, mini-map, countdown, and so on.

HUD panels are visible on web and desktop. On Discord and terminal they are ignored; essential information should also appear in narrative text.</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:medias&amp;rev=1777826867&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>medias</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:medias&amp;rev=1777826867&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Sounds, Images and Videos (YAML)

Media can be used in narrative text, object descriptions and HUD panels.

Sounds


text: |
  The dragon roars! &lt;&lt;https://example.com/sounds/roar.mp3&gt;&gt;
  You take 10 damage.


Supported formats for linting and exports:</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:modeles&amp;rev=1777826871&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>modeles</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:modeles&amp;rev=1777826871&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Models (YAML)

Models are reusable groups of rooms. They are useful for fights, repeated mini-games, puzzles or reusable systems.

Declare a Model


models:
  - name: simple_fight
    variables:
      enemy_hp: enemy_hp
    exits:
      victory: victory
      defeat: defeat
    rooms:
      - id: attack
        text: &quot;You attack!&quot;
        events:
          - if: &quot;v_enemy_hp_v &lt;= 0&quot;
            to: victory
          - if: ~
            do: &quot;enemy_hp.-.3&quot;
            t…</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:objets&amp;rev=1777826863&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>objets</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:objets&amp;rev=1777826863&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Objects and Inventory (YAML)

Objects declared in objects: are added when the player enters the room. They use the native bot commands: take, examine and drop.

Important: YAML objects do not support if: or visible-if: directly. To make an object conditional, use another room, an event, a choice, a tag, or an object with</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:options&amp;rev=1777826867&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>options</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:options&amp;rev=1777826867&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Global Options and Scenario Header (YAML)

Scenario Header


title: &quot;My Scenario · v1.0 · (v_nbparties_o_v plays)&quot;
description: |
  Free description shown in the scenario catalogue
  and in standalone export headers.
markdown: none</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:syntaxe-base&amp;rev=1777826862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntaxe-base</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:syntaxe-base&amp;rev=1777826862&amp;do=diff</link>
        <description>Language / Langue : FR | EN

YAML Syntax — Base

The YAML format is the modern JDR-Bot scenario format. It is easier to read, easier to edit, and more powerful than the legacy .txt format.

File Structure


title: &quot;My scenario&quot;
description: &quot;A short adventure made with JDR-Bot.&quot;
markdown: story
font: serif

vars:
  hp:
    value: 10
    description: &quot;Health points&quot;

rooms:
  - id: start
    text: |
      You wake up in a dark forest.
      A light glows in the distance.
    choices:
      - comm…</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:tags&amp;rev=1777826872&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tags</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:tags&amp;rev=1777826872&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Tags (YAML)

Tags inject shared behavior into several rooms without copying it everywhere.

Declare a Tag


tags:
  - name: dangerous_zone
    events:
      - if: &quot;v_torch_v = 0&quot;
        text: &quot;It is too dark to see.&quot;
        do: &quot;hp.-.2&quot;
    objects:
      - name: note
        description: &quot;A warning: Danger!&quot;</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:texte&amp;rev=1777826866&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>texte</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:texte&amp;rev=1777826866&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Text and Formatting (YAML)

Line Breaks

In a YAML text: | block, line breaks are preserved.

Use +n+ for an explicit line break in formats that do not support real new lines.

Text Box

When content inside [[ and ]] is not an image</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:timers&amp;rev=1777826870&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>timers</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:timers&amp;rev=1777826870&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Timers (YAML)

JDR-Bot provides several timing mechanics.

Visual Pause {{timer:N}}


text: |
  The mechanism starts...
  {{timer:3}}
  The door opens!


Local Timer

A local timer is declared in an event and is cancelled when the player leaves the room.</description>
    </item>
    <item rdf:about="http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:variables&amp;rev=1777826865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-03T16:47:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>variables</title>
        <link>http://cyril-fiesta.fr/jdr-bot-wiki/doku.php?id=en:yaml:variables&amp;rev=1777826865&amp;do=diff</link>
        <description>Language / Langue : FR | EN

Variables (YAML)

Numeric Variables


vars:
  score: 0

  hp:
    value: 10
    description: &quot;Health points&quot;


The description is shown when the player examines the variable or when it is attached to a permanent option.

Text Variables</description>
    </item>
</rdf:RDF>
