Spellbook lists
This commit is contained in:
@@ -267,6 +267,7 @@ func ValidateProject(p *project.Project) ValidationReport {
|
||||
validateNativeEntryKeyUniqueness(dataDir, &report)
|
||||
validateNativeLockAllocation(dataDir, p.EffectiveConfig().TopData.RowGeneration, &report)
|
||||
validateGeneratedFeatFamilies(dataDir, &report)
|
||||
validateClassSpellbooks(dataDir, &report)
|
||||
validateItempropsRegistryGraph(dataDir, &report)
|
||||
if _, err := os.Stat(statePath); err == nil {
|
||||
report.Files++
|
||||
@@ -405,6 +406,10 @@ func validateDataObject(path string, obj map[string]any, report *ValidationRepor
|
||||
validateOverridesFile(path, obj, report)
|
||||
return
|
||||
}
|
||||
if isClassSpellbookPath(path) {
|
||||
validateClassSpellbookShape(path, obj, report)
|
||||
return
|
||||
}
|
||||
|
||||
if strings.Contains(slashed, "/racialtypes/registry/races/") {
|
||||
validateRacialtypesRegistryRaceFile(path, obj, report)
|
||||
|
||||
Reference in New Issue
Block a user