
Chest 1079, Chests in Bridgetown, Barbados
Lockpick
What can be inside
Ordinary chests · 3–5 items, the first is always pesos
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 410![]()
227
in coins and 185
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 |
|---|---|---|
| Currency | ||
| 100% | 175 | |
| Cold weapons | ||
A blade: one of the 3 newest at your level Worn-out 60%, Common 34%, Good 3.2%, Great 1.6%, Perfect 1.6% | 44% | 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:
| ||
| Pistols | ||
A pistol: one of the 2 newest at your level Worn-out 50%, Common 42%, Good 4.0%, Great 2.0%, Perfect 2.0% | 44% | 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 | ||
Worn-out 50%, Common 42%, Good 4.0%, Great 2.0%, Perfect 2.0% | 44% | 1 |
| Ammunition | ||
| 18% | 2–5 | |
| Materials | ||
| 0.54% | 1 | |
| 0.54% | 1 | |
| Tools | ||
| 9.2% | 3–8 | |
| 3.7% | 1 | |
| 3.7% | 1 | |
| 3.7% | 1 | |
| Medication | ||
| 9.2% | 1–5 | |
| Food | ||
| Corn | 2.7% | 2–9 |
| 2.7% | 2–9 | |
| 2.7% | 2–9 | |
| 2.7% | 2–9 | |
| Cocoa beans | 2.7% | 2–9 |
| 2.7% | 2–9 | |
| 2.7% | 2–9 | |
| Amulets | ||
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| 1.9% | 1 | |
| Jewelry | ||
| 0.90% | 1 | |
| 0.90% | 1 | |
| 0.90% | 1 | |
| 0.90% | 1 | |
| 0.90% | 1 | |
| 0.90% | 1 | |
| Cheap jewerly | ||
| 2.7% | 1 | |
| 2.7% | 1 | |
| 2.7% | 1 | |
| 2.7% | 1 | |
| 2.7% | 1 | |
| 2.7% | 1 | |
| 2.7% | 1 | |
| 0% | 1 | |
| Spyglasses | ||
Worn-out | 10% | 1 |
| Misc | ||
| 0% | 1 | |
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 3 to 5, rounded.
LootItemsDatabase.cs:368 GetBoxLootAmount - The first item is pesos. Every other: 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 - A treasure note can lead to this chest; then it holds one of five sets instead (20% each): ammunition and a firearm, tools and materials, a map and lockpicks with trinkets, an amulet and a jewel, food and drinks; each with pesos.
LootController.cs:286 AddTreasureNote