Amplify booze effect if drinking on empty stomach

Drinking booze on an empty stomach will amplify its effects
(i.e. increase the duration of the resulting confusion); stuffing
yourself before drinking will have the opposite effect.
This commit is contained in:
Michael Meyer
2021-09-02 15:52:39 -07:00
committed by PatR
parent cf44cb3382
commit e44de71499
+4 -2
View File
@@ -720,8 +720,10 @@ peffect_booze(struct obj *otmp)
pline("Ooph! This tastes like %s%s!", pline("Ooph! This tastes like %s%s!",
otmp->odiluted ? "watered down " : "", otmp->odiluted ? "watered down " : "",
Hallucination ? "dandelion wine" : "liquid fire"); Hallucination ? "dandelion wine" : "liquid fire");
if (!otmp->blessed) if (!otmp->blessed) {
make_confused(itimeout_incr(HConfusion, d(3, 8)), FALSE); /* booze hits harder if drinking on an empty stomach */
make_confused(itimeout_incr(HConfusion, d(2 + u.uhs, 8)), FALSE);
}
/* the whiskey makes us feel better */ /* the whiskey makes us feel better */
if (!otmp->odiluted) if (!otmp->odiluted)
healup(1, 0, FALSE, FALSE); healup(1, 0, FALSE, FALSE);