42 lines
992 B
C
42 lines
992 B
C
#include <lib.h>
|
|
#include <damage_types.h>
|
|
#include <vendor_types.h>
|
|
#include <modules.h>
|
|
|
|
inherit LIB_ITEM;
|
|
inherit MODULES_ARMOR;
|
|
inherit MODULES_CREATE;
|
|
inherit MODULES_MAPPING;
|
|
inherit MODULES_GENERIC;
|
|
inherit MODULES_ROOM;
|
|
inherit MODULES_FILE;
|
|
inherit MODULES_MONEY;
|
|
inherit MODULES_READ;
|
|
inherit MODULES_DOOR;
|
|
|
|
static void create(){
|
|
item::create();
|
|
SetKeyName("staff");
|
|
SetId( ({ "staff", "stick", "tanstaafl" }) );
|
|
SetAdjectives( ({ "wood","wooden","creator","creator's","creation" }) );
|
|
SetShort("a wooden staff");
|
|
SetLong("This staff is old, weathered, "+
|
|
"and lumpy. However, it feels quite sturdy "+
|
|
"and solid. For more info: help staff");
|
|
SetProperties(([
|
|
"no steal" : 1,
|
|
]));
|
|
SetDamagePoints(50);
|
|
SetClass(100);
|
|
SetMass(100);
|
|
SetNoCondition(1);
|
|
SetWeaponType("blunt");
|
|
SetHands(2);
|
|
SetDamageType(BLUNT);
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|
|
|
|
int CanSell() { return 0; }
|