Crossfire Server, Branch 1.12  R12190
Data Fields
artifactstruct Struct Reference

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

#include <artifact.h>

Collaboration diagram for artifactstruct:
Collaboration graph
[legend]

Data Fields

linked_charallowed
 List of archetypes the artifact can affect.
uint16 chance
 Chance of the artifact to happen.
uint8 difficulty
 Minimum map difficulty for the artifact to happen.
object * item
 Special values of the artifact.
struct artifactstructnext
 Next artifact in the list.

Detailed Description

This is one artifact, ie one special item.

Definition at line 37 of file artifact.h.


Field Documentation

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

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: