pick.c

final_realms_fluffos_v1/lib/d/newbie/duergar/items/pick.c · 458 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

inherit "/obj/weapon";

int query_hands_needed() { return 2; }
void setup() {
    set_base_weapon("pick");
    set_name("pick");
    set_short("pick");
   add_alias("skiepick");
    set_long("This is a pick.\n");
    set_main_plural("picks");
}

int set_in_use(int i)
{

  if(i==1)    {
       this_object()->add_static_property("PICKUSED",1);
     }
     else if(i==0)
         this_object()->remove_static_property("PICKUSED");
  return ::set_in_use(i);
}

Site Stats

Snippets: 1791
Codebases: 571