Crossfire Server, Branches 1.12
R18729
|
#include <artifact.h>
Data Fields | |
linked_char * | allowed |
uint16 | chance |
uint8 | difficulty |
object * | item |
struct artifactstruct * | next |
This is one artifact, ie one special item.
Definition at line 37 of file artifact.h.
linked_char* artifactstruct::allowed |
List of archetypes the artifact can affect.
Definition at line 42 of file artifact.h.
Referenced by artifact_msg(), CREUtils::artifactNode(), dump_artifacts(), free_artifact(), get_empty_artifact(), init_artifacts(), legal_artifact_combination(), and CREArtifactPanel::setArtifact().
uint16 artifactstruct::chance |
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().
uint8 artifactstruct::difficulty |
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().
object* artifactstruct::item |
Special values of the artifact. Note that this object is malloc() ed.
Definition at line 38 of file artifact.h.
Referenced by artifact_msg(), CREUtils::artifactNode(), cast_create_missile(), command_create(), dump_alchemy_costs(), dump_artifacts(), find_ingred_cost(), free_artifact(), generate_artifact(), get_empty_artifact(), init_artifacts(), locate_recipe_artifact(), make_item_from_recipe(), CREAnimationPanel::setAnimation(), CREArtifactPanel::setArtifact(), and CREFacePanel::setFace().
struct artifactstruct* artifactstruct::next |
Next artifact in the list.
Definition at line 41 of file artifact.h.
Referenced by artifact_msg(), cast_create_missile(), command_create(), dump_artifacts(), CREResourcesWindow::fillArtifacts(), find_ingred_cost(), free_artifact(), generate_artifact(), get_empty_artifact(), init_artifacts(), locate_recipe_artifact(), CREAnimationPanel::setAnimation(), and CREFacePanel::setFace().