BANANA.C

LIB3/D/HOME/CITY/ITEMS/FOODS/BANANA.C · 286 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("banana");
set_short("banana");
set_long("This is a normal banana. It is yellow in colour and is slightly curved.\n");
set_weight(2);
set_value(40);
set_eat_func("yum");
}

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

Site Stats

Snippets: 1791
Codebases: 571