From 67b79be83fda4e59af2164ae2668ce7c2476a6e1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 19 Nov 2019 14:09:30 -0300 Subject: Lethal Drinking option --- npc/items/alcohol.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/items') diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt index 80d040f0d..6188f8102 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -45,11 +45,11 @@ OnUse: if (ALC_THRESHOLD) { .@vit=readparam2(bVit); if (@Alcohol+ALC_THRESHOLD > .@vit) { - //dispbottom l("You vomit, you are too drunk for this to have effect anymore."); - dispbottom l("You vomit, you are too drunk and drinking is harmful."); + if (GSET_ALCOHOL_NOOVERDRINK) dispbottom l("You vomit, you are too drunk for this to have effect anymore."); + else dispbottom l("You vomit, you are too drunk and drinking is harmful."); dispbottom l("Raise vitality to be able to drink even more."); sc_start SC_CONFUSION, 5000, 0, 10000, SCFLAG_NOAVOID; // Warning, forces user to use @resync! - //end; // FIXME + if (GSET_ALCOHOL_NOOVERDRINK) end; percentheal -@Alcohol, -@Alcohol; } } -- cgit v1.2.3-60-g2f50