From 4bd2f8760637f03bd5e757c981d5af1abb22bb1a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 19 Nov 2019 13:51:54 -0300 Subject: Allow you to drink even while drunk, but you'll lose health and can die!!!! --- npc/items/alcohol.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt index c83ae406b..80d040f0d 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -45,10 +45,12 @@ 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 for this to have effect anymore."); + 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; + //end; // FIXME + percentheal -@Alcohol, -@Alcohol; } } .@deltatime=2*60*1000; // How long (in ms) each Alcohol point works? (max. 100 points) -- cgit v1.2.3-60-g2f50