ORANGE.C

LIB3/D/HOME/CITY/ITEMS/FOODS/ORANGE.C · 302 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("orange");
   set_short("orange");
   set_long("This is, funnily enough, an orange. It is round, orange, and juicy.\n");
   set_weight(3);
   set_value(45);
   set_eat_func("yum");
}
 
int yum()
{
this_player()->adjust_hp(45);
}

Site Stats

Snippets: 1791
Codebases: 571