Container sub types
[Sub type defines]

Defines

#define ST1_CONTAINER_NORMAL   0
#define ST1_CONTAINER_CORPSE   1
#define ST1_CONTAINER_DEAD_PL   2
#define ST1_CONTAINER_NORMAL_player   64
#define ST1_CONTAINER_CORPSE_player   65
#define ST1_CONTAINER_NORMAL_party   128
#define ST1_CONTAINER_CORPSE_party   129

Detailed Description

Containers can be different items: normal containers, mob corpse or player corpse.

All containers with sub_type higher or equal to 64 are personalized. Personalized containers have name of the owner in their slaying field and only the owner can open it.

All containers with sub_type higher or equal to 128 are party containers and have the party name stored in the slaying field. Only the party members can open it.


Define Documentation

#define ST1_CONTAINER_CORPSE   1

Corpse container

Definition at line 679 of file define.h.

#define ST1_CONTAINER_CORPSE_party   129

Party corpse container

Definition at line 691 of file define.h.

#define ST1_CONTAINER_CORPSE_player   65

Personalized corpse container

Definition at line 686 of file define.h.

#define ST1_CONTAINER_DEAD_PL   2

Player container

Definition at line 681 of file define.h.

#define ST1_CONTAINER_NORMAL   0

Normal container

Definition at line 677 of file define.h.

#define ST1_CONTAINER_NORMAL_party   128

Party normal container

Definition at line 689 of file define.h.

#define ST1_CONTAINER_NORMAL_player   64

Personalized normal container

Definition at line 684 of file define.h.


Generated by  doxygen 1.6.2