Open a crate, barrel or NPC 1-1,000 times with the game's loot roll
simulate_crate_open[Calculators] Open a crate, barrel or NPC 1-1,000 times with the game's loot roll. Opens a Rust container with the loot roll ported from the game's server code (LootContainer.PopulateLoot ->
LootSpawn.SpawnIntoContainer -> Item.MoveToContainer; data from the server files, vanilla settings) - the engine
of https://rust.wiki/calculators/loot-simulator. Returns the haul: items totals (amount, how many opens had it,
average condition for items that spawn damaged), scrap_value (everything recycled at recycler, all the way
down, plus loot scrap), lost_for_room (loot destroyed because the container was full, as in game), the first
breakdown opens one by one, and chance_per_open: every item's exact chance of at least one per open and its
average amount (chance_basis says when a container that can fill up was simulated instead). page opens the
same result on the site. A seed reproduces a result; it doesn't predict a real server. Opens a Rust crate, barrel or NPC body with the loot roll ported from the game's server code (seeded: same container, count and seed = same loot). Use for 'what do I get from N locked crates' or 'odds of an AK from an elite crate' (chance_per_open; chance_basis says whether it's exact). Give the user the page link: it shows the same haul. Container keys: locked-crate, elite-crate, military-crate, supply-drop, bradley-crate, heli-crate, blue-barrel, scientist, heavy-scientist, ...
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": {
"container": "<container>"
},
"name": "simulate_crate_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | a-z0-9 seed; the same container, count and seed always give the same loot (here and on the page). Random if left out. | |
| count | No | How many to open (1-1,000). | |
| chances | No | How many rows of the exact chance-per-open table to include. | |
| recycler | No | Recycler for scrap_value: recycler (monument, 50%), safe_zone (40%), powered (Power Plant grid stage 2+, 60%) or red (75%). | recycler |
| breakdown | No | How many of the opens to list one by one. | |
| container | Yes | Container key or name, e.g. locked-crate, elite-crate, supply-drop, bradley-crate, heli-crate, military-crate, blue-barrel, scientist, heavy-scientist. A wrong name lists every key. |