summaryrefslogtreecommitdiff
path: root/npc/merchants/quivers.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:15:27 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:15:27 +0000
commit62f0c65cd908cf17c092a33fbfa94a12d9b30af1 (patch)
treec2ccc05a639faea8d03c4cbd61ad1dce04cd1205 /npc/merchants/quivers.txt
parentcd457b601c3b28805b1eb9e0b97333851e87ce1f (diff)
downloadhercules-62f0c65cd908cf17c092a33fbfa94a12d9b30af1.tar.gz
hercules-62f0c65cd908cf17c092a33fbfa94a12d9b30af1.tar.bz2
hercules-62f0c65cd908cf17c092a33fbfa94a12d9b30af1.tar.xz
hercules-62f0c65cd908cf17c092a33fbfa94a12d9b30af1.zip
Implemented several "checkweight" NPC merchants.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12257 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/quivers.txt')
-rw-r--r--npc/merchants/quivers.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt
index c035f9e25..9690b7323 100644
--- a/npc/merchants/quivers.txt
+++ b/npc/merchants/quivers.txt
@@ -25,13 +25,12 @@
//============================================================
payon_in01,5,134,5 script Inventor Jaax 89,{
- //set max_max_c1,CheckMaxCount;
- //if (max_max_c1 == 1) {
- // mes "[Inventor Jaax]";
- // mes "Hey, you're carrying";
- // mes "way too much stuff. Why don't you stash it away in Kafra Storage? We can talk after you do that, right?";
- // close;
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "[Inventor Jaax]";
+ mes "Hey, you're carrying";
+ mes "way too much stuff. Why don't you stash it away in Kafra Storage? We can talk after you do that, right?";
+ close;
+ }
set .@now_weight,MaxWeight-Weight;
if (.@now_weight < 2000) {
mes "[Inventor Jaax]";