|
Atrinik Server 2.5
|
Go to the source code of this file.
Data Structures | |
| struct | _change_arch |
| struct | treasurestruct |
| struct | treasureliststruct |
Defines | |
| #define | CHANCE_FOR_ARTIFACT 20 |
| #define | NUM_COINS 4 |
| #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 |
Typedefs | |
| typedef struct _change_arch | _change_arch |
| typedef struct treasurestruct | treasure |
| typedef struct treasureliststruct | treasurelist |
Variables | |
| char * | coins [NUM_COINS+1] |
| archetype * | coins_arch [NUM_COINS] |
Defines and variables used by the artifact generation routines.
Definition in file treasure.h.
| #define CHANCE_FOR_ARTIFACT 20 |
Chance for an item to become artifact if not magical.
Definition at line 34 of file treasure.h.
| #define NUM_COINS 4 |
Number of coin types
Definition at line 37 of file treasure.h.
| typedef struct _change_arch _change_arch |
When a treasure got cloned from archlist, we want to perhaps change some default values. All values in this structure will override the default arch.
| typedef struct treasurestruct treasure |
Treasure is one element in a linked list, which together consists of a complete treasurelist.
Any arch can point to a treasurelist to get generated standard treasure when an archetype of that type is generated.
| typedef struct treasureliststruct treasurelist |
Treasure list structure
| char* coins[NUM_COINS+1] |
All the coin arches.
Definition at line 44 of file treasure.c.
| archetype* coins_arch[NUM_COINS] |
Pointers to coin archetypes.
Definition at line 54 of file treasure.c.
1.7.4