software · Q993
Narrat
Script-based narrative game engine with dialogue, skill checks, inventory and quests.
Overview
Narrat is a game engine for interactive fiction and narrative role-playing games. Authors write dialogue and branching logic in its own scripting language, with built-in systems for skills, items and quests. Its browser-oriented presentation combines dialogue, character portraits and interactive screens; desktop distribution uses a separate packaging workflow.[1][5]
Stateful narrative mechanics
Skills can gain experience and levels, influence choices, or trigger passive narrative checks. Their configuration controls dice and difficulty behavior, while TypeScript overrides allow more specialized rules. Inventory and quest systems complement these checks. A writer can therefore build a story where character state changes available outcomes without first designing all of those interfaces from scratch; the actual rules still require configuration and testing.[1][3]
Saving and replay boundaries
The saving guide describes browser local storage and checkpoints generated when entering a label. Loading can replay dialogue within that label rather than restoring an exact line. It distinguishes a shared autosave with manual slots from per-playthrough autosave slots. A stable save-file identifier is important for existing saves, and dynamic configuration changes may need a reload hook. These details affect scene length and the placement of manual-save prompts.[4]
Building and distribution
A web build produces a static site that must be served over HTTP rather than opened directly as a local file. The desktop template packages the web application using Electron and Electron Forge; makers and output packages vary by operating system. Shipping the generated distribution is distinct from sharing the source project. These documented routes do not establish console certification or a universally portable executable.[5]
Localization and upgrades
The current localization guide documents support beginning with Narrat 4.0.0, using language configuration and translation resources for player-facing text. Existing projects need more than a package-number change: the migration guide identifies Node.js 22 or newer, a changed stylesheet import, and optional template, build-script and settings-interface updates. Custom code and styling need reconciliation rather than blind replacement. These version-specific documents are more useful for migration than older general feature summaries.[6][7]
Licensing
The engine's MIT license permits modification and commercial distribution with its copyright and permission notices retained. It does not provide a warranty. That engine permission is separate from rights in a game's writing, art, audio and other dependencies, so adopting the template does not by itself settle the terms for every part of a finished release.[5][8]
Substitution considerations
Narrat can substitute for Twine for choice-driven browser fiction, particularly when skills and persistent character state are central to the design. The tradeoff is a script-and-project workflow rather than Twine's visual passage organization. This assessment concerns creating an experience with overlapping narrative tasks; it does not establish automatic conversion of Twine passages, story-format macros or existing saves. No hands-on migration or platform testing was performed.[1][2][4][9]
Capabilities & limitations
Branching dialogue and skill checks
supportedScripts support choices and variables; configured skills can determine active or passive narrative outcomes.[2][3]
Choice-driven narrative games with RPG-style state · Web, Windows desktop packaging, macOS desktop packaging, Linux desktop packaging · Version, build and integration requirements apply
2 sources · check evidence
Labels, jump/run, indentation and variables
vendor · checked 2026-10-07Active and passive checks, configuration and TypeScript overrides
vendor · checked 2026-10-07Save checkpoints
limitedDocumented saves resume at a label boundary rather than the exact dialogue line; browser storage and stable save identifiers matter.[4]
Choice-driven narrative games with RPG-style state · Web, Windows desktop packaging, macOS desktop packaging, Linux desktop packaging · Version, build and integration requirements apply
1 source · check evidence
Local storage, label checkpoints, save slots and reload hooks
vendor · checked 2026-10-07Localization
supportedThe version 4 documentation describes i18next-backed language resources and configuration; older games need migration.[6][7]
Choice-driven narrative games with RPG-style state · Web, Windows desktop packaging, macOS desktop packaging, Linux desktop packaging · Version, build and integration requirements apply
2 sources · check evidence
Localization from 4.0.0; configuration and translation resources
vendor · checked 2026-10-07Node 22, template changes, localization and UI migration
vendor · checked 2026-10-07Web and desktop delivery
limitedWeb builds need an HTTP server; desktop packaging uses Electron and platform-specific makers.[5]
Choice-driven narrative games with RPG-style state · Web, Windows desktop packaging, macOS desktop packaging, Linux desktop packaging · Version, build and integration requirements apply
1 source · check evidence
Web server requirement and Electron/Forge desktop packaging
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Twine for Choice-driven narrative games with RPG-style state
limitedCan replace authoring of choice-driven browser fiction when integrated RPG state is useful. This is a workflow assessment, not Twine passage/macro import or equivalent visual authoring.[1][2][9]
Web, Windows desktop packaging, macOS desktop packaging, Linux desktop packaging · Version, build and integration requirements apply
References
- Narrat overview
How it works and feature overview
vendor · retrieved 2026-10-07 - Narrat language syntax
Labels, jump/run, indentation and variables
vendor · retrieved 2026-10-07 - Narrat skills system
Active and passive checks, configuration and TypeScript overrides
vendor · retrieved 2026-10-07 - Narrat saving and reloading
Local storage, label checkpoints, save slots and reload hooks
vendor · retrieved 2026-10-07 - Building and exporting Narrat games
Web server requirement and Electron/Forge desktop packaging
vendor · retrieved 2026-10-07 - Narrat localization
Localization from 4.0.0; configuration and translation resources
vendor · retrieved 2026-10-07 - Narrat 4 migration
Node 22, template changes, localization and UI migration
vendor · retrieved 2026-10-07 - Narrat MIT license
Permission, notice requirement and warranty disclaimer
vendor · retrieved 2026-10-07 - Twine overview
Nonlinear story authoring and HTML output
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1041 | 2026-10-13 18:14:17 | /* wbeditentity-create-item:0| */ sf:820dacfb-f750-4d4b-9569-813bc3e6613b:v1 | Add Narrat with label-based saving, web/Electron delivery and version-qualified localization; assess choice-fiction substitution without claiming Twine conversi | attribution: /proposals/820dacfb-f750-4d4b-9569-813bc3e6613b |