CONTENT CONTRACT · VERSION 1
ChapterDefinition
Ordered scenes and quests; a chapter starts when a player joins, or once the chapter it follows has passed its last step.
Signature
{ after: (ChapterId)?, id: ContentId, steps: {ChapterStep} }Fields
| Name | Type | Meaning |
|---|---|---|
after | ChapterId | Chapter that must pass its last step before this one starts. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: chapter |
id | ContentId | Chapter identity. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
steps | {ChapterStep} | Sequential steps. Items: 1…256 |