APPLE.O
LIB3/D/HOME/CITY/ITEMS/FOODS/APPLE.O · 259 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/std/food";
setup()
{
set_name("apple");
set_short("apple");
set_long("It is a normal apple, just right for eating.\n");
set_weight(2);
set_value(40);
set_eat_func("yum");
}
int yum()
{
this_player()->adjust_hp(20+random(20));
}