Atrinik Server 2.5
Data Fields
treasureliststruct Struct Reference

#include <treasure.h>

Data Fields

const char * name
int t_style
int artifact_chance
sint16 chance_fix
sint16 total_chance
struct treasureliststructnext
struct treasurestructitems

Detailed Description

Treasure list structure

Definition at line 166 of file treasure.h.


Field Documentation

Artifact chance

Definition at line 177 of file treasure.h.

If set, this will overrule total_chance.

Definition at line 180 of file treasure.h.

Items in this list, linked

Definition at line 192 of file treasure.h.

Usually monster name/combination

Definition at line 169 of file treasure.h.

Next treasure-item in linked list

Definition at line 189 of file treasure.h.

Global style (used from artifacts file).

See also:
Treasure style

Definition at line 174 of file treasure.h.

If non zero, only 1 item on this list should be generated.

The total_chance contains the sum of the chance for this list.

Definition at line 186 of file treasure.h.


The documentation for this struct was generated from the following file: