Atrinik Server  4.0
Macros
Container sub types

Macros

#define ST1_CONTAINER_NORMAL   0
 
#define ST1_CONTAINER_CORPSE   1
 
#define ST1_CONTAINER_DEAD_PL   2
 
#define ST1_CONTAINER_QUIVER   3
 
#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.

Macro Definition Documentation

#define ST1_CONTAINER_CORPSE   1

Corpse container

Definition at line 568 of file define.h.

#define ST1_CONTAINER_CORPSE_party   129

Party corpse container

Definition at line 582 of file define.h.

#define ST1_CONTAINER_CORPSE_player   65

Personalized corpse container

Definition at line 577 of file define.h.

#define ST1_CONTAINER_DEAD_PL   2

Player container

Definition at line 570 of file define.h.

#define ST1_CONTAINER_NORMAL   0

Normal container

Definition at line 566 of file define.h.

#define ST1_CONTAINER_NORMAL_party   128

Party normal container

Definition at line 580 of file define.h.

#define ST1_CONTAINER_NORMAL_player   64

Personalized normal container

Definition at line 575 of file define.h.

#define ST1_CONTAINER_QUIVER   3

Quiver.

Definition at line 572 of file define.h.