#include "path.h" inherit "/std/food"; setup() { set_name("roll"); set_short("roll"); set_long("A small wholemeal roll, still a bit warm, although "+ "that may be because you were keeping it in your pocket.\n"); set_value(40); set_weight(2); set_eat_func("yum"); } int yum() { this_player()->adjust_hp(20+random(20)); }