Outils pour utilisateurs

Outils du site


en:yaml:options

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:yaml:options [2026/10/09 23:52] – Documentation 4.16 : generation et mises a jour de l'editeur cyrilfiestaen:yaml:options [2026/10/18 23:46] (Version actuelle) – Relecture 4.17 : clarifications, exemples et typographie cyrilfiesta
Ligne 22: Ligne 22:
 ''category:'' accepts ''fiction'', ''escape-game'', ''tutoriel'', ''exemple'' or ''divers''. ''scenario_tags:'' is a free list used by statistics and global achievements. ''category:'' accepts ''fiction'', ''escape-game'', ''tutoriel'', ''exemple'' or ''divers''. ''scenario_tags:'' is a free list used by statistics and global achievements.
  
-Do not put ''|'' in the title: it is used as a separator in catalogue entries.+Do not put ''<nowiki>|</nowiki>'' in the title: it is used as a separator in catalogue entries.
  
 ===== markdown: ===== ===== markdown: =====
Ligne 48: Ligne 48:
 <code yaml> <code yaml>
 options: options:
-  refresh: "🔄" +  refresh: "Refresh" 
-  inventory: "🎒" +  inventory: "Inventory" 
-  previous: "↩️" +  previous: "Previous" 
-  v_score_v: "⭐" +  v_score_v: "Score" 
-  home: "🏠" +  home: "Home" 
-  url1: "https://cyril-fiesta.fr/jdr-bot-wiki/|📚 Wiki"+  url1: "https://cyril-fiesta.fr/jdr-bot-wiki/|Wiki"
 </code> </code>
  
Ligne 62: Ligne 62:
 | ''v_name_v'' | Show a variable value and description | | ''v_name_v'' | Show a variable value and description |
 | ''room_id'' | Provide direct access to a room | | ''room_id'' | Provide direct access to a room |
-| ''urlN'' | Open the link placed before the ''|'' character |+| ''urlN'' | Open the link placed before the ''<nowiki>|</nowiki>'' character |
  
 If a key points to an object or piece of furniture in the current room instead of a room, JDR-Bot automatically examines it. If a key points to an object or piece of furniture in the current room instead of a room, JDR-Bot automatically examines it.
Ligne 109: Ligne 109:
  
 Catalogue tags, declared in ''liste_scenarios.txt'', can be freely chosen: they appear on cards and are included in searches. Known tags keep their translations and tabs. They are separate from [[en:yaml:tags|room tags]], which add behaviour to the scenario. Catalogue tags, declared in ''liste_scenarios.txt'', can be freely chosen: they appear on cards and are included in searches. Known tags keep their translations and tabs. They are separate from [[en:yaml:tags|room tags]], which add behaviour to the scenario.
 +
 +===== Command echo (4.17) =====
 +
 +<code yaml>
 +command_echo: false
 +</code>
 +
 +Echo is disabled by default. ''true'' shows commands and button clicks in the game log. A room can override the global setting.
 +
 +''shortcuts:'' lists are available at the root and in rooms: see [[en:yaml:raccourcis|Keyboard, mouse and gamepad]]. Phone mode adds ''phone_auto_orientation:'': see [[en:ui:phone|Phone orientation]].
  
en/yaml/options.1791582760.txt.gz · Dernière modification : de cyrilfiesta