Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: ItemSet.dbc and updated Item_set_names sand Item_template to match new changes #1018

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 51 additions & 18 deletions docs/item_set_names.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,71 @@
# item\_set\_names
# item_set_names

[<-Back-to:World](database-world)

**The \`item\_set\_names\` table**
**The \`item_set_names\` table**

`table-no-description`

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ------------------ | ------------ | ---------- | --- | ---- | ------- | ----- | ------- |
| [entry][1] | MEDIUMINT | UNSIGNED | PRI | NO | | | |
| [name][2] | VARCHAR(255) | SIGNED | | NO | | | |
| [InventoryType][3] | TINYINT | UNSIGNED | | NO | 0 | | |
| [WDBVerified][4] | SMALLINT | UNSIGNED | | NO | 1 | | |

[1]: #entry
[2]: #name
[3]: #inventorytype
[4]: #wdbverified
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ------------------------------- | ------------ | ---------- | --- | ---- | ------- | ----- | ------- |
| [entry](#entry) | MEDIUMINT | UNSIGNED | PRI | NO | | | |
| [name](#name) | VARCHAR(255) | SIGNED | | NO | | | |
| [InventoryType](#inventorytype) | TINYINT | UNSIGNED | | NO | 0 | | |
| [WDBVerified](#wdbverified) | SMALLINT | UNSIGNED | | NO | 1 | | |

**Description of the fields**

### entry
### Entry

Entry from item\_template
Item [Entry](item_template#entry) ID used in [item_template](item_template)

### name
### Name

Name of the item
Item [Name](item_template#name) used in [item_template](item_template)

### InventoryType

`field-no-description|3`
Which slot the Item will be equipped on.

<details>

<summary>Click to view</summary>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont see the use for details

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While sure item_set_names is a small page, using <details> more often would save in a lot of page scroll.

From this

image

to

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see why it could be nice. But I think it should be accessible at face value in a wiki

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When im back at pc I will remove it and make a push then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

| ID | Slot Name |
| --- | -------------------------------------------------------------------------------------------------------------------------------------- |
| 0 | Non equipable |
| 1 | Head |
| 2 | Neck |
| 3 | Shoulder |
| 4 | Shirt |
| 5 | Chest (see also Robe = 20) |
| 6 | Waist |
| 7 | Legs |
| 8 | Feet |
| 9 | Wrists |
| 10 | Hands |
| 11 | Finger |
| 12 | Trinket |
| 13 | One-Hand (not to confuse with Off-Hand = 22) |
| 14 | Shield (class = armor, not weapon even if in weapon slot) |
| 15 | Ranged (Bows) (see also Ranged right = 26) |
| 16 | Back |
| 17 | Two-Hand |
| 18 | Bag |
| 19 | Tabard |
| 20 | Robe (see also Chest = 5) |
| 21 | Main hand |
| 22 | Off Hand weapons (see also One-Hand = 13) |
| 23 | Held in Off-Hand (tome, cane, flowers, torches, orbs etc... See also Off-Hand = 22) (class = armor, not weapon even if in weapon slot) |
| 24 | Ammo |
| 25 | Thrown |
| 26 | Ranged right (Wands, Guns) (see also Ranged = 15) |
| 27 | Quiver |
| 28 | Relic (class = armor, not weapon even if in weapon slot)

</details>

### WDBVerified

Expand Down
10 changes: 8 additions & 2 deletions docs/item_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,11 @@ The price that the vendor will pay you for the item when you sell it and if it i

### InventoryType

In what slot the item can be equipped.
Which slot the Item will be equipped on.

<details>

<summary>Click to view</summary>

| ID | Slot Name |
| --- | -------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -572,7 +576,9 @@ In what slot the item can be equipped.
| 25 | Thrown |
| 26 | Ranged right (Wands, Guns) (see also Ranged = 15) |
| 27 | Quiver |
| 28 | Relic (class = armor, not weapon even if in weapon slot) |
| 28 | Relic (class = armor, not weapon even if in weapon slot)

</details> |

### AllowableClass

Expand Down
Loading
Loading