Spellbook lists

This commit is contained in:
2026-05-26 18:25:58 +02:00
parent c5a18df730
commit 16ed4fe47d
5 changed files with 483 additions and 0 deletions
+7
View File
@@ -448,6 +448,10 @@ func buildNativeUnchecked(p *project.Project, opts NativeBuildOptions, progress
if err != nil {
return BuildResult{}, err
}
collected, err = applyClassSpellbooks(sourceDir, collected)
if err != nil {
return BuildResult{}, err
}
tableRegistry, err := newResolvedTableRegistry(collected)
if err != nil {
@@ -785,6 +789,9 @@ func discoverNativeDatasets(dataDir string) ([]nativeDataset, error) {
if filepath.ToSlash(rel) == "parts/overrides" {
return filepath.SkipDir
}
if filepath.ToSlash(rel) == "classes/spellbooks" {
return filepath.SkipDir
}
if filepath.ToSlash(rel) == itempropsRegistryDirName || filepath.ToSlash(rel) == damagetypesRegistryDirName || filepath.ToSlash(rel) == racialtypesRegistryDirName {
return filepath.SkipDir
}