diff options
author | Reid <reidyaro@gmail.com> | 2015-07-23 17:54:48 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2015-07-23 17:54:48 +0200 |
commit | 32e1c5996c7a57629538fa972f1ce9d1ffb5f96f (patch) | |
tree | 25c50a8c47f3d0e0f7cd14f50e17239651b32d36 | |
parent | 1f001bf1ceafcb35962120d3799df94f148b3786 (diff) | |
download | serverdata-32e1c5996c7a57629538fa972f1ce9d1ffb5f96f.tar.gz serverdata-32e1c5996c7a57629538fa972f1ce9d1ffb5f96f.tar.bz2 serverdata-32e1c5996c7a57629538fa972f1ce9d1ffb5f96f.tar.xz serverdata-32e1c5996c7a57629538fa972f1ce9d1ffb5f96f.zip |
Improve gugli script to remove every box.
-rw-r--r-- | npc/000-1/gugli.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt index 585ec4972..3ad2752d4 100644 --- a/npc/000-1/gugli.txt +++ b/npc/000-1/gugli.txt @@ -109,12 +109,9 @@ L_CollectSmthing: mesq l("Good job!"); next; - if (countitemcolor(714) == 2) delitem 714, 2; - if (countitemcolor(715) == 2) delitem 715, 2; - if (countitemcolor(716) == 2) delitem 716, 2; - if (countitemcolor(714) == 1) delitem 714, 1; - if (countitemcolor(715) == 1) delitem 715, 1; - if (countitemcolor(716) == 1) delitem 716, 1; + delitem 714, countitem(714); + delitem 715, countitem(714); + delitem 716, countitem(714); mesq l("You still need to give me boxes from: "); if (getq(ShipQuests_Astapolos) == 0) mesq l("- Astapolos"); |