Skip to content

Modularize Crafting - #32

Open
RandyChihuahua wants to merge 14 commits into
next_updatefrom
feature/moduleCrafting
Open

Modularize Crafting#32
RandyChihuahua wants to merge 14 commits into
next_updatefrom
feature/moduleCrafting

Conversation

@RandyChihuahua

Copy link
Copy Markdown
Contributor

Aim for this is to allow the module to operate on it's own, with as little external code references as possible.

If we add cross-module dependency, it's best left in Framework to document this dependency.

It'll need constant vigilance but makes coding changes have less of a blast radius.

RandyChihuahua and others added 14 commits September 6, 2026 11:02
Proposes collapsing the per-hero KnownEnchantmentBlueprints lists into a single
campaign-scoped set owned by the Crafting module, and moving skill gating from
purchase time to enchanting-table time.

Documents three existing defects the per-hero storage causes: stacking career
cost reduction, the Runelord button not seeing companion-learned runes, and the
quest-counter desync already noted in RunelordQuest.cs:46.

Includes a phased plan of attack ordered so the save-format change lands before
anything reads it, with balance decisions separated from refactor steps.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R2XCeNASCmYBaosUX44kxN
/// Grey Lord's "ForbiddenScrollsOfSapheryPassive3": -1% enchantment cost per known spell.
/// Tagged PassiveEffectType.Special in GreyLordCareerChoices.cs (opts out of the generic
/// CareerHelper dispatch since it needs a per-hero-computed multiplier, not a flat value).
/// </summary>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont remember this design but it sounds cool :D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants