summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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;
}