What your team gets
- One loot table at a time (pick it from a menu): every drop with its weight, quantity and rarity.
- The real numbers: chance per roll (weight divided by the table’s total weight) and chance per kill or open (with the table’s number of rolls).
- A pie chart of the table. Edit weights in place and save.
- Your agent changes drops by asking (“halve the Moonfang chance from wolves”, “make the Ember Staff a 2% drop from the boss chest”).
Ask your agent
Loot table editor. Your agent builds, seeds and checks the app.
The manifest
Seed the data
An agent edit: “halve the Moonfang chance from wolves”
Read the drops:wolf-moonfang has "weight": 1 and a revision, here 1. Halve the weight:
conflict means someone changed the drop: read again and retry. For an exact chance, call the app’s tool while the person has it open: summer_app_call with { "tool": "set_chance", "input": { "drop": "chest-staff", "percent": 2 } }.
Check the look
After every publish:summer_app_screenshot { "appId": "<app id>" }summer_app_screenshot { "appId": "<app id>", "width": 390 }summer_app_screenshot { "appId": "<app id>", "theme": "dark" }summer_app_screenshot { "appId": "<app id>", "params": { "table": "boss-chest" } }if the app opens a table from launch params.
What it uses
SDK:summer.ready (its params for the starting table); summer.data.collection("tables") and summer.data.collection("drops") with .list(), .get(), .patch() and .subscribe(); summer.data.commands() to save table edits in one revision; summer.agent.tool("set_chance"); summer.page.declare() with a choice field for the table.
Kit: summer-page; summer-section with summer-select in slot="aside" to pick the table; summer-stats and summer-stat (drops, rolls, the rarest drop’s chance per kill); summer-table (row-key="id", sortable; an editable weight column with format: "number"; chance columns with format: "percent" and digits: 1, which take a fraction from 0 to 1); summer-chart (kind="pie", x="item", y ["weight"]); summer-save-bar; summer-dialog with summer-form to add a drop.
The chances, and the weight for an exact chance:

