#include "path.h" inherit "/std/food"; setup() { set_name("loaf"); set_short("loaf of bread"); add_alias( "bread" ); set_main_plural("loaves of bread"); add_plural( "loaves" ); set_long("A small cob loaf. Its colour may be due to the wholemeal "+ "flour it is made with, but whoever heard of green flour?\n"); set_value(70); set_weight(6); set_eat_func("yum"); } int yum() { this_player()->adjust_hp(50+random(20)); }