---
name: set-item-prefixes
description: Reference for Set's item prefix table, the 164 entries such as fiery or azure that can precede an item's material. Use when listing or downloading every prefix with its weight and odds, reading the schema of a prefix row, decoding the prefix position of an item's indexes, or deciding what a prefix means in a game.
license: Free to use when obtained from set.world, commercially too (the API, what it returns, the skills and downloaded models). The source code of Set is © Jimmy Lee under CC BY-NC 4.0 and its commercial use needs a paid waiver.
metadata:
  version: "0.8.9"
  title: Prefixes
---

# Prefixes

The prefix is the second word of an item's name: `fine` **`burning`** `steel sword of the dawn`. It is table 1 of the 19 item tables.

```sh
curl https://set.world/api/tables/prefix               # JSON
curl 'https://set.world/api/tables/prefix?format=csv'  # index,name,weight,probability,rollFrom,rollTo,contentVersion
```

## Schema

The response is a `TableResponse` and each row a `TableEntry`, both defined in [Item properties](https://set.world/skills/item-properties). A prefix row has no extra columns. Two of the 164 rows:

```json
[
  { "index": 0, "name": "-", "weight": 489, "probability": 0.75, "rollFrom": 0, "rollTo": 488 },
  { "index": 5, "name": "burning", "weight": 1, "probability": 0.0015337423312883436, "rollFrom": 493, "rollTo": 493 }
]
```

## Facts

- 164 entries. Entry 0 is `-`, meaning no prefix: 75% of rolls. The other 163 words share the remaining 25%.
- The table opens `-`, `fiery`, `smoldering`, `smoking`, `flaming`, `burning`, `crimson`, `cold`, `snowy`, `shivering`, `boreal`, `frigid`, `azure`, `lapis`.
- On an item: `item.props[1].name` is the word, `item.indexes[1]` its `index` and `item.roll[1]` the raw roll.

## What a prefix does

In Set, three things:

1. **Name.** It appears in the composed name unless it is `-`.
2. **Rarity.** Its probability is one of the six factors of the rarity score. A rarer prefix raises the score; it never changes the grade.
3. **Theme.** `/api/modifiers` hashes the word into one theme channel. The same word always gives the same channel.

The score and the channels are owned by [Calculations](https://set.world/skills/calculations). Nothing else: Set ships no prefix effects. What `fiery` does in combat is your game's rule, for example:

```ts
type PrefixEffect = { prefix: string; channel: string; effect: string; magnitude: number };
// { prefix: 'burning', channel: 'magicalDamageReduction', effect: 'your rule', magnitude: 0.02 }
```

A lottery craft keeps the rarest prefix among its candidates, so larger spends return prefixed items more often; the odds are in [Crafting an item](https://set.world/skills/crafting-an-item).
