Atrinik Server  4.0
Data Fields
treasure_attrs Struct Reference

#include <treasure.h>

Data Fields

shstr * name
shstr * title
shstr * slaying
int item_race
int material
int material_quality
int material_range
int quality
int quality_range

Detailed Description

When a treasure got cloned from archlist, we want to perhaps change some default values. All values in this structure will override the default arch.

Definition at line 75 of file treasure.h.

Field Documentation

int treasure_attrs::item_race

Item's race

Definition at line 86 of file treasure.h.

int treasure_attrs::material

The real, fixed material value

Definition at line 89 of file treasure.h.

int treasure_attrs::material_quality

Find a material matching this quality

Definition at line 92 of file treasure.h.

int treasure_attrs::material_range

Using ::material_quality, find quality inside this range

Definition at line 95 of file treasure.h.

shstr* treasure_attrs::name

If not NULL, copy this over the original arch name.

Definition at line 77 of file treasure.h.

int treasure_attrs::quality

Quality value. It overwrites the material default value

Definition at line 98 of file treasure.h.

int treasure_attrs::quality_range

Used for random quality range

Definition at line 101 of file treasure.h.

shstr* treasure_attrs::slaying

If not NULL, copy this over the original arch slaying.

Definition at line 83 of file treasure.h.

shstr* treasure_attrs::title

If not NULL, copy this over the original arch title.

Definition at line 80 of file treasure.h.

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