
Chest 1101
Lockpick
What can be inside
Ship's hold: weapons crate · 2–4 items
Level: your hero's level, as the character screen shows it. A chest gives only what is open at that level.
Luck (1 to 20): the game keeps each item it draws with that item's own chance plus half your Luck, rounded down, in per cent; otherwise it draws again. So Luck helps rare things most: a ruby ring is kept 10 times in 100 at Luck 1 and 15 times at Luck 10. Luck also makes better weapon quality likelier.
On average this chest gives loot worth about 580![]()
0
in coins and 578
in goods, at what traders pay you: a store pays the full price, a blacksmith a quarter of a weapon's price.
| Name · Quality | Chance per chest | Quantity |
|---|---|---|
| Cold weapons | ||
A blade: one of the 7 newest at your level Worn-out 33%, Common 56%, Good 5.3%, Great 2.7%, Perfect 2.7% | 64% | 1–11 |
Chests give the weapons that opened in roughly your last 12 levels. In its first 6 levels a weapon may come Worn-out, later only new; after about 12 levels newer ones take its place. Chance per chest for each:
| ||
| Pistols | ||
A pistol: one of the 3 newest at your level Worn-out 25%, Common 63%, Good 6.0%, Great 3.0%, Perfect 3.0% | 64% | 1 |
Chests give the weapons that opened in roughly your last 12 levels. In its first 6 levels a weapon may come Worn-out, later only new; after about 12 levels newer ones take its place. Chance per chest for each:
| ||
| Muskets | ||
A musket: one of the 3 newest at your level Worn-out 50%, Common 42%, Good 4.0%, Great 2.0%, Perfect 2.0% | 64% | 1 |
Chests give the weapons that opened in roughly your last 12 levels. In its first 6 levels a weapon may come Worn-out, later only new; after about 12 levels newer ones take its place. Chance per chest for each:
| ||
| Ammunition | ||
| 10% | 2–5 | |
| 10% | 2–5 | |
| 10% | 2–5 | |
How it is calculated
- The contents are rolled once, when you first open the chest, for your level and luck at that moment.
SearchWindowController.cs:226 SetDataFromBoxId - Number of items: a random number from 2 to 4, rounded.
LootItemsDatabase.cs:368 GetBoxLootAmount - Each item: a random category of this chest type, then a random item of it allowed at your level; it stays with its chance + luck/2 %, otherwise the draw starts again. The same item twice adds up.
LootItemsDatabase.cs:147 GetBoxLootLootItemsDatabase.cs:228 CheckItemDropChance - Weapons: quality by luck L: Perfect L/4+4 %, Great L/2+4 %, Good 2·(L/4)+8 %, otherwise Common; rows of worn weapons always give Worn-out.
LootItemsDatabase.cs:206 GetWeaponLevel - Quantity: from the row's minimum to its maximum minus one (the game draws whole numbers that way).
LootItemsDatabase.cs:344 GetItemDropCount - Chance per chest = 1 − (1 − q)^k, averaged over k, the number of random draws (the items besides the first pesos); q is the item's share of one draw.
- Average worth = the pesos of the chest + for each item its expected count × what a trader pays for it: a store pays the full price, a blacksmith a quarter of a weapon's price at its quality (weapons counted by their quality odds).
BaseItemData.cs:104 GetLevelPriceTradeInfoPanelController.cs:325 GetSellModifier - Ship chests get new loot at every boarding: 9 in 10 captain's chests are already unlocked, 9 in 10 hold crates are locked.
SpawnerCaptainController.cs:551SpawnerCargoController.cs:414