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-08-03 17:05:22 -04:00
committed by PatR
parent cf44cb3382
commit e44de71499

View File

@@ -720,8 +720,10 @@ peffect_booze(struct obj *otmp)
pline("Ooph! This tastes like %s%s!",
otmp->odiluted ? "watered down " : "",
Hallucination ? "dandelion wine" : "liquid fire");
if (!otmp->blessed)
make_confused(itimeout_incr(HConfusion, d(3, 8)), FALSE);
if (!otmp->blessed) {
/* 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 */
if (!otmp->odiluted)
healup(1, 0, FALSE, FALSE);