18 Commits
Author SHA1 Message Date
rick e50ab66daf Standardize throwable subheads with range: throwable (60')
New rule: throwable items that don't require attack rolls show range
in the subhead, e.g. "throwable (60')". "thrown weapon" reserved for
items that make attack rolls.

Fixed 7 items:
- Emberclaw Bomb, Smoke Veil Snapbomb: thrown weapon -> throwable (60')
  (also removed normal/far ranges from mechanics)
- Bastion Dome Seed: throwable -> throwable (30')
- Stonewall Capsule: throwable -> throwable (60'), added throw range
- Tangler Bomb, Bleaklight Smokebomb: thrown weapon -> throwable (60')
- Mini Dustcloud: mini throwable -> mini throwable (20')

Made-with: Cursor
2026-04-16 16:19:09 +02:00
rick 8d03e3da28 Fix _bold_fmt() regex for resistance/immunity phrases; fix 21 items
Root cause: regex \b(resistance to [\w,]+)\b stopped at spaces,
capturing only "resistance to nonmagical" instead of the full
"resistance to nonmagical bludgeoning, piercing, and slashing damage".

Fixed generate-card.py _bold_fmt():
- Resistance regex now captures multi-word damage type phrases
- Immunity regex handles *italic* conditions inside the phrase
- Both handle "damage type" suffix

21 items patched across 5 tiers (Specialist 4, Expert 4, Master 3,
Grandmaster 7, Exit 2). Also fixed HP abbreviations and double-to typo.

Master Lore Replacements.pdf updated (now 30 cards).
All ITEMS.md and 5etools JSON regenerated.

Made-with: Cursor
2026-04-16 15:59:23 +02:00
rick 54033e1c3d Fix lore paragraph breaks across entire catalog
Root cause: extract_rich_text_from_tspans checked "\n".strip() == "\n"
which is always False ("\n".strip() is ""). Fixed to check for "\n" in
the text of blank tspans.

All ITEMS.md files now have proper paragraph breaks in lore sections.
5etools JSON reads these directly (removed artificial sentence splitter).

Made-with: Cursor
2026-04-16 15:48:40 +02:00
rick 783a0c6946 5etools: split lore into 3 balanced paragraphs at sentence boundaries
Made-with: Cursor
2026-04-16 15:44:46 +02:00
rick 1ebdd025de 5etools: fix lore paragraphs (flat strings, not nested entries objects)
Made-with: Cursor
2026-04-16 15:43:13 +02:00
rick 4e48fca344 5etools JSON: lore after horizontal rule, bold formatted price
- Lore now in main entries (after {@bold List Price: N Gold/Silver}
  and a horizontal rule), not in separate fluff section
- Price formatted as "{@bold List Price: 1,300 Gold}" instead of
  plain "Northlands price: 1,300g"
- Currency spelled out: "Gold" / "Silver"

Made-with: Cursor
2026-04-16 15:40:48 +02:00
rick f18c127d9e Rewrite all 20 Intermediate lore entries in Claude Opus voice
Bottom-shelf humor: the quartermaster's cheapest items described by
someone who knows they're cheap but also knows they've saved lives.
Key tones: self-aware modesty, practical grudging respect, bureaucratic
understatement about mundane miracles.

Highlights:
- Bitterroot Draft: "four days without an excuse to stop walking"
- Salt of Warding: "the most relatable magic in the catalog"
- Lockpick Oil: "professional courtesy"
- Sneaker's Grease: "the only item never returned, which is either
  a compliment or a confession"

All 20 SVGs patched, DM + Player PDFs exported (including new
Hush-Glass Clay PDFs), 7 packs rebuilt, All Intermediate Player
Packs.pdf assembled, ITEMS.md regenerated.

Made-with: Cursor
2026-04-16 15:21:56 +02:00
rick ebe49657d6 Rename 5etools JSON to 5etools-northlands-guildpacks-{tier}.json
Made-with: Cursor
2026-04-16 15:14:09 +02:00
rick 1c4a65431f Fix Quietus Pellet corrupted lore (rewritten from clean text)
Made-with: Cursor
2026-04-16 13:57:56 +02:00
rick 263a931581 Fix Quietus Pellet duplicate closer; rebuild replacements PDF
Made-with: Cursor
2026-04-16 13:54:03 +02:00
rick 9a58d785d4 Master lore: strip all boilerplate closing lines (28 items)
Comprehensive sweep for four repeated boilerplate closers:
- "Veterans treat it as standard kit; novices treat it as a dare..."
- "Quartermasters insist it is not magical luck. They say this..."
- "It shines in the one-minute window where decisive action..."
- "Scouts call it practical magic; accountants call it..."

28 items patched with custom closing lines. Zero boilerplate
remaining in Master ITEMS.md.

Master Lore Replacements.pdf built with only the fixed cards
(28 cards) for reprinting without redoing the full print run.

All packs rebuilt, All Master Player Packs.pdf updated.

Made-with: Cursor
2026-04-16 13:49:34 +02:00
rick 86b8049883 Tag lore provenance (claude-opus vs openclaw), document lore style guide
Lore provenance detection:
- Compares SVG lore against all raw material lore variants (main + alts)
- If no match: tagged 'claude-opus' (written by Claude, not from raw materials)
- If match: tagged with original source (catalog_back_expanded, etc.)
- ITEMS.md now accurately shows who wrote each item's lore

Current counts (294 Claude, 219 OpenClaw, 49 unknown/handmade):
- Specialist: 17 Claude, 69 OpenClaw, 17 unknown
- Capable: 48 Claude, 29 OpenClaw, 11 unknown
- Expert: 76 Claude, 13 OpenClaw, 21 unknown
- Master: 40 Claude, 57 OpenClaw
- Grandmaster: 110 Claude, 30 OpenClaw
- Exit: 3 Claude, 21 OpenClaw

Lore style guide added to SKILL.md:
- Voice: tired competent quartermaster, Pratchett footnotes, British understatement
- Structure: origin hook -> in-character experience -> earned punchline
- Humor patterns: object personification, bureaucratic combat language,
  class reactions as one-liners, understatement about extreme effects
- Anti-patterns: generic wisdom, name repetition, mechanics in lore, puns
- 7 exemplar passages cited for tone calibration
- All OpenClaw lore scheduled for replacement with Claude Opus voice

Made-with: Cursor
2026-04-16 13:02:20 +02:00
rick 33c807f8d4 Add 5etools Homebrew JSON for Master tier (N-GIL-3)
97 items with full mechanics (5etools @tag syntax), lore (as fluff),
RAW gp values from consensus negotiation, and Northlands prices.

Script: scripts/generate-5etools-json.py (parameterized for all tiers)
Source: N-GIL-3, reads from ITEMS.md as source of truth.

Item types: 13 potions (type P), 84 wondrous/other (type OTH).
Rarities: 54 Rare, 22 Very Rare, 21 Uncommon.
Conditions tagged with {@condition}, dice with {@dice}.

Made-with: Cursor
2026-04-16 12:37:41 +02:00
rick 8d4e7a9a3f Master editorial #3: subheads, zero hit points, dice+mod bold
Subhead fixes:
- Stonewall Capsule, Bastion Dome Seed: thrown weapon -> throwable
- Echo-Scroll Sleeve: scroll -> wondrous item
- Falcon-Dive Ampoule: consumable (ingest) -> consumable (break)

Mechanics fixes:
- "0 hit points" -> "zero hit points" in Rediron Coagulant Bandage,
  Phoenix Thread Bandage, Mender's Thimble Thread, Wakeleaf Snuff
- Fixed dice+modifier bold split (1d8+2, 4d8+8, 3d6+3 now bolded
  as single units) using pre-formatted markup to bypass _bold_fmt()
  regex limitation

New rule: "0 hit points" should always read "zero hit points" as a
general style rule (documented in SKILL.md via existing HP expansion).

All affected PDFs re-exported, packs rebuilt, All Master Player Packs
rebuilt, ITEMS.md regenerated.

Made-with: Cursor
2026-04-16 12:09:30 +02:00
rick 2d47836f1c Master editorial pass #2: subheads, mechanics, title layout
Subhead corrections (15 items):
- Stonewall Capsule, Bastion Dome Seed: consumable -> thrown weapon
- Illusionist's Color Capsule: consumable (ingest) -> consumable (apply)
- Bladestorm Capsule: consumable (ingest) -> consumable (break)
- Bonebreaker Resin: salve/poultice -> consumable (apply)
- Sootcloth Facewrap, Phantom Thread Cloak Pin, Cat's Thread Spool,
  Portal Suture Staple: medical supply/salve -> wondrous item
- Assassin's Thread: medical supply -> single-use weapon
- Grease of Silent Hinges: wondrous item -> consumable (apply)
- Bottle of Borrowed Breath: wondrous item -> consumable (inhale)
- Thunderstep Capsule: consumable (ingest) -> consumable (crush)
- Quietus Pellet: potion -> consumable (ingest) (kept, it IS ingested)

Mechanics fixes:
- Bastion Dome Seed: added throw range (up to 30 ft)
- Mirror Spell Lens: fixed "spellat" -> "spell at"
- Counterflux Snap: fixed broken bold markup
- Thunder-Seed Grenado, Dragon's Breath Lozenge: added DC 16
- Kingsbane Philter: simplified to "ignore resistances", bolded "critical"
- One-With-Shadow Elixir: upgraded to Greater Invisibility (Rare-appropriate),
  removed redundant RAW text about advantage from hidden
- Rediron Coagulant Bandage: title re-split for better line breaks

All PDFs re-exported, 27 Master packs rebuilt, ITEMS.md regenerated.

Made-with: Cursor
2026-04-16 11:54:02 +02:00
rick 66c8d8b131 Master mechanics editorial pass, systemic typography fixes, documentation
Master tier (43 items patched):
- Category A: Fixed broken bold markup in 9 SVGs (stray ** characters,
  missing spaces like "againwithout", "magiconce", "spellat", "radius2d6")
- Category B: Fixed bold/italic typography in 15 items (resistance phrases,
  +AC/+Stealth bolding, condition italics, comma-split numbers)
- Category C: D&D mechanics corrections:
  - Rift-Point Spike: OAs now have advantage (not impossible Dex saves)
  - Shrieker Flask, Starfall, Tangler, Bleaklight: simplified throw ranges
  - Shadowstake: restrained + can't teleport/invisible + can't take reactions
  - Quickspell Draught: changed to free action to drink
  - Skald's Pocket Map: marks persist in memory after map fades
  - Warden's Wardrope Tag: lock/unlock changed to free action
- Category D: Added DCs by rarity (DC 16 Rare, DC 19 Very Rare) to
  Bonebreaker Resin, Assassin's Thread, Viper's Mercy, Embermote Lantern,
  Thunderstep Capsule, Quietus Pellet, Needlewine Vial, and others
- Category E: "ranged attacks" typo, "temp HP" spelled out, "B/P/S" spelled
  out, Firebrand Phial subhead fixed, Black-Thorn bleed made explicit,
  Rediron Bandage simplified, stray "to" removed from Emberburst

Systemic fixes across all tiers:
- 11 items: "Dexterity (Stealth)" → "Stealth" (and similar patterns)
- 1 item: un-italicized condition fixed (Countertoxin)
- Rule: always just skill name, never AbilityScore (Skill) form

Documentation updates (SKILL.md):
- Mechanics grammar: throw ranges, save DCs by rarity, skill name rules,
  reaction trigger requirement, penalty-removal pattern
- Typography rules: bold/italic patterns documented with known edge cases
- New recurring issues: weapon-coating subhead misclassification,
  Grandmaster two-part mechanics merge, boilerplate lore detection,
  ITEMS.md as source of truth

All affected PDFs re-exported, packs rebuilt, ITEMS.md regenerated.

Made-with: Cursor
2026-04-16 10:43:52 +02:00
rick b6479ef6b6 Grandmaster mechanics merge, lore rewrites, source-of-truth markdown
Mechanics (140 Grandmaster SVGs):
- Merged two-part "Base + Grandmaster:" format into single coherent blocks
- Applied all 6 merge patterns: dice upgrades, complete replacement,
  capability addition, simple modification, alternative upgrade, number bump
- Removed penalty-narration pattern (e.g. "with no speed penalty")
- Verified: zero "Grandmaster:" labels, zero "HP" abbreviations remaining

Lore rewrites:
- 67 Grandmaster items: full rewrite replacing boilerplate filler
- 11 Master items: replaced copy-pasted closing lines with custom punchlines
- 4 Exit items: restored archived original lore (Dragon's Last Favor,
  Storm-Heart Battery, Black Sun Eclipse, Godsbane Silence Bell)
- Zero boilerplate remaining across all tiers

Subhead fixes:
- 7 weapon-coating items misclassified as "ammunition" corrected to
  "consumable (apply)" or "oil" across Specialist/Capable/Master/Grandmaster

Source-of-truth markdown (24 files across 8 tiers):
- ITEMS.md: per-item title, layout, subhead, rarity, price, flavor, image,
  lore source, mechanics with markup, full lore, consensus negotiation
- PACKS.md: pack composition with item rarity and current prices
- BALANCE.md: rarity/price distributions, pack balance, cross-flavor comparison
- Rarity extracted from SVG background gradients as fallback for items
  without raw material source files
- Extraction script: scripts/generate-source-of-truth.py

All DM + Player PDFs re-exported, all pack PDFs rebuilt.

Made-with: Cursor
2026-04-16 08:31:22 +02:00
rick a4576bf673 Complete guild item pack card pipeline: 563 items, 153 packs, 6 tiers
Full automated pipeline for generating printable D&D guild item pack cards
from raw material text files and PNG art → SVG → DM PDF → Player PDF → Pack PDF.

Tiers: Specialist (28 packs), Capable (29), Expert (28), Master (29),
Grandmaster (35), Exit (4). All 7 flavors: Recovery, Defense, Offense,
Stealth, Strike, Magic, Utility.

Key features:
- 5 rarity templates (Common through Legendary) with printer-calibrated gradients
- Dynamic title fitting (single/two-line with hyphenation support)
- Bold/italic formatting for D&D mechanics (dice, conditions, hit points)
- Cross-flavor dual marks for shared items
- Lore quality system: 100-120 words, no boilerplate, Monty Python humor
- Batch processing script for large-scale generation
- Skill documentation for future agent continuity

Made-with: Cursor
2026-04-15 16:24:49 +02:00