summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-30 19:25:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-30 19:25:06 -0300
commita75c323e7a9b35f7dcc49c6f86478ec16a3c0419 (patch)
treedbca2245f96cff58bdc829bcdf1091a0cf29bd2a /npc/functions/clientversion.txt
parent9129341a98bb1b5a92d3dc442f4ca247d8332cec (diff)
downloadserverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.gz
serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.bz2
serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.xz
serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.zip
Actually, give Julie an Arcmage Boxset as an apology token.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 0a97ffc52..6c507ccbc 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -586,8 +586,8 @@ function script clientupdater {
.@dg=true;
// Sell Bottles
- if (countitem(BottleOfWoodlandWater)) {
- delitem BottleOfWoodlandWater, countitem(BottleOfWoodlandWater);
+ if (countitem(BottleOfWoodlandWater) > 1) {
+ delitem BottleOfWoodlandWater, (countitem(BottleOfWoodlandWater)/2)+1;
}
if (countitem(EmptyBottle)) {
delitem EmptyBottle, countitem(EmptyBottle);
@@ -595,11 +595,13 @@ function script clientupdater {
if (countitem(IcedBottle)) {
delitem IcedBottle, countitem(IcedBottle);
}
+ getitem ArcmageBoxset, 1;
// Unjail player
atcommand "@unjail "+strcharinfo(0);
mesn "Jesusalva";
mesq l("You're right, you never sold any Water Bottle ever. I'm unjailing you.");
+ mesc l("As an Apology Token, you're also receiving one @@.", getitemlink(ArcmageBoxset));
next;
}