wield_base.c

lima-1.0b5/lib/std/adversary/wield/wield_base.c · 329 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

int do_wield(object);

int set_wielding(string wep)
{
   object ob = new(wep);

   if(!ob)
      return 0;
   ob->move(this_object());
   return do_wield(ob);
}

mapping lpscript_attributes()
{
  return ([
    "wielded" : ({ LPSCRIPT_WIELD }),
    ]);
}

Site Stats

Snippets: 1791
Codebases: 571