bg3_lint_stats
Validate a BG3 stat layer offline: detect invalid enum values, unused functor/condition/boost names, broken references to entries like statuses/spells/containers, and unknown action resources before load.
Instructions
Static stats lint for a mod layer, before the game ever loads it: enum values (Cooldown, StatsFunctorContext, RemoveEvents, SpellFlags, TickType...) and functor/condition/boost names that no other layer uses (the engine silently drops what it doesn't know), plus missing referenced entries (statuses, unlocked spells/interrupts, using, containers) and unknown action resources.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer": "<layer>"
},
"name": "bg3_lint_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| limit | No | ||
| layers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |