Crossfire Server, Branch 1.12  R12190
Data Fields
_change_arch Struct Reference

when a treasure got cloned from archlist, we want perhaps change some default values. More...

#include <treasure.h>

Data Fields

const char * name
 is != NULL, copy this over the original arch name
const char * slaying
 is != NULL, copy this over the original arch name
const char * title
 is != NULL, copy this over the original arch name

Detailed Description

when a treasure got cloned from archlist, we want perhaps change some default values.

All values in this structure will override the default arch. TODO: It is a bad way to implement this with a special structure. Because the real arch list is a at runtime not changed, we can grap for example here a clone of the arch, store it in the treasure list and then run the original arch parser over this clone, using the treasure list as script until an END comes. This will allow ANY changes which is possible and we use ony one parser.

Todo:
is this still used somewhere in the maps/code??

Definition at line 80 of file treasure.h.


Field Documentation

const char* _change_arch::name

is != NULL, copy this over the original arch name

Definition at line 81 of file treasure.h.

Referenced by change_treasure(), and load_treasure().

const char* _change_arch::slaying

is != NULL, copy this over the original arch name

Definition at line 83 of file treasure.h.

Referenced by change_treasure(), and load_treasure().

const char* _change_arch::title

is != NULL, copy this over the original arch name

Definition at line 82 of file treasure.h.

Referenced by change_treasure(), and load_treasure().


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