potion.scr

lima-1.0b5/lib/domains/std/2.4.5/obj/potion.scr · 384 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.

is=object,gettable,valuable,drinkable
id=potion
long=A healing potion
value=200
weight=1
---
void drink_me()
{
  this_body()->heal_me(200);
  tell(this_user(), "You feel much better!\n");
}

void mudlib_setup()
{
  ::mudlib_setup();
  set_drink_action( (: drink_me :) );
}

mixed direct_drink_obj() { return 1; }

Site Stats

Snippets: 1791
Codebases: 571