|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Defines | |
| #define | CONV_FROM(xyz) (xyz->slaying) |
| #define | CONV_TO(xyz) (xyz->other_arch) |
| #define | CONV_NR(xyz) ((unsigned long) xyz->stats.sp) |
| #define | CONV_NEED(xyz) ((unsigned long) xyz->stats.food) |
Functions | |
| int | convert_item (object *item, object *converter) |
Handles code for operation of converters.
Definition in file converter.c.
Transforms an item into another item.
| item | The object that triggered the converter - if it isn't of a type accepted by the converter, nothing will happen |
| converter | The object that is doing the conversion |
Definition at line 43 of file converter.c.
1.7.4