Crossfire Server, Trunk  R20513
Data Fields
artifactstruct Struct Reference

This is one artifact, ie one special item. More...

#include <artifact.h>

Collaboration diagram for artifactstruct:
Collaboration graph

Data Fields

linked_charallowed
 List of archetypes the artifact can affect. More...
 
int allowed_size
 Length of allowed, for faster computation. More...
 
uint16_t chance
 Chance of the artifact to happen. More...
 
uint8_t difficulty
 Minimum map difficulty for the artifact to happen. More...
 
objectitem
 Special values of the artifact. More...
 
struct artifactstructnext
 Next artifact in the list. More...
 

Detailed Description

This is one artifact, ie one special item.

Definition at line 14 of file artifact.h.

Field Documentation

linked_char* artifactstruct::allowed
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
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(), init_artifacts(), and CREWrapperArtifact::setArtifact().

object* artifactstruct::item
struct artifactstruct* artifactstruct::next

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