Generate palette projections at module build #50

Merged
archvillainette merged 1 commits from palette-projection into main 2026-07-23 09:35:46 +00:00
1 Commits
Author SHA1 Message Date
archvillainetteandClaude Fable 5 450c3ebc59 Generate palette projections at module build; never extract them
ci / ci (pull_request) Successful in 3m44s
*palcus.itp files are Toolset-generated snapshots: category skeleton plus
one descriptor per custom blueprint. Treat them as derived data. Module
source now commits only descriptor-free skeletons; build strips any stale
descriptors and re-inserts descriptors computed from the blueprints in the
source tree (name/STRREF, resref, and CR/faction for creatures), so the
DM Creator lists always match what actually ships in the .mod. Compare
applies the same projection. Extract skips *palcus.itp entirely, so local
Toolset palette churn can no longer leak into module source.

Blueprints with PaletteID 255 (hidden) or no PaletteID are omitted, per
engine convention.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 11:24:49 +02:00