ex_arm.c

skylib_fluffos_v3/mudlib/d/learning/school/items/ex_arm.c · 858 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

/**
 * Doublemail Byrnie - Micael, 15th of april 2001
 */

/*
* You need to inherit the basic armour object.
*/
inherit ARMOUR_OBJ;

void setup() {

    set_name("byrnie");
    set_short("doublemail byrnie");
    add_adjective("doublemail");
    add_alias("doublemail");
    set_main_plural("doublemail byrnies");
    set_long("This byrnie offers protection to the upper portion of the body "
      "while remaining much lighter than either a hauberk or haubergon.  "
      "The doubled up rings make this piece of armour stronger and more "
      "durable than a similar item in regular chainmail would be.\n");

    set_type("byrnie");
    set_weight(90);

    setup_armour(5000);
    set_value(12000);

    set_damage_chance(10);

    add_ac("sharp", "sharp", 90 );
    add_ac("blunt", "blunt", 40 );
    add_ac("pierce", "pierce", 60 );

} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571