/ examples / reference_game / content / tutorial.json
tutorial.json
 1  {
 2    "version": 1,
 3    "settings": {
 4      "auto_start": true,
 5      "allow_skip": true,
 6      "show_step_count": true
 7    },
 8    "steps": [
 9      {
10        "id": "plan_intro",
11        "title": "Plan Phase: Queue Actions",
12        "text": "Welcome to DYNOSTIC. This engine is turn-based, but you PLAN actions first. In PLAN, left-click your unit (teal) and right-click a tile to queue a move. You can change modes with 1/2/3 (or F/S) and press C to clear a plan.",
13        "highlight": { "type": "team", "team": 0 },
14        "trigger": { "type": "phase", "phase": "plan" },
15        "complete": {
16          "any": [
17            { "type": "plan", "intent": "move" },
18            { "type": "plan", "intent": "attack" },
19            { "type": "plan", "intent": "use" }
20          ]
21        }
22      },
23      {
24        "id": "commit_intro",
25        "title": "Commit Phase: Resolve",
26        "text": "When you are ready, press Space to COMMIT. The engine locks your queued actions and switches to EXECUTE to play them out.",
27        "trigger": { "type": "phase", "phase": "plan" },
28        "complete": { "type": "phase", "phase": "execute" }
29      },
30      {
31        "id": "execute_watch",
32        "title": "Execute Phase: Watch the Results",
33        "text": "During EXECUTE the sim runs deterministically: movement, hits, damage, and status effects. When it finishes you return to PLAN to queue the next turn. Try moving into range and right-click an enemy to attack. Press F8 to hide/show this tutorial (Shift+F8 to skip).",
34        "trigger": { "type": "phase", "phase": "execute" },
35        "complete": { "type": "phase", "phase": "plan" }
36      }
37    ]
38  }