ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/artifact.h
Revision: 1.1
Committed: Fri Feb 3 07:12:47 2006 UTC (18 years, 3 months ago) by root
Content type: text/plain
Branch: MAIN
Branch point for: UPSTREAM
Log Message:
Initial revision

File Contents

# User Rev Content
1 root 1.1 typedef struct artifactstruct {
2     object *item;
3     uint16 chance;
4     uint8 difficulty;
5     struct artifactstruct *next;
6     linked_char *allowed;
7     } artifact;
8    
9     typedef struct artifactliststruct {
10     uint8 type; /* Object type that this list represents */
11     uint16 total_chance; /* sum of chance for are artifacts on this list */
12     struct artifactliststruct *next;
13     struct artifactstruct *items;
14     } artifactlist;
15