axe.c

tmi2_fluffos_v2/lib/obj/axe.c · 662 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

// An example axe. It is a two-handed weapon, so it sets its "nosecond"
// property to 1. Full comments on weapon properties are in the sword.c
// file which should be in the same directory as this file.

#include <mudlib.h>

inherit WEAPON ;

void create() {
	set ("id", ({ "axe" }) ) ;
	set ("short", "a gleaming two-handed battle axe") ;
	set ("long", "It is very heavy but extremely lethal.\n") ;
	set ("bulk", 100) ;
	set ("mass", 1000) ;
	set ("value", ({ 30, "gold" }) ) ;
	set ("weapon", 5) ;
	set ("damage", ({ 5, 12 }) ) ;
	set ("nosecond",1) ;
	set ("name", "axe") ;
	set_verbs( ({ "swing at", "chop at", "hack at" }) ) ;
	set ("type", "cutting") ;
}

Site Stats

Snippets: 1791
Codebases: 571