PEAR.C
LIB3/D/HOME/CITY/ITEMS/FOODS/PEAR.C · 292 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "/w/worzel/path.h"
inherit "/std/food";
setup()
{
set_name("pear");
set_short("pear");
set_long("This odd-shaped fruit is a dirty green colour and feels ripe.\n");
set_weight(4);
set_value(35);
set_eat_func("yum");
}
int yum()
{
this_player()->adjust_hp(35);
}