/ tools / tutorials / default_replay.json
default_replay.json
  1  {
  2    "version": 1,
  3    "engine": {
  4      "major": 0,
  5      "minor": 1,
  6      "patch": 0
  7    },
  8    "seed": 123,
  9    "abilities": {
 10      "abilities": [
 11        {
 12          "id": 1,
 13          "name": "Fire Bomb",
 14          "target": {
 15            "shape": "single",
 16            "range": 5
 17          },
 18          "effects": [
 19            {
 20              "type": "explode",
 21              "radius": 1,
 22              "effects": [
 23                {
 24                  "type": "spawn_hazard",
 25                  "hazard": "fire",
 26                  "duration": null
 27                }
 28              ]
 29            }
 30          ]
 31        },
 32        {
 33          "id": 2,
 34          "name": "Smoke Bomb",
 35          "target": {
 36            "shape": "single",
 37            "range": 5
 38          },
 39          "effects": [
 40            {
 41              "type": "explode",
 42              "radius": 1,
 43              "effects": [
 44                {
 45                  "type": "spawn_hazard",
 46                  "hazard": "smoke",
 47                  "duration": null
 48                }
 49              ]
 50            }
 51          ]
 52        },
 53        {
 54          "id": 3,
 55          "name": "Toxic Dart",
 56          "target": {
 57            "shape": "single",
 58            "range": 6
 59          },
 60          "effects": [
 61            {
 62              "type": "damage",
 63              "amount": 2
 64            },
 65            {
 66              "type": "apply_status",
 67              "status": "poison",
 68              "duration": 3
 69            }
 70          ]
 71        },
 72        {
 73          "id": 4,
 74          "name": "First Aid",
 75          "target": {
 76            "shape": "single",
 77            "range": 3
 78          },
 79          "effects": [
 80            {
 81              "type": "heal",
 82              "amount": 3
 83            }
 84          ]
 85        },
 86        {
 87          "id": 5,
 88          "name": "Shove",
 89          "target": {
 90            "shape": "single",
 91            "range": 2
 92          },
 93          "effects": [
 94            {
 95              "type": "push",
 96              "distance": 2
 97            }
 98          ]
 99        },
100        {
101          "id": 6,
102          "name": "Hook",
103          "target": {
104            "shape": "single",
105            "range": 3
106          },
107          "effects": [
108            {
109              "type": "pull",
110              "distance": 2
111            }
112          ]
113        },
114        {
115          "id": 7,
116          "name": "Chain Zap",
117          "target": {
118            "shape": "chain",
119            "range": 5,
120            "jumps": 2,
121            "jump_range": 4
122          },
123          "effects": [
124            {
125              "type": "damage",
126              "amount": 2
127            }
128          ]
129        },
130        {
131          "id": 8,
132          "name": "Ricochet Shot",
133          "target": {
134            "shape": "single",
135            "range": 7
136          },
137          "effects": [
138            {
139              "type": "projectile",
140              "speed": 2,
141              "range": 8,
142              "pierce": 0,
143              "ricochet": 1,
144              "effects": [
145                {
146                  "type": "damage",
147                  "amount": 3
148                }
149              ]
150            }
151          ]
152        },
153        {
154          "id": 9,
155          "name": "Shrapnel Grenade",
156          "target": {
157            "shape": "single",
158            "range": 5
159          },
160          "effects": [
161            {
162              "type": "projectile",
163              "speed": 2,
164              "range": 6,
165              "pierce": 0,
166              "ricochet": 0,
167              "effects": [
168                {
169                  "type": "explode",
170                  "radius": 1,
171                  "effects": [
172                    {
173                      "type": "damage",
174                      "amount": 2
175                    }
176                  ]
177                },
178                {
179                  "type": "shrapnel",
180                  "count": 6,
181                  "range": 4,
182                  "speed": 2,
183                  "effects": [
184                    {
185                      "type": "damage",
186                      "amount": 1
187                    }
188                  ]
189                }
190              ]
191            }
192          ]
193        }
194      ]
195    },
196    "reactions": {
197      "reactions": [
198        {
199          "id": 1,
200          "name": "Overwatch",
201          "tags": [
202            "overwatch"
203          ],
204          "trigger": "on_enter",
205          "anchor": "actor",
206          "team": "enemy",
207          "priority": 10,
208          "requires_los": true,
209          "target": {
210            "shape": "single",
211            "range": 6
212          },
213          "effects": [
214            {
215              "type": "damage",
216              "amount": 2
217            }
218          ]
219        },
220        {
221          "id": 2,
222          "name": "Parry",
223          "tags": [
224            "parry"
225          ],
226          "trigger": "on_hit",
227          "anchor": "actor",
228          "team": "enemy",
229          "priority": 20,
230          "requires_los": false,
231          "target": {
232            "shape": "single",
233            "range": 1
234          },
235          "effects": [
236            {
237              "type": "damage",
238              "amount": 1
239            },
240            {
241              "type": "apply_status",
242              "status": "stun",
243              "duration": 1
244            }
245          ]
246        },
247        {
248          "id": 3,
249          "name": "Trap Trigger",
250          "tags": [
251            "trap"
252          ],
253          "trigger": "on_enter",
254          "anchor": "actor",
255          "team": "enemy",
256          "priority": 5,
257          "requires_los": false,
258          "target": {
259            "shape": "single",
260            "range": 1
261          },
262          "effects": [
263            {
264              "type": "spawn_hazard",
265              "hazard": "fire",
266              "duration": 2
267            }
268          ]
269        }
270      ]
271    },
272    "director": {
273      "version": 1,
274      "global_bark_cooldown": 2,
275      "barks": [
276        {
277          "id": "alert_spotted",
278          "text_id": "bark.alert.spotted",
279          "trigger": "on_spotted",
280          "cooldown": 6,
281          "priority": 10,
282          "min_damage": null,
283          "max_hp_pct": null,
284          "team": null,
285          "chance": 70
286        },
287        {
288          "id": "damage_heavy",
289          "text_id": "bark.hit.heavy",
290          "trigger": "on_damage",
291          "cooldown": 6,
292          "priority": 8,
293          "min_damage": 4,
294          "max_hp_pct": null,
295          "team": null,
296          "chance": 60
297        },
298        {
299          "id": "damage_light",
300          "text_id": "bark.hit.light",
301          "trigger": "on_damage",
302          "cooldown": 4,
303          "priority": 5,
304          "min_damage": 1,
305          "max_hp_pct": null,
306          "team": null,
307          "chance": 50
308        },
309        {
310          "id": "kill_confirmed",
311          "text_id": "bark.kill.confirmed",
312          "trigger": "on_kill",
313          "cooldown": 8,
314          "priority": 12,
315          "min_damage": null,
316          "max_hp_pct": null,
317          "team": null,
318          "chance": 70
319        },
320        {
321          "id": "low_hp",
322          "text_id": "bark.low_hp",
323          "trigger": "on_low_hp",
324          "cooldown": 10,
325          "priority": 9,
326          "min_damage": null,
327          "max_hp_pct": 35,
328          "team": null,
329          "chance": 80
330        }
331      ],
332      "music": [
333        {
334          "id": "alert",
335          "min_tension": 40,
336          "max_tension": 69,
337          "hold_ticks": 4
338        },
339        {
340          "id": "ambient",
341          "min_tension": 0,
342          "max_tension": 39,
343          "hold_ticks": 4
344        },
345        {
346          "id": "combat",
347          "min_tension": 70,
348          "max_tension": 84,
349          "hold_ticks": 6
350        },
351        {
352          "id": "critical",
353          "min_tension": 85,
354          "max_tension": null,
355          "hold_ticks": 6
356        }
357      ],
358      "camera": [
359        {
360          "id": "big_hit",
361          "trigger": "on_damage",
362          "zoom": 1300,
363          "duration": 5,
364          "return_duration": 8,
365          "cooldown": 8,
366          "priority": 6,
367          "min_damage": 4,
368          "team": null,
369          "chance": 60
370        },
371        {
372          "id": "kill_focus",
373          "trigger": "on_kill",
374          "zoom": 1400,
375          "duration": 6,
376          "return_duration": 10,
377          "cooldown": 12,
378          "priority": 7,
379          "min_damage": null,
380          "team": null,
381          "chance": 70
382        },
383        {
384          "id": "low_hp_focus",
385          "trigger": "on_low_hp",
386          "zoom": 1250,
387          "duration": 6,
388          "return_duration": 10,
389          "cooldown": 12,
390          "priority": 4,
391          "min_damage": null,
392          "team": null,
393          "chance": 40
394        },
395        {
396          "id": "spot_focus",
397          "trigger": "on_spotted",
398          "zoom": 1200,
399          "duration": 6,
400          "return_duration": 10,
401          "cooldown": 12,
402          "priority": 5,
403          "min_damage": null,
404          "team": null,
405          "chance": 50
406        }
407      ]
408    },
409    "turns": [
410      {
411        "intents": [
412          {
413            "Move": {
414              "entity_id": 1,
415              "target": {
416                "x": 4,
417                "y": 4
418              }
419            }
420          }
421        ],
422        "ticks": 1,
423        "event_hash": 15057470847245032056,
424        "world_hash": 12765942229487601778
425      },
426      {
427        "intents": [
428          {
429            "Attack": {
430              "entity_id": 1,
431              "target_id": 3
432            }
433          }
434        ],
435        "ticks": 1,
436        "event_hash": 5982073128606351962,
437        "world_hash": 3426407242574567867
438      },
439      {
440        "intents": [
441          {
442            "Use": {
443              "entity_id": 1,
444              "ability_id": 1,
445              "target": {
446                "x": 9,
447                "y": 4
448              }
449            }
450          }
451        ],
452        "ticks": 1,
453        "event_hash": 13434869978246024588,
454        "world_hash": 16269725827882944055
455      }
456    ]
457  }