Crossfire Server, Branches 1.12  R18729
_change_arch Struct Reference

#include <treasure.h>

+ Collaboration diagram for _change_arch:

Data Fields

const char * name
 
const char * slaying
 
const char * title
 

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: