{"schemaVersion":"1.0","record":{"label":"Narrat","description":"Script-based narrative game engine with dialogue, skill checks, inventory and quests.","aliases":["Narrat Engine"],"kind":"software","website":"https://narrat.dev/","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.","license":"MIT engine; game content and bundled dependencies retain their own terms","lifecycle":"active","example":false,"features":[{"name":"Branching dialogue and skill checks","status":"supported","detail":"Scripts support choices and variables; configured skills can determine active or passive narrative outcomes.","useCase":"Choice-driven narrative games with RPG-style state","platforms":["Web","Windows desktop packaging","macOS desktop packaging","Linux desktop packaging"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.narrat.dev/scripting/language-syntax.html","locator":"Labels, jump/run, indentation and variables","retrievedAt":"2026-10-07T20:52:45Z","kind":"vendor"},{"url":"https://docs.narrat.dev/features/skills.html","locator":"Active and passive checks, configuration and TypeScript overrides","retrievedAt":"2026-10-07T20:52:59Z","kind":"vendor"}]},{"name":"Save checkpoints","status":"limited","detail":"Documented saves resume at a label boundary rather than the exact dialogue line; browser storage and stable save identifiers matter.","useCase":"Choice-driven narrative games with RPG-style state","platforms":["Web","Windows desktop packaging","macOS desktop packaging","Linux desktop packaging"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.narrat.dev/features/save-and-load.html","locator":"Local storage, label checkpoints, save slots and reload hooks","retrievedAt":"2026-10-07T20:52:45Z","kind":"vendor"}]},{"name":"Localization","status":"supported","detail":"The version 4 documentation describes i18next-backed language resources and configuration; older games need migration.","useCase":"Choice-driven narrative games with RPG-style state","platforms":["Web","Windows desktop packaging","macOS desktop packaging","Linux desktop packaging"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.narrat.dev/features/localization.html","locator":"Localization from 4.0.0; configuration and translation resources","retrievedAt":"2026-10-07T20:50:19Z","kind":"vendor"},{"url":"https://docs.narrat.dev/tutorials/narrat-4-migration.html","locator":"Node 22, template changes, localization and UI migration","retrievedAt":"2026-10-07T20:52:50Z","kind":"vendor"}]},{"name":"Web and desktop delivery","status":"limited","detail":"Web builds need an HTTP server; desktop packaging uses Electron and platform-specific makers.","useCase":"Choice-driven narrative games with RPG-style state","platforms":["Web","Windows desktop packaging","macOS desktop packaging","Linux desktop packaging"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.narrat.dev/guides/building-and-exporting.html","locator":"Web server requirement and Electron/Forge desktop packaging","retrievedAt":"2026-10-07T20:50:19Z","kind":"vendor"}]}],"alternatives":[],"slug":"narrat","draftAlternatives":[{"targetSlug":"twine","status":"limited","detail":"Can 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.","useCase":"Choice-driven narrative games with RPG-style state","platforms":["Web","Windows desktop packaging","macOS desktop packaging","Linux desktop packaging"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://narrat.dev/","locator":"How it works and feature overview","retrievedAt":"2026-10-07T20:52:59Z","kind":"vendor"},{"url":"https://docs.narrat.dev/scripting/language-syntax.html","locator":"Labels, jump/run, indentation and variables","retrievedAt":"2026-10-07T20:52:45Z","kind":"vendor"},{"url":"https://twinery.org/","locator":"Nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","kind":"vendor"}]}],"evidence":[{"url":"https://narrat.dev/","locator":"How it works and feature overview","retrievedAt":"2026-10-07T20:52:59Z","kind":"vendor"},{"url":"https://docs.narrat.dev/scripting/language-syntax.html","locator":"Labels, jump/run, indentation and variables","retrievedAt":"2026-10-07T20:52:45Z","kind":"vendor"},{"url":"https://docs.narrat.dev/features/skills.html","locator":"Active and passive checks, configuration and TypeScript overrides","retrievedAt":"2026-10-07T20:52:59Z","kind":"vendor"},{"url":"https://docs.narrat.dev/features/save-and-load.html","locator":"Local storage, label checkpoints, save slots and reload hooks","retrievedAt":"2026-10-07T20:52:45Z","kind":"vendor"},{"url":"https://docs.narrat.dev/guides/building-and-exporting.html","locator":"Web server requirement and Electron/Forge desktop packaging","retrievedAt":"2026-10-07T20:50:19Z","kind":"vendor"},{"url":"https://docs.narrat.dev/features/localization.html","locator":"Localization from 4.0.0; configuration and translation resources","retrievedAt":"2026-10-07T20:50:19Z","kind":"vendor"},{"url":"https://docs.narrat.dev/tutorials/narrat-4-migration.html","locator":"Node 22, template changes, localization and UI migration","retrievedAt":"2026-10-07T20:52:50Z","kind":"vendor"},{"url":"https://github.com/liana-p/narrat-engine/blob/main/LICENSE","locator":"Permission, notice requirement and warranty disclaimer","retrievedAt":"2026-10-07T20:53:12Z","kind":"vendor"},{"url":"https://twinery.org/","locator":"Nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://narrat.dev/","locator":"How it works and feature overview","retrievedAt":"2026-10-07T20:52:59Z","id":"home","title":"Narrat overview","kind":"vendor"},{"url":"https://docs.narrat.dev/scripting/language-syntax.html","locator":"Labels, jump/run, indentation and variables","retrievedAt":"2026-10-07T20:52:45Z","id":"syntax","title":"Narrat language syntax","kind":"vendor"},{"url":"https://docs.narrat.dev/features/skills.html","locator":"Active and passive checks, configuration and TypeScript overrides","retrievedAt":"2026-10-07T20:52:59Z","id":"skills","title":"Narrat skills system","kind":"vendor"},{"url":"https://docs.narrat.dev/features/save-and-load.html","locator":"Local storage, label checkpoints, save slots and reload hooks","retrievedAt":"2026-10-07T20:52:45Z","id":"save","title":"Narrat saving and reloading","kind":"vendor"},{"url":"https://docs.narrat.dev/guides/building-and-exporting.html","locator":"Web server requirement and Electron/Forge desktop packaging","retrievedAt":"2026-10-07T20:50:19Z","id":"build","title":"Building and exporting Narrat games","kind":"vendor"},{"url":"https://docs.narrat.dev/features/localization.html","locator":"Localization from 4.0.0; configuration and translation resources","retrievedAt":"2026-10-07T20:50:19Z","id":"localize","title":"Narrat localization","kind":"vendor"},{"url":"https://docs.narrat.dev/tutorials/narrat-4-migration.html","locator":"Node 22, template changes, localization and UI migration","retrievedAt":"2026-10-07T20:52:50Z","id":"migration","title":"Narrat 4 migration","kind":"vendor"},{"url":"https://github.com/liana-p/narrat-engine/blob/main/LICENSE","locator":"Permission, notice requirement and warranty disclaimer","retrievedAt":"2026-10-07T20:53:12Z","id":"license","title":"Narrat MIT license","kind":"vendor"},{"url":"https://twinery.org/","locator":"Nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","id":"twine","title":"Twine overview","kind":"vendor"}],"overviewCitations":["home","build"],"licenseCitations":["license"],"sections":[{"id":"authoring","heading":"Script-based authoring","paragraphs":[{"id":"authoring-detail","content":[{"text":"A project separates narrative scripts from configuration and presentation. Scripts organize commands into named labels: jumps transfer control, while function-like calls can return to the caller. Indentation determines the nesting of branches, and variables and expressions drive conditions. This is a domain-specific programming workflow, even though simple stories need relatively little syntax. CSS provides a separate route for changing the interface."}],"citations":["syntax","home"]}]},{"id":"rpg","heading":"Stateful narrative mechanics","paragraphs":[{"id":"rpg-detail","content":[{"text":"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."}],"citations":["skills","home"]}]},{"id":"saves","heading":"Saving and replay boundaries","paragraphs":[{"id":"saves-detail","content":[{"text":"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."}],"citations":["save"]}]},{"id":"distribution","heading":"Building and distribution","paragraphs":[{"id":"distribution-detail","content":[{"text":"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."}],"citations":["build"]}]},{"id":"versioning","heading":"Localization and upgrades","paragraphs":[{"id":"versioning-detail","content":[{"text":"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."}],"citations":["localize","migration"]}]},{"id":"licensing","heading":"Licensing","paragraphs":[{"id":"licensing-detail","content":[{"text":"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."}],"citations":["license","build"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Narrat can substitute for "},{"text":"Twine","targetSlug":"twine"},{"text":" 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."}],"citations":["home","syntax","save","twine"]}]}]},"id":"Q993","revision":1041,"updatedAt":"2026-10-13T18:14:17Z","sourceUrl":"https://substitutefor.net/entities/Q993?revision=1041"}}