summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-19 14:09:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-19 14:09:30 -0300
commit67b79be83fda4e59af2164ae2668ce7c2476a6e1 (patch)
treed70a05e8f7069c2576d0d88177f4d5e91a60da2a /npc/items
parent4bd2f8760637f03bd5e757c981d5af1abb22bb1a (diff)
downloadserverdata-67b79be83fda4e59af2164ae2668ce7c2476a6e1.tar.gz
serverdata-67b79be83fda4e59af2164ae2668ce7c2476a6e1.tar.bz2
serverdata-67b79be83fda4e59af2164ae2668ce7c2476a6e1.tar.xz
serverdata-67b79be83fda4e59af2164ae2668ce7c2476a6e1.zip
Lethal Drinking option
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/alcohol.txt6
1 files changed, 3 insertions, 3 deletions
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;
}
}