substitutefor

Contribute to the catalog

Improve Chapbook

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • sugarcube — Runtime and presentation for choice-based Twine 2 stories
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Chapbook overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Chapbook guide introduction

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · The vars section

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Conditional display

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Continuity between sessions

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · State backstage

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Publishing models

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · Chapbook audio

Source 8

Source details

To remove this source, first uncheck its citations.

Source 9 · Chapbook version history

Source 9

Source details

To remove this source, first uncheck its citations.

Source 10 · Chapbook MIT license

Source 10

Source details

To remove this source, first uncheck its citations.

Source 11 · SugarCube overview

Source 11

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Passage state and text

Section 1

Sources for paragraph 1
2 · Conditional structure

Section 2

Sources for paragraph 1
3 · Persistence and restarting

Section 3

Sources for paragraph 1
4 · Backstage testing

Section 4

Sources for paragraph 1
5 · Media delivery

Section 5

Sources for paragraph 1
6 · Licensing and version changes

Section 6

Sources for paragraph 1
7 · Substitution considerations

Section 7

Linked to sugarcube. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities4

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Chapbook

Twine 2 story format with passage variables, presentation modifiers and browser-local progress.

Overview

Chapbook is a story format for Twine 2: it supplies the runtime and presentation of a published browser story rather than replacing the Twine editor. It combines linked passages with a dedicated variables section, text modifiers and inserts. Its authoring tools include a backstage view for inspecting state and revisiting test scenarios.[1][2][6]

Passage state and text

A passage can begin with a vars section separated from the displayed text. Its assignments take effect when the passage is visited, including when the passage is embedded elsewhere. An expression is evaluated when assigned rather than continuously recalculated. An underscore prefix can be a naming convention for short-lived values, but Chapbook does not automatically enforce the temporary lifetime that some other formats associate with it.[3]

Conditional structure

Conditional modifiers affect the text immediately following them and cannot directly nest. More involved conditions therefore need explicit combined expressions, helper variables or separately embedded passages. This makes source structure a material consideration when switching formats: visually similar prose can depend on quite different rules for when content appears. Chapbook's guide illustrates rewriting nested SugarCube logic rather than simply changing the selected format.[4]

Persistence and restarting

The documented default saves player state at passage navigation using local storage. Progress belongs to that browser and device, so changing browsers or removing stored browser data can interrupt continuity. A link back to the opening passage does not clear accumulated variables; a restart insert is the intended way to begin again. This is separate from a cloud account or a guaranteed portable save-file workflow.[5]

Backstage testing

Backstage exposes variables for inspection and direct value changes. Authors can capture a state snapshot at a useful point and restore it while testing a later scene, while the history view records state changes during navigation. These snapshots are browser-local development aids. They should not be confused with a reviewed player-facing save interface or proof that all narrative branches have been exercised.[6]

Media delivery

The publishing guide describes distributing assets beside the story with relative paths, or loading them from external hosts. The latter retains a network dependency. Audio distinguishes looping ambient sound from one-shot effects and supports text descriptions as an alternative when sound is unavailable. Browser autoplay policies can prevent immediate playback on reopening a story, so media behavior needs testing in the delivered environment.[7][8]

Licensing and version changes

Chapbook uses the MIT license and permits commercial stories. Version changes still matter: the 2.0 release changed extension registration and page structure, while 2.3.1 removed the Unsplash-image insert after its external API stopped working. Projects with custom JavaScript or media integrations need to examine those changes instead of assuming that a minor-looking runtime replacement preserves every extension.[1][9][10]

Substitution considerations

Chapbook can substitute for SugarCube as the runtime for a new Twine 2 choice story when its variables-first organization and presentation tools fit the design. It complements the editor rather than replacing it. Existing macros, state conventions and save behavior are migration work, not interchangeable components. No hands-on conversion or cross-browser testing was performed.[2][3][4][5][11]

References

  1. Chapbook overview

    Twine 2 format and MIT commercial-use statement

    vendor · retrieved 2026-10-07
  2. Chapbook guide introduction

    Runtime role, Twine version scope and design choices

    vendor · retrieved 2026-10-07
  3. The vars section

    Evaluation, naming and underscore convention

    vendor · retrieved 2026-10-07
  4. Conditional display

    Non-nesting modifiers and explicit SugarCube comparison

    vendor · retrieved 2026-10-07
  5. Continuity between sessions

    Passage autosaves, browser-local state and restart semantics

    vendor · retrieved 2026-10-07
  6. State backstage

    Variable editing, local snapshots and history

    vendor · retrieved 2026-10-07
  7. Publishing models

    Relative assets and externally hosted media workflows

    vendor · retrieved 2026-10-07
  8. Chapbook audio

    Ambient/effect distinction, text descriptions and autoplay limits

    vendor · retrieved 2026-10-07
  9. Chapbook version history

    2.0 extension/state changes and 2.3.1 removed Unsplash insert

    vendor · retrieved 2026-10-07
  10. Chapbook MIT license

    Permission and copyright-notice requirement

    vendor · retrieved 2026-10-07
  11. SugarCube overview

    Alternative Twine/Twee story format

    vendor · retrieved 2026-10-07

Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.