Atrinik Server  4.0
Data Fields
artifact Struct Reference

#include <artifact.h>

Data Fields

struct artifactnext
 Next artifact in the list.
shstr_list_t * allowed
 List of allowed archetypes.
char * parse_text
struct archetypedef_at
shstr * def_at_name
treasure_affinity_t * affinity
uint16_t chance
uint8_t difficulty
bool copy_artifact:1
bool disallowed:1

Detailed Description

The artifact structure.

Definition at line 39 of file artifact.h.

Field Documentation

treasure_affinity_t* artifact::affinity

Treasure affinity.

Definition at line 61 of file artifact.h.

bool artifact::copy_artifact

If set, the artifact will be directly copied to the object, instead of just having the extra attributes added.

Definition at line 70 of file artifact.h.

struct archetype* artifact::def_at

The base archetype object.

Definition at line 51 of file artifact.h.

shstr* artifact::def_at_name

Name from the def_arch attribute.

Definition at line 56 of file artifact.h.

bool artifact::disallowed

If true, artifact::allowed is a list of disallowed archetypes.

Definition at line 75 of file artifact.h.

char* artifact::parse_text

Memory block with artifacts parse commands for loader.l.

Definition at line 46 of file artifact.h.

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