Crossfire Server, Trunk  R20739
artifactstruct Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactstruct:

Data Fields

int allowed_size
uint16_t chance
uint8_t difficulty
struct artifactstructnext

Detailed Description

This is one artifact, ie one special item.

Definition at line 14 of file artifact.h.

Field Documentation

◆ allowed

◆ allowed_size

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().

◆ chance

uint16_t artifactstruct::chance

◆ difficulty

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().

◆ item

◆ next

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