french fried food (B7010)
This implements the suggestion in beta bug 7010.
This commit is contained in:
@@ -141,6 +141,7 @@ static const struct { const char *txt; int nut; } tintxts[] = {
|
|||||||
{"boiled", 50},
|
{"boiled", 50},
|
||||||
{"dried", 55},
|
{"dried", 55},
|
||||||
{"szechuan", 70},
|
{"szechuan", 70},
|
||||||
|
#define FRENCH_FRIED_TIN 11
|
||||||
{"french fried", 40},
|
{"french fried", 40},
|
||||||
{"sauteed", 95},
|
{"sauteed", 95},
|
||||||
{"broiled", 80},
|
{"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);
|
if(tintxts[r].nut < 0) make_vomiting((long)rn1(15,10), FALSE);
|
||||||
else lesshungry(tintxts[r].nut);
|
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. */
|
/* Assume !Glib, because you can't open tins when Glib. */
|
||||||
incr_itimeout(&Glib, rnd(15));
|
incr_itimeout(&Glib, rnd(15));
|
||||||
pline("Eating deep fried food made your %s very slippery.",
|
pline("Eating deep fried food made your %s very slippery.",
|
||||||
|
|||||||
Reference in New Issue
Block a user