BUN.C
LIB3/D/HOME/CITY/ITEMS/FOODS/BUN.C · 346 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/food";
setup()
{
set_name("bun");
set_short("sticky bun");
set_main_plural("sticky buns");
set_long("This is a delicious sticky bun. Be careful too many of these and "+
"your teeth may rot.\n");
set_value(70);
set_weight(6);
set_eat_func("yum");
}
int yum()
{
this_player()->adjust_hp(50+random(20));
}