MELON.C

LIB3/D/HOME/CITY/ITEMS/FOODS/MELON.C · 273 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("melon");
set_short("melon");
set_long("This is a slice of watermelon and it looks just delicious.\n");
set_weight(7);
set_value(100);
set_eat_func("yum");
}

int yum()
{
this_player()->adjust_hp(100);
}

Site Stats

Snippets: 1791
Codebases: 571