Random tables and loot
Roll on the tables in your notes, draw items from your loot bases, and show or give the party what it finds.
The Random tables window rolls on the tables you keep in your notes, like a list of wandering monsters or a d100 table of trinkets. It also draws random items from your loot bases. Each collection has its own tables.
Open the window
Click Random tables in the toolbar, or press L. The window opens at the top right. Drag its header to move it, and drag its edges to make it larger. Each map remembers where you left it.
The list on the left holds the collection's tables, under Text, and its loot bases, under Items. Type in Search tables to find one.
Write a table in a note
Any Markdown table in a note can be a random table. Put the numbers to roll in the first column:
## Wandering monsters
| d6 | Encounter |
| --- | --- |
| 1 | `2d4` wolves |
| 2-3 | A goblin patrol |
| 4-6 | Nothing, only the wind |Atlas reads the die from the first column's header, such as d6, d20 or d100. Without one, it takes a "Roll 1d6" in the heading or the line above the table, and else the highest number in the column. A cell can hold one number or a range like 1-2, 01-05 or 12+, and 00 counts as 100.
Dice in backticks, like `2d4` above, are rolled with the result. A table without numbers works too. Give it a column named Weight to make some rows come up more often, or leave it out, and every row has the same chance.
Add a table to the collection
Open the collection settings on the Random tables tab.
Click Add from a note and choose the note. Atlas lists the tables it found in it, all ticked.
Untick the tables you do not want and click Add 2 tables (the number is how many you ticked). Then click Save.
The Random tables tab with the tables of one note.
To copy a table from a rulebook, click the + (New table) in the window instead. Type a Name, paste the table into the field and check the preview. Click Save and roll. Atlas saves the table as a note in the collection's tables folder, adds it to the list and rolls it once.
Roll on a table
Click a table in the list. Above the results, Atlas shows the die it rolls, for example Rolls d6.
Choose how many results you want with − and +. Turn on No repeats if a result must not come up twice.
Click Roll.
Roll twice on the wandering monster table.
Each result shows the number that came up and the other columns of its row. Copy as Markdown copies it, for example into your session notes.
A table with gaps or overlaps in its numbers shows how many it has, like "2 gaps". Fix the numbers in the note, so that every roll lands on one row.
Columns only you see
Some tables have a column for the GM, like the treasure a monster carries. On the Random tables tab, open a table and pick its columns under Only you see. Those columns show with a crossed-out eye, so you know what not to read out.
Tables that roll other tables
A cell that links another table rolls that table too. This makes one table the start of several, like a treasure table that sends you to a table of gems or coins:
| d6 | Treasure |
| --- | --- |
| 1-3 | [[Treasure#Coins]] |
| 4-5 | [[Treasure#Gems]] |
| 6 | [[Loot.base#Rare]] |[[Treasure#Gems]] rolls the table under the heading Gems in the note Treasure. [[Gems]] rolls the only table of the note Gems. A link to a view of a loot base, like [[Loot.base#Rare]], draws one item from it.
Keep your items as notes
For items, the window draws from Obsidian Bases. A base is an Obsidian file that lists notes as a table, with filters. Turn on the Bases core plugin in Obsidian's settings first.
Make one note per item. Give it properties, for example:
--- type: Weapon rarity: Rare price: 500 description: A blade that hums near the undead. ---An item note with its type, rarity, price and description. Make a base that lists your item notes. Every view of the base, like Weapons or Tier 2, becomes a list the window can draw from, with the view's own filters.
On the Random tables tab of the collection settings, click Add a base and choose your base. Under Currency, type your currency, for example "gold". Prices that are plain numbers read in it, like "500 gold". Click Save.
What each column does
Atlas reads four columns by their name, whatever your game calls the rest. Case does not matter, and only the first column with one of the names counts.
| Name the column | Atlas uses it as |
|---|---|
| Price, Cost, Value, Gold or Worth | The price at the top of the card |
| Rarity or Quality | The rarity, which colours the card |
| Type, Item type, Category, Kind or Slot | The kind of item, shown after the rarity |
| Description, Effect, Effects, Feature, Features, Details or Text | The text under the name |
A price that is a plain number, like 1500, shows with thousands separators and the collection's currency: "1,500 gold". Any other price, like "2 sp" or "Priceless", shows as you wrote it.
Every other column of the view shows on the card under its own name, so a Weight or Damage column comes along. Source, Page, Book, Tags and Aliases are left out.
Rarity words and colours
A rarity counts when it is one of the collection's rarity words, in any case. Bold and italics around the word do not matter. The word decides the card's colour, and the rarity buttons in the window count and leave out the items that have it.
The collection's rarities are on the Random tables tab under Item rarities: one word per rarity, from the most common up, each with a colour. Use the words your items use, like "Unique" for Pathfinder. A game system preset brings the rarities of its game, and Use the system's rarities goes back to them.
Without a word of its own, the colour comes from the usual ladder: Uncommon green, Rare blue, Very rare or Epic purple, and Legendary, Artifact, Mythic or Unique orange. Common, Poor, Mundane and Junk stay plain.
Items in a table
A table in a note can give items too, with the same columns. On the Random tables tab, set the table to Items. A pasted table that has a Price or Rarity column starts as Items already.
| d6 | Item | Rarity | Price |
| --- | --- | --- | --- |
| 1-3 | Healing potion | Common | 50 |
| 4-5 | [[Rope of Climbing]] | Uncommon | 200 |
| 6 | Sunblade | Rare | 5000 |The first column after the numbers is the item's name. When the name is only a link to a note, like [[Rope of Climbing]], Atlas also reads that note's properties, and the table's own cells win where both have a value. The results show as item cards, which you can show to your players like any other loot.
Roll loot
Click the base under Items, and tick the views to draw from. All and None tick or untick every view. An item in several views counts once.
Each rarity shows how many of its items you can roll. Click one to leave its items out, say for a village market.
Choose how many items to draw with − and +, and click Roll loot. Every item left has the same chance.
Tick two views, set three items and roll loot.
Read the results
Latest roll shows the last roll on this map. History keeps every roll in the collection, from all its maps, so you can look up what the party found last session. Remove one roll with Remove this roll, or all of them with Clear history.
Click the note button on an item card (Open the note of and the item name) to read or edit the item's note. Your changes reach future rolls, and rolls already made keep what they drew.
Rename or remove a table
Right-click a table in the list, or click its ⋯ (Table options):
- Rename gives the table another name in Atlas. The note keeps its own heading.
- Open note opens the note with the table, and Open base the loot base.
- Remove from list takes the table out of the collection. The note stays in your vault, and Undo in the message puts the table back.
Hand it to your players
Click the eye button on an item card (Show to players). The item shows in the player view, in a Loot received window large enough to read across the table.
Show more items and they stack. Players close the window with a click outside or Esc. Click the eye button again (Hide from players) to take an item back.
With an online table running, the gift button on an item card (Give to player) puts the item into a player's inventory. Set the Quantity, then choose a player, or All players to give everyone the same. While the table runs, a loot base open in Obsidian shows the same gift button next to every item.





