Atrinik Server 2.5
Defines
Treasure generation flags

Defines

#define GT_ENVIRONMENT   0x0001
#define GT_INVISIBLE   0x0002
#define GT_STARTEQUIP   0x0004
#define GT_APPLY   0x0008
#define GT_ONLY_GOOD   0x0010
#define GT_UPDATE_INV   0x0020
#define GT_NO_VALUE   0x0040

Detailed Description

Treasure generation flags.


Define Documentation

#define GT_APPLY   0x0008

Unused.

Definition at line 54 of file treasure.h.

#define GT_ENVIRONMENT   0x0001

Put generated treasure below the object instead of inside the object's inventory.

Definition at line 49 of file treasure.h.

#define GT_NO_VALUE   0x0040

Set value of all created treasures to 0.

Definition at line 60 of file treasure.h.

#define GT_ONLY_GOOD   0x0010

Don't generate bad/cursed items. Used for new player's equipment.

Definition at line 56 of file treasure.h.

#define GT_STARTEQUIP   0x0004

Generated items have FLAG_STARTEQUIP set

Definition at line 52 of file treasure.h.

#define GT_UPDATE_INV   0x0020

When object has been generated, send its information to player.

Definition at line 58 of file treasure.h.