Random treasure
Random treasure fills a value budget. Items in a pool can appear, but are neither guaranteed nor equally likely.
How random selection works
Candidates must fit the remaining budget and the source's minimum item value. Coins and valuables bypass the minimum but still spend the budget. The minimum does not shrink as the budget is spent.
Ordinary skeleton, chest, ruin and nest pools exclude food and material/ignition items, including wood, rocks, flint, feathers, pelts and several potion ingredients.
Raving Unwanted, Mutated Unwanted and Survivors allow those item classes but have smaller fixed budgets. Creature meat and gland drops and the dead camp's supplies are separate.
Random budgets favor smaller amounts by mixing several uniform integer ranges. Unwanted and Survivor corpse budgets are fixed. Each accepted item spends its base value, even if worn.
Generation stops when the budget is spent or 500 counted candidates have been tried. Value and type rejections count; undefined items and the early Summoning Stone story exclusion do not. The limit can leave a budget partly unspent.
Coins and valuables stack through repeated 80% continuation checks. Each extra unit must fit the stack limit and cost strictly less than the extra-unit budget. Other items usually receive wear, reducing resale value.
Story requirements below also apply. Non-lootable items stay excluded.
Per-container item probabilities depend on budget, previous selections, story state, attempt limits and any later retention checks. Exact per-item rates are unknown.
Item-specific treasure conditions
Summoning Stone: Summoning Stone is excluded until the Fort Solid access story milestone.
Eligibility and odds
Exact per-item odds are unknown. Budget, earlier selections and the 500-candidate limit affect the result.
Common treasure-chest tier
This chest tier rolls a budget from 3 to 19 silver. The minimum non-valuable item value is one quarter of that particular budget.
Source: Treasure chests
Can contain (96 eligible items):
Middle treasure-chest tier
This chest tier rolls a budget from 5 to 40 silver. The minimum non-valuable item value is one quarter of that particular budget.
Source: Treasure chests
Can contain (95 eligible items):
Rich treasure-chest tier
This chest tier rolls a budget from 10 to 50 silver. The minimum non-valuable item value is one quarter of that particular budget.
Source: Treasure chests
Can contain (78 eligible items):
Cave-floor crack bonus treasure
The budget ranges from 5 copper to 1 silver. The minimum non-valuable item value is half a copper, and only one-square items qualify.
Source: Cave-floor cracks
Can contain (6 eligible items):
| Item | Category |
|---|---|
| Copper Coin | Coins and valuables |
| Lesser Wound Salve | Consumables |
| Minor Antidote | Consumables |
| Minor Wound Salve | Consumables |
| Silver Coin | Coins and valuables |
| Simple Burn Remedy | Consumables |
Bird-nest bonus treasure
The unadjusted budget ranges from 10 copper to 1 silver and 50 copper. A budget below the 15-copper minimum non-valuable item value becomes 25 copper. Only one-square items qualify.
Source: Bird nests
Can contain (7 eligible items):
Larger searchable ruins
The budget ranges from 1 silver to 2 silver and 50 copper. Non-valuable items must be worth at least 1 silver, and every item must occupy fewer than four inventory squares.
Source: Searching ruins
Can contain (20 eligible items):
Smaller searchable ruins
The unadjusted budget ranges from 30 copper to 1 silver and 20 copper. Budgets below the 50-copper minimum non-valuable item value are raised to 60 copper. Items must occupy fewer than four inventory squares.
Source: Searching ruins
Can contain (9 eligible items):
Indoor skeletons and remains
Indoors, the ordinary remains budget receives an extra 2 silver and 50 copper, giving a range of 2 silver and 80 copper to 7 silver and 40 copper. The minimum non-valuable item value is one quarter of the rolled budget.
Source: Skeletons and corpses
Can contain (70 eligible items):
Outdoor skeletons and remains
The rolled budget ranges from 30 copper to 4 silver and 90 copper. The minimum non-valuable item value is one quarter of that particular budget.
Source: Skeletons and corpses
Can contain (92 eligible items):
Survivor corpse treasure
Survivors use their own pool: a fixed budget of 1 silver and 50 copper and a minimum non-valuable item value of 20 copper, without the ordinary treasure pool's food, material-class or size exclusions.
Source: Survivor loot
Can contain (67 eligible items):
Raving and Mutated Unwanted corpse treasure
These two enemies use a different pool: a fixed budget of 1 silver and a minimum non-valuable item value of 10 copper, without the ordinary treasure pool's food, material-class or size exclusions.
Source: Raving and Mutated Unwanted loot
Can contain (73 eligible items):
Related pages: Bird nests | Cave-floor cracks | Copper Coin | Dead camp | Gold Coin | Mutated Unwanted | Raving Unwanted | Searching ruins | Silver Coin | Skeletons and corpses | Summoning Stone | Survivor | Treasure chests
Changed in version 0.9.0.0.
Changed in version 0.9.0.1.