A first item and loot table
Define an item, put it on a weighted loot table, and let a viewer roll for it.Every drop starts with two pieces: an item to find, and a loot table that decides how often it turns up.
Define the item
An item needs a slug that is unique on your channel, a name, and a rarity. Mark it consumable only if using it should do something.
Item
Item
slug: ember-shard
name: Ember Shard
rarity: Rare
consumable: noBuild a loot table
A loot table is a set of weighted entries. Higher weight means the entry is drawn more often. One entry can be "nothing", so not every roll pays out.
Loot table
Loot table: cavern-finds
entry: ember-shard weight: 10
entry: (nothing) weight: 40
pity tier: RareThe pity tier raises the odds of a Rare or better drop after a dry streak, then resets when it pays out. The full roll is covered in rarity and loot mechanics.
Try it
A viewer runs explore, the game rolls the table, and the result reads back in chat.
Example chat
- nightjar_92!explore
- The Ashen Rookerynightjar_92 searches the cavern and pulls an Ember Shard (Rare).
