normal armour example

normal armour example

Postby Suhis » 08.07.2011 15:20:08

Code: Select all
 inherit "inherit/armour";

void reset(status arg)
{
  if(arg) return;
  set_name("gauntlets"); 
  set_short("Gauntlets");
  set_long("The gauntlet is made corroded bronze rings. The rings are\n"+
           "linked together, making a meshed net.\n");
   
  set_weight(4);
  set_value(80);
  set_bonuses(([ "stat constitution":3, "stat dexterity": 4 ]));
  set_type("hands");

  set_ac(10);
  set_listen("The gauntlets make a crunching noise as you close "+
             "you fists.\n");
  set_smell("The gauntlets smell slightly muddy, as if it has been buried\n"+
            "for a long time.\n");
}

//if you want it to show your name with creator <item> command
string query_creator() { return "CreatorName"; }
Suhis
 
Posts: 180
Joined: 31.01.2004 13:31:16

Return to Manuals

Who is online

Users browsing this forum: No registered users and 1 guest

cron