Atrinik Server  4.0
Treasure generation flags


#define GT_ENVIRONMENT   0x0001
#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.

Macro Definition Documentation

#define GT_APPLY   0x0008


Definition at line 61 of file treasure.h.

#define GT_ENVIRONMENT   0x0001

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

Definition at line 57 of file treasure.h.

#define GT_NO_VALUE   0x0040

Set value of all created treasures to 0.

Definition at line 67 of file treasure.h.

#define GT_ONLY_GOOD   0x0010

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

Definition at line 63 of file treasure.h.

#define GT_STARTEQUIP   0x0004

Generated items have FLAG_STARTEQUIP set

Definition at line 59 of file treasure.h.

#define GT_UPDATE_INV   0x0020

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

Definition at line 65 of file treasure.h.