french fried food (B7010)

This implements the suggestion in beta bug 7010.
This commit is contained in:
arromdee
2002-03-02 16:18:39 +00:00
parent 8651a77b43
commit e4f694986c

View File

@@ -141,6 +141,7 @@ static const struct { const char *txt; int nut; } tintxts[] = {
{"boiled", 50},
{"dried", 55},
{"szechuan", 70},
#define FRENCH_FRIED_TIN 11
{"french fried", 40},
{"sauteed", 95},
{"broiled", 80},
@@ -1027,7 +1028,7 @@ opentin() /* called during each move whilst opening a tin */
if(tintxts[r].nut < 0) make_vomiting((long)rn1(15,10), FALSE);
else lesshungry(tintxts[r].nut);
if(r == 0) { /* Deep Fried */
if(r == 0 || r == FRENCH_FRIED_TIN) {
/* Assume !Glib, because you can't open tins when Glib. */
incr_itimeout(&Glib, rnd(15));
pline("Eating deep fried food made your %s very slippery.",