#include "path.h" inherit "/std/food"; setup() { set_name("bun"); set_short("sticky bun"); set_main_plural("sticky buns"); set_long("This is a delicious sticky bun. Be careful too many of these and "+ "your teeth may rot.\n"); set_value(70); set_weight(6); set_eat_func("yum"); } int yum() { this_player()->adjust_hp(50+random(20)); }