Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

<noinclude>|
Back-to:DBC

<big>Lock.dbc</big>

This DBC contains data used with Lock.dbc and gameobject_template

Version is : 3.3.5a

Structure

Nb Name Comment
Column
Field
Type
Notes
1
ID
Int
Integer
 
2
Type[8]
Int
Integer
If this is 1,
then LockProperties is an item ID, if
 then the next lock_properties is an item ID, if it's 2, then it's an iRef to
LockType
 LockTypes.dbc 
10

LockProperties

Int
Lock_Properties[8]
Integer
If the corresponding Type field is 2 then this is an
LockType
 iRefID_LockTypes.dbc.

18

RequiredSkill

Int

Skill needed for LockProperties
If the corresponding Type field value is 1 then this is the itemID of the key or item that 'unlocks' this item. 
18
Required_Skill[8]
Integer
 Required skill needed for Lock_Properties
26
Action[8]
Int
Integer
Something  Something to do with direction / opening / closing

Example for reference:

Object 181248 has LockId 38. It has Type 2, so there is a reference (LockProperties is the reference number) to LockType.dbc. Go and find LockType number 3 - It's mining!

...