From 1630b0d12d2c9dea99fb5cbb6c2990db7ef02d37 Mon Sep 17 00:00:00 2001 From: nukcole Date: Tue, 10 Nov 2026 20:49:50 +0800 Subject: [PATCH] Release 0.6.0 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015vdVgYTb9jm7MRdePSgs8B --- CHANGELOG.md | 6 +++++- manifest.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9437abd..f7361a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,11 @@ Release notes for each version; the GitHub release carries the same text and the built plugin. -## Unreleased +## 0.6.0 — 2026-11-10 + +The RPG engine's first pieces: entities (monsters and other things that come and go), faster long games, rule-system packs with a first pack (Dungeon crawl) and a "New game" command, counted items, equipment slots and statuses. Requires Obsidian 1.13.0 or later. + +Games made with 0.5.0 keep working. Regenerate a game's engine ink ("Generate game engine ink") to use the new features and the faster table and party lookups; the panel says when the engine file is out of date. - Counted items, equipment and statuses (RPG R4). An item marked `stack: true` has a count: `give(arrow, 3)`, `take(arrow, 1)` (gives back how many it took), `inv_count(arrow)`; it is in the inventory while its count is above 0, and a character starts with `counts: { arrow: 12 }`. `slots:` and an item's `slot:` give `equip(sword)` / `unequip(sword)` (one item per slot, `{equipped ? sword}`); an item with a slot adds its modifiers only while equipped (items without a slot work as before). `statuses:` (name, description, skill modifiers, `rest: true`) are put on the character (`"me"`), a party member or an entity: `add_status(who, "poison", 3)`, `has_status`, `status_turns`, `clear_status`, `tick_statuses()`, `rest_statuses()`. The panel shows counts (×12), worn items (◆) and statuses as tags on the cards; the web page lists them; `check-ink --random` reports each stack's count at the end and how often each status was put on. The dungeon-crawl pack is 1.1: arrows run out, cave spiders and ghouls poison. - Rule-system packs (RPG R3): a game note can name a pack with `system: ` or `system: { path: , version: 1 }`. The pack's `system.md` frontmatter goes under the game's (lists joined by id, the game's entry wins; anything else the game sets replaces the pack's), its `from:` notes are read relative to the pack, and the generated engine INCLUDEs the pack's `rules.ink`. A pack that is missing, or of another major version than the game asks for, is reported. Markdown tables take `spawn`/`生成` and `count`/`数量` columns. First pack: **Dungeon crawl** (original rules): a crew of four goes down room by room, 2d6 fights, torches, potions, traps, shrines, a warlord in the last room; the story only calls `-> crawl ->` and reads `crawl_result`. New command "New game" (pick a rule pack or the journal template): it installs the pack into `规则包/` / `Rule packs/` unless it is there already, copies its template into a new folder with `system:` pointing at the pack, and generates the engine. `api.newGame(pack, folder?)`. diff --git a/manifest.json b/manifest.json index 3646fbc..66bcc54 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "inkwright", "name": "Inkwright", - "version": "0.5.0", + "version": "0.6.0", "minAppVersion": "1.13.0", "description": "Write, playtest and debug ink interactive fiction: live play panel, saves, knot graph, web export and bilingual stories. English and Chinese interface.", "author": "luoxin9510", diff --git a/package-lock.json b/package-lock.json index a0b84e0..a50be5c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "inkwright", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "inkwright", - "version": "0.5.0", + "version": "0.6.0", "license": "MIT", "dependencies": { "inkjs": "^2.4.0" diff --git a/package.json b/package.json index b6afa1e..d52e868 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "inkwright", - "version": "0.5.0", + "version": "0.6.0", "description": "Write, playtest and debug ink interactive fiction: live play panel, saves, knot graph, web export and bilingual stories. English and Chinese interface.", "license": "MIT", "private": true, diff --git a/versions.json b/versions.json index be12756..679f074 100644 --- a/versions.json +++ b/versions.json @@ -4,5 +4,6 @@ "0.2.1": "1.7.2", "0.3.0": "1.13.0", "0.4.0": "1.13.0", - "0.5.0": "1.13.0" + "0.5.0": "1.13.0", + "0.6.0": "1.13.0" }