/* attribute.h
Copyright (C) 1994-2000 Annihilator
This program is a part of ES2 mudlib. Permission is granted to use,
modify, copy or distribute this program provided this copyright notice
remains intact and subject to the restriction that this program MAY
NOT be used in any way for monetary gain.
Details of terms and conditions is available in the Copyright.ES2 file.
If you don't receive this file along with this program, write to the
primary author of ES2 mudlib: Annihilator
*/
#ifndef ATTRIBUTE_H
#define ATTRIBUTE_H
/* 定義一個人物「屬性」值的個數 */
#define NUM_ATTRIBUTES 8
/* 屬性值的最大及最小值 */
#define ATTRVAL_MIN 1
#define ATTRVAL_MAX 50
varargs void init_attribute(mapping base);
int set_attr(string what, int value);
varargs int query_attr(string what, int raw);
#endif /* ATTRIBUTE_H */