Skip to main content

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.

ToolEffectDescription
gacha_apply_default_templatewritesMaterialise one of three preset GachaSpec templates: 'gacha_5050' (soft-pity model — 90 hard
gacha_export_disclosure_mdwritesEmit a legally-compliant odds-disclosure markdown file. Required by Apple Review (Guideline 3.1.1),
gacha_generate_codewritesEmit GachaManager.cs (MonoBehaviour glue + per-banner BannerRuntime), RateRoller.cs (deterministic
gacha_propose_from_promptread-onlyFree-text intent → JSON GachaSpec via the configured LLM. Buril prompts the active chat provider
gacha_simulate_pity_curveread-onlyRun a Monte Carlo pity simulation on a banner. Default 1000 runs, max 5000 pulls per run. For each
gacha_validate_specread-onlyValidate a GachaSpec. Returns { ok, errors[] }. Always run this before gacha_generate_code,