// shield.c // A standard shield. For comments on how armor works, see the file chainmail.c // which should be in the same directory as this file #include <mudlib.h> inherit ARMOR ; void create() { set ("id", ({ "shield" }) ) ; set ("short", "a round shield") ; set ("long", "A perfectly round wooden shield, with a chicken's head logo painted on it.\n") ; set ("mass", 500) ; set ("bulk", 25) ; set ("value", ({ 10, "gold" }) ) ; set ("type", "shield") ; set ("armor", 2) ; }