diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-11-19 13:51:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-11-19 13:51:54 -0300 |
commit | 4bd2f8760637f03bd5e757c981d5af1abb22bb1a (patch) | |
tree | 05a4b783175a0911d43a5b51e0d3dae69b66e46e /npc | |
parent | b2da86621ed50b7f0ae377615eb12fe3398064e4 (diff) | |
download | serverdata-4bd2f8760637f03bd5e757c981d5af1abb22bb1a.tar.gz serverdata-4bd2f8760637f03bd5e757c981d5af1abb22bb1a.tar.bz2 serverdata-4bd2f8760637f03bd5e757c981d5af1abb22bb1a.tar.xz serverdata-4bd2f8760637f03bd5e757c981d5af1abb22bb1a.zip |
Allow you to drink even while drunk, but you'll lose health and can die!!!!
Diffstat (limited to 'npc')
-rw-r--r-- | npc/items/alcohol.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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) |