Commit Graph

7 Commits

Author SHA1 Message Date
octoturge bab5a62d7a refactor(rules): split all 9 rulebooks into per-topic files
The rulebooks (Podręcznik Gry, Księga Magii, and 7 others) were single
monolithic documents, some over 1000 lines, making it hard to find or link
to one specific rule. Restructured them to match the convention already
used for lore/npcs/spells/disciplines: a themed subfolder per book with one
file per topic (talent, race, status effect, action type, etc.), and the
original book file rewritten into a hub/table-of-contents linking to them.

- Where a rulebook chapter duplicated content that already has a canonical
  home elsewhere (spell lists vs spells/, artifacts vs items/, disciplines
  vs disciplines/), replaced the duplicated text with links instead of
  copying it a second time.
- Verified all ~360 internal links across the new structure resolve, and
  fixed two real bugs surfaced by that check: unescaped parentheses in
  filenames breaking Markdown link syntax, and an off-by-one relative path
  in Rozdział VII - Religia.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019xsdbKAT27PoAX9SWH3MFK
2026-08-19 21:53:25 +02:00
octoturge ff7e638ed7 rules/lore: close remaining Runic Armour/Shielding gaps from the split
Follow-up to the Damage Reduction Order formalization:
- Rozdział V's actual combat-resolution paragraph (00. Podręcznik Gry.md)
  never got updated to match the new sequential Runic Armour -> Magic
  Shielding -> Armour -> HP order and terminology; it still described
  the two magic layers as one lumped subtraction.
- Renamed the last "Runiczna Tarcza" holdouts to "Runiczny Pancerz":
  the Amulet Osłony artifact and the Sztandar/Patriarcha Crimson Cult
  weapon writeup (duplicated across two files), which already had its
  own pre-existing 2:1 shield-breaking mechanic predating this
  session's spell conversions.
- Crimson Bolt now ignores Runic Armour and Magic Shielding but no
  longer ignores mundane Pancerz (ignoresArmor: true -> false) - a
  deliberate example that an effect can skip some defensive layers in
  the new order without skipping all of them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019xsdbKAT27PoAX9SWH3MFK
2026-08-19 19:52:40 +02:00
octoturge 41323383aa fix(links): normalize internal anchor links to Obsidian's real convention
Converts every internal header-anchor link in the vault (ToCs and inline
cross-references) from the incorrect GitHub/GFM-slug style to the format
Obsidian's Read mode actually resolves: exact heading text, case and
diacritics/punctuation preserved literally, with only spaces encoded as
%20. Also converts the two remaining Obsidian-wikilink ToCs (organizations/
Federacja Sol-3.md, rules/00. Podręcznik Gry.md) to plain markdown links per
the styleguide, and strips the inert Pandoc-style {#id} heading tags from
lore/90. Tales of the Homebrew Magic.md.

Renames 8 heading names that appeared more than once within the same
document (Atrybuty, Żywotność, Pancerz, Inicjatywa in the rulebook; Magia
Żywiołów/Sakralna/Iluzji in Księga Magii; Faza 3: Sprzedaż in Złoto, Stal i
Magia; three Tales of the Homebrew Magic story installments) since a flat
anchor link can't disambiguate duplicate headings the way Obsidian's
wikilink nested-path syntax could.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 20:50:56 +02:00
octoturge 6fb72b05db feat(lore): fill lore gaps and standardize tags to English
- Fill empty hub index sections (Zakon Taumaturgow, Sily Specjalne Gaja,
  Wybrancy Herosow) and add missing entries (Nemyo) in npcs.md
- Resolve broken template fields for Nil, Mundus, Tempus, Mistrz Losu,
  Ten Ktory jest Mroczny, Anna Heide, and Narcyza using confirmed canon
- Update Kult Otchlani org page to reflect Nil's motive for culling
  her own cultists
- Add "zaklecia" tag to all 104 spell files
- Translate ~90 Polish frontmatter tags to English vault-wide for
  consistency with the spells/ taxonomy (e.g. otchlan->abyss,
  magia-krwi->blood-magic, szkarlatny-kult->crimson-cult), keeping
  proper nouns (character/place names) and clean up legacy "#tag"
  hashtag-style artifacts left over from old Obsidian inline tags

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 12:07:53 +02:00
Octoturge c421a63107 Convert wikilinks to standard Markdown links vault-wide (#3)
* refactor(vault): convert wikilinks to standard Markdown links

Switches the vault's internal linking convention from Obsidian
wikilinks ([[Target]]) to standard Markdown links ([Text](path)),
so the vault renders correctly in Obsidian, plain Markdown readers,
and AI tools that don't understand wikilink syntax.

- Flipped Obsidian's core "Use [[Wikilinks]]" setting off
  (.obsidian/app.json: useMarkdownLinks + newLinkFormat: relative)
  so new links created in-app follow the same convention.
- Converted ~1690 wikilink/embed occurrences across 143 files via a
  vault-aware script: relative path resolution per source file,
  GitHub-compatible heading-anchor slugs (with correct duplicate
  suffixing) for same-file and cross-file heading links, alias-aware
  and case-insensitive target resolution, and disambiguation for the
  handful of basenames that exist in more than one place (e.g. Nil,
  Federacja Sol-3) in favor of their canonical page.
- Image embeds with a size modifier become <img width> tags; sized-less
  images become standard ![]() embeds; non-image embeds (video) become
  plain links, since transclusion has no Markdown equivalent.
- Updated the styleguide to document the new link convention.
- Fixed one pre-existing typo (swapped target/alias on a Tempus link).

Verified: 1648/1656 non-asset links resolve to real files after
conversion; the remaining 8 are either a documentation example or
already-known pre-existing red links (missing conflicts.md index,
a couple of not-yet-written character/org stubs) predating this change.

* fix(vault): add missing conflicts.md index, restore two dangling TOC entries

- Add conflicts.md as a top-level index (mirroring npcs.md/organizations.md/etc),
  the only top-level folder that lacked one.
- lore/05: restore the missing "Przywództwo i legendy" heading its TOC
  already pointed at (content existed, just wasn't header-ized).
- organizations/Federacja Sol-3.md: fix two TOC entries whose text had
  drifted from the real heading ("Wojsko Federacji" -> "Wojsko i Waluty
  Federacji", "a Podbój Kosmosu" -> "w Podbój Kosmosu" typo), and restore
  the missing "Ziemia (Sol-3-1725) jako Kluczowy Członek" heading.
- Ziemia (Sol-3-1725).md: drop an orphaned TOC sub-entry pointing at a
  bolded callout label ("Centrum Wsparcia Planetarnego") that was never
  a real heading, rather than inventing one that would break the callout.

* feat(vault): restructure Elf race page, add Brogir Vane and Siły Specjalne X

- races/Elf.md: consolidate the scattered Wysokie/Leśne differentiators
  (previously one sentence per theme in each general section) into two
  dedicated ## Elfy Wysokie / ## Elfy Leśne sections, so the existing
  cross-file links to these subraces resolve to something real instead
  of just falling back to the whole page.
- Add npcs/Bank Krasnoludzki/Brogir Vane.md - Dyrektor Generalny of the
  Dwarven Bank on Earth, distinct from Thingrim Magnarson's "Twarz Banku"
  public-facing role. Fixed the two links in races/Krasnolud.md that
  pointed at the wrong (races/) folder.
- Add organizations/Federacja Sol-3/Siły Specjalne X.md, built from the
  existing canonical book content in lore/10 (previously only ever
  quoted inline on Nicodemus Florens's and Karolina Fey's pages, never
  given its own page). Fixed the pre-existing red links across
  npcs.md/Nicodemus Florens.md/Karolina Fey.md to point at it, and
  added it to organizations.md.

Verified: 0 broken internal links vault-wide (excluding the two files
already out of scope: the styleguide's illustrative link example, and
the pre-existing lore/90 session-log import with its own Pandoc-style
anchor convention).

* feat(organizations): add X-COM-flavored mission doctrine to Siły Specjalne X

* fix(organizations): specify Siły Specjalne X squad composition (10-12, 3-4 human)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-17 17:26:28 +02:00
Claude 62f1ad2de2 fix(rules): reconcile Vivat Patriarcha coccineus! against source doc
Fetched the "Chwała Szkarłatnemu Kultowi" doc (constants.ts display name;
internally still titled that, vault calls the book "Vivat Patriarcha
coccineus!" - flagging for confirmation, not renaming).

- Fixed a broken TOC anchor: linked to "Superzaklęcie - Requiem" but the
  actual heading is just "Requiem" - dead internal link in Obsidian.
- Restored "może wskrzesić" (can resurrect) for the Wielki
  Taumaturg/Pierwszy Patriarcha ritual outcome; vault had drifted to
  "może stworzyć nowe ciało dla" (can create a new body for), which
  contradicts both the book and the vault's own lore/05 file (which
  independently says the cult wants to "wskrzesić" him).

Rozdział I-III (rumors/structure/locations lore) live in lore/05.
Szkarłatny Kult.md, which has been substantially expanded past the book
with campaign-specific canon (Nicodemus Florens, Xillith, Domena
Szkarłatu time dilation) - left untouched per policy: book is
source-of-truth only where it asserts something the vault contradicts,
not vault-original elaboration. Spell stat blocks in spells/crimson/*
and spells/general/superspells/requiem.md verified byte-for-byte
accurate against the doc - no changes needed.
2026-08-16 15:49:11 +00:00
Octoturge 3694716652 Initial commit 2026-06-09 21:47:57 +02:00