Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <folder>` or `system: { path: <folder>, 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?)`.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Loading