![]() |
Crossfire Server, Trunk
1.75.0
|
This is one artifact, ie one special item. More...
#include <artifact.h>
Data Fields | |
std::vector< sstring > | allowed |
List of archetypes the artifact can affect. More... | |
uint16_t | chance |
Chance of the artifact to happen. More... | |
uint8_t | difficulty |
Minimum map difficulty for the artifact to happen. More... | |
object * | item |
Special values of the artifact. More... | |
This is one artifact, ie one special item.
Definition at line 14 of file artifact.h.
std::vector<sstring> artifact::allowed |
List of archetypes the artifact can affect.
Definition at line 18 of file artifact.h.
Referenced by artifact_describe(), artifact_get_face(), free_artifact(), legal_artifact_combination(), ArtifactLoader::load(), and ArtifactWriter::write().
uint16_t artifact::chance |
Chance of the artifact to happen.
Definition at line 16 of file artifact.h.
Referenced by artifact_compute_chance_for_item(), artifact_describe(), ArtifactLoader::load(), and ArtifactWriter::write().
uint8_t artifact::difficulty |
Minimum map difficulty for the artifact to happen.
Definition at line 17 of file artifact.h.
Referenced by ArtifactLoader::load(), and ArtifactWriter::write().
object* artifact::item |
Special values of the artifact.
Note that this object is malloc() ed.
Definition at line 15 of file artifact.h.
Referenced by add_one_item(), artifact_describe(), artifact_get_face(), artifact_msg(), cast_create_missile(), command_create(), do_single_item(), dump_alchemy_costs(), free_artifact(), generate_artifact(), ArtifactLoader::load(), make_item_from_recipe(), recipe_get_face(), save_object_in_sb(), while(), and ArtifactWriter::write().