diff -pruN slashem-0.0.7E7F1-official-release/src/eat.c slashem-0.0.7E7F1-cookie/src/eat.c --- slashem-0.0.7E7F1-official-release/src/eat.c 2005-07-02 09:24:44.000000000 +0200 +++ slashem-0.0.7E7F1-cookie/src/eat.c 2005-10-27 21:26:33.000000000 +0200 @@ -164,6 +164,7 @@ static const struct { const char *txt; i {"candied", 100}, {"boiled", 50}, {"dried", 55}, +#define SZECHUAN_TIN 10 {"szechuan", 70}, #define FRENCH_FRIED_TIN 11 {"french fried", 40}, @@ -1303,6 +1304,18 @@ opentin() /* called during each move wh mons[tin.tin->corpsenm].mname); #endif + /* SZECHUAN_TIN might have free fortune cookie */ + if(r==SZECHUAN_TIN && rn2(2)) { + struct obj* cookie = mksobj(FORTUNE_COOKIE,FALSE,FALSE); + cookie->blessed = tin.tin->blessed; + cookie->cursed = tin.tin->cursed; +#ifdef INVISIBLE_OBJECTS + cookie->oinvis = tin.tin->oinvis; +#endif + There("is a free fortune cookie inside!"); + (void)hold_another_object(cookie, + "It falls to the floor.",0,0); + } /* KMH, conduct */ u.uconduct.food++; if (!vegan(&mons[tin.tin->corpsenm]))