GachaSystem
6 tools in this family (folder Editor/Tools/GachaSystem/ 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.
| Tool | Effect | Description |
|---|---|---|
gacha_apply_default_template | writes | Materialise one of three preset GachaSpec templates: 'gacha_5050' (soft-pity model — 90 hard |
gacha_export_disclosure_md | writes | Emit a legally-compliant odds-disclosure markdown file. Required by Apple Review (Guideline 3.1.1), |
gacha_generate_code | writes | Emit GachaManager.cs (MonoBehaviour glue + per-banner BannerRuntime), RateRoller.cs (deterministic |
gacha_propose_from_prompt | read-only | Free-text intent → JSON GachaSpec via the configured LLM. Buril prompts the active chat provider |
gacha_simulate_pity_curve | read-only | Run a Monte Carlo pity simulation on a banner. Default 1000 runs, max 5000 pulls per run. For each |
gacha_validate_spec | read-only | Validate a GachaSpec. Returns { ok, errors[] }. Always run this before gacha_generate_code, |