Skip to main content

LootTableAi

6 tools in this family (folder Editor/Tools/LootTableAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
loottable_balance_checkread-onlyCompute the expected drops per 1000 rolls per rarity, compare against the simulated distribution,
loottable_create_definition_assetwritesCreate a .asset ScriptableObject instance of the generated LootTableDefinition class and populate
loottable_generate_codewritesLower a validated LootTableSpec to three .cs files in Assets/_Game/Loot/:
loottable_propose_from_promptread-onlyFree-text intent → JSON LootTableSpec. Buril prompts the configured LLM to emit a complete
loottable_simulate_rollsread-onlyRun N synthetic rolls in pure C# without instantiating ScriptableObjects. Mirrors the runtime
loottable_validate_specread-onlyValidate a LootTableSpec JObject. Checks namespace/class identifiers, rarity uniqueness