summaryrefslogtreecommitdiff
path: root/npc/merchants/dye_maker.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/dye_maker.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/dye_maker.txt')
-rw-r--r--npc/merchants/dye_maker.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt
index cdcde978d..2d3983452 100644
--- a/npc/merchants/dye_maker.txt
+++ b/npc/merchants/dye_maker.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= eAthena Dev Team
//===== Current Version: =====================================
-//= 1.3b
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -15,10 +15,11 @@
//= 1.2b Fixed typos in variable names [ultramage]
//= 1.3 Made the checks more dynamic [ultramage]
//= 1.3b Fixed incorrect checking loop structure [ultramage]
+//= 1.4 Added a checkweight. [L0ne_W0lf]
//============================================================
morocc_in,146,99,3 script Java Dullihan 58,{
- if (MaxWeight-Weight < 200) {
+ if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";