Crossfire Server, Branches 1.12  R18729
artifactstruct Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactstruct:

Data Fields

linked_charallowed
 
uint16 chance
 
uint8 difficulty
 
objectitem
 
struct artifactstructnext
 

Detailed Description

This is one artifact, ie one special item.

Definition at line 37 of file artifact.h.

Field Documentation

linked_char* artifactstruct::allowed
uint16 artifactstruct::chance

Chance of the artifact to happen.

Definition at line 39 of file artifact.h.

Referenced by artifact_msg(), dump_artifacts(), generate_artifact(), get_empty_artifact(), init_artifacts(), and CREArtifactPanel::setArtifact().

uint8 artifactstruct::difficulty

Minimum map difficulty for the artifact to happen.

Definition at line 40 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: