shield.c

tmi2_fluffos_v2/lib/obj/shield.c · 488 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

// 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) ;
}

Site Stats

Snippets: 1791
Codebases: 571