Scenario conditions in dialogs: option if= hides choices, when moved here from stat checks; command schemas

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
cthangoverandClaude Opus 5.5 committed 2026-10-24 10:01:11 +02:00
1 parent dde5262aa0
commit 68ed11cadc
14 files changed
+542 -3

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
dialog/schema/builtin/text = Line
dialog/schema/builtin/text_desc = A dialog line; the locale key is optional
dialog/schema/field/text = Text
dialog/schema/field/locale_key = Locale key
dialog/schema/builtin/ptext = Narration
dialog/schema/builtin/ptext_desc = The narrator text, fills ${var}
dialog/schema/builtin/flag = Story flag
dialog/schema/builtin/flag_desc = A saved mark that conditions react to
dialog/schema/field/flag = Flag
dialog/schema/field/value = Value
dialog/schema/builtin/switch_scene = Switch scene
dialog/schema/builtin/switch_scene_desc = A novel scene or a map — a map is a scene too
dialog/schema/field/scene = Scene
dialog/schema/builtin/goto = Go to a label
dialog/schema/builtin/goto_desc = An unconditional jump
dialog/schema/field/label = Label
dialog/schema/builtin/end = End the dialog
dialog/schema/builtin/end_desc = Closes the dialog box
dialog/schema/checks/when = When — jump
dialog/schema/checks/when_desc = A conditional jump on the shared condition language: flags, quests, stats, gear
dialog/schema/checks/arrow_true = When true, go to
dialog/schema/field/condition = Condition
dialog/schema/field/else = Else label
dialog/schema/builtin/select = Choice
dialog/schema/builtin/select_desc = The question before the answers; option lines follow
dialog/schema/builtin/option = Answer
dialog/schema/builtin/option_desc = An answer and the label it leads to; with a condition it is shown only while it holds
dialog/schema/field/option_if = Show if
dialog/schema/builtin/option_if_desc = For example archetype(rogue) or "stat(cha) >= 5"; empty — always