summaryrefslogtreecommitdiff
path: root/docs/item_loot_money.md
blob: 0b786cf463d5b95fd29b753e85ca677389a8085b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# item\_loot\_money

[<-Back-to:Characters](database-characters.md)

**The \`item\_loot\_money\` table**

Contains the money associated with a lootable inventory item
such as a "Fat Sack of Coins"

This table is populated the first time the player right-clicks to open an item. Rows are deleted when
the player either removes the money or destroys the container item.

**Structure**

| Field             | Type    | Attributes | Key | Null | Default | Extra | Comment |
|-------------------|---------|------------|-----|------|---------|-------|---------|
| [container_id][1] | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [money][2]        | INT | UNSIGNED   |     | NO   | 0       |       |         |

[1]: #container_id
[2]: #money

**Description of the fields**

### container\_id

The GUID of the container item. See item\_instance.guid

### money

The amount of money loot in copper.