Crossfire Server, Trunk  R20608
artifactstruct Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactstruct:

Data Fields

linked_charallowed
 
int allowed_size
 
uint16_t chance
 
uint8_t difficulty
 
objectitem
 
struct artifactstructnext
 

Detailed Description

This is one artifact, ie one special item.

Definition at line 14 of file artifact.h.

Field Documentation

int artifactstruct::allowed_size

Length of allowed, for faster computation.

Definition at line 20 of file artifact.h.

Referenced by artifact_describe(), artifact_get_face(), CREArtifactPanel::computeMadeViaAlchemy(), get_empty_artifact(), and init_artifacts().

uint16_t artifactstruct::chance

Chance of the artifact to happen.

Definition at line 16 of file artifact.h.

Referenced by artifact_describe(), dump_artifacts(), generate_artifact(), get_empty_artifact(), init_artifacts(), and CREArtifactPanel::setItem().

uint8_t artifactstruct::difficulty

Minimum map difficulty for the artifact to happen.

Definition at line 17 of file artifact.h.

Referenced by dump_artifacts(), get_empty_artifact(), and init_artifacts().


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