Lock.dbc

The lock table contains definitions for available locks.

Table structure

ID Name Type Default Description
1 ID Integer
Unique ID
2 type1 Integer (signed) 0 See below
3 type2 Integer (signed) 0 See below
4 type3 Integer (signed) 0 See below
5 type4 Integer (signed) 0 See below
6 type5 Integer (signed) 0 See below
7 type6 Integer (signed) 0 See below
8 type7 Integer (signed) 0 See below
9 type8 Integer (signed) 0 See below
10 property1 Integer (signed) 0 Refers to a lock type, or an item ID.
11 property2 Integer (signed) 0 Refers to a lock type, or an item ID.
12 property3 Integer (signed) 0 Refers to a lock type, or an item ID.
13 property4 Integer (signed) 0 Refers to a lock type, or an item ID.
14 property5 Integer (signed) 0 Refers to a lock type, or an item ID.
15 property6 Integer (signed) 0 Refers to a lock type, or an item ID.
16 property7 Integer (signed) 0 Refers to a lock type, or an item ID.
17 property8 Integer (signed) 0 Refers to a lock type, or an item ID.
18 skill1 Integer (signed) 0 Required skill to unlock.
19 skill2 Integer (signed) 0 Required skill to unlock.
20 skill3 Integer (signed) 0 Required skill to unlock.
21 skill4 Integer (signed) 0 Required skill to unlock.
22 skill5 Integer (signed) 0 Required skill to unlock.
23 skill6 Integer (signed) 0 Required skill to unlock.
24 skill7 Integer (signed) 0 Required skill to unlock.
25 skill8 Integer (signed) 0 Required skill to unlock.
26 action1 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
27 action2 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
28 action3 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
29 action4 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
30 action5 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
31 action6 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
32 action7 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.
33 action8 Integer (signed) 0 References the action displayed in-game, e.g. opening, closing.

Fields

type

This field determine which kind of lock the entry is about.

  • 0: none,
  • 1: requires an item to unlock,
  • 2: matching Index refers to LockType.dbc.

Relations

  • property[1-8] may reference the primary key of LockType.dbc if type is 2.