Crossfire Server, Trunk
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

◆ allowed

linked_char* artifactstruct::allowed

List of archetypes the artifact can affect.

Definition at line 19 of file artifact.h.

Referenced by artifact_describe(), artifact_get_face(), dump_artifacts(), legal_artifact_combination(), ArtifactLoader::load(), and ArtifactPanel::updateItem().

◆ 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(), ArtifactPanel::computeMadeViaAlchemy(), and ArtifactLoader::load().

◆ 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(), and ArtifactLoader::load().

◆ item

◆ next

struct artifactstruct* artifactstruct::next

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