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
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
- 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
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
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
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
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