From a75c323e7a9b35f7dcc49c6f86478ec16a3c0419 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 30 Aug 2019 19:25:06 -0300 Subject: Actually, give Julie an Arcmage Boxset as an apology token. --- npc/functions/clientversion.txt | 6 ++++-- 1 file 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; } -- cgit v1.2.3-60-g2f50