Crossfire Server, Trunk  R22047
artifactstruct Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactstruct:

Data Fields

int allowed_size
uint16_t chance
uint8_t difficulty
object * item
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(), CREWrapperArtifact::setArtifact(), and writeItem().

◆ item

◆ next

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