content
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
content
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game.story.content — every word of Emberbrook's opening, as data. A SEQUENCE is a list of nodes, played in order: { "who", "text" } a spoken line (who = a key of SPEAKERS) { "amelia", "text", "worried" } third slot = Amelia's mood (neutral|happy|worried) { "who", "question?", choices = { a line that ends in a reply menu; { "Reply text", { ...sequence } }, each reply plays its own sequence, { "Other reply", { ... } }, then the outer sequence continues } } { set = "flag" } / { unset = "flag" } story flags (game.story.dialogue.flags) { objective = "text" } the quest line in the top-left corner { event = "name" } Story.on("name", fn) hooks for other systems A CONVERSATION is a list of branches; the first whose `when` holds plays. `when` = list of flag names, "!" prefix = flag must be unset. No `when` = always.
before(conv: any, index: number, branches: { any }) → void
| arg | type | description |
|---|---|---|
| conv | any | |
| index | number | |
| branches | { any } |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.