diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-21 19:26:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-21 19:26:28 -0300 |
commit | 466d77a2acf8f0de236fbca8c78ff8e6f1f55292 (patch) | |
tree | 784caa837436cf7b84534078905a8c8286daf03c /npc | |
parent | df6b5fdb6b555f91dbd37d883480b7e86de5505c (diff) | |
download | serverdata-466d77a2acf8f0de236fbca8c78ff8e6f1f55292.tar.gz serverdata-466d77a2acf8f0de236fbca8c78ff8e6f1f55292.tar.bz2 serverdata-466d77a2acf8f0de236fbca8c78ff8e6f1f55292.tar.xz serverdata-466d77a2acf8f0de236fbca8c78ff8e6f1f55292.zip |
If croconut box was on inventary, double them too. Storage are tricky so skip them.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/clientversion.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index f600785ea..613561ab1 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -262,6 +262,11 @@ function script clientupdater { getitem TulimMap, 1; if (getq(TulimsharQuest_Sailors) == 4) getexp 1508, 15; + .@cr=countitem(CroconutBox); + if (.@cr) { + getitem CroconutBox, .@cr; + dispbottom l("Croconut Box magically became two in inventory. Storage unaffected."); // Too much hassle affecting storage/cart/etc. + } } |