Crossfire Server, Trunk  R20513
Data Fields
_change_arch Struct Reference

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

#include <treasure.h>

Collaboration diagram for _change_arch:
Collaboration graph

Data Fields

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

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 51 of file treasure.h.

Field Documentation

const char* _change_arch::name

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

Definition at line 52 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 54 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 53 of file treasure.h.

Referenced by change_treasure(), and load_treasure().


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