summaryrefslogtreecommitdiff
path: root/npc/cities
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:59:53 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 05:59:53 +0000
commitc54ae348d8e51d038ee1f35f610d56e2ee55522b (patch)
treebe6a28d9e90eea254faa3504686251ba399ee3ea /npc/cities
parent62f0c65cd908cf17c092a33fbfa94a12d9b30af1 (diff)
downloadhercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.gz
hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.bz2
hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.tar.xz
hercules-c54ae348d8e51d038ee1f35f610d56e2ee55522b.zip
Implemented several "checkweights" in other NPCs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12258 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/cities')
-rw-r--r--npc/cities/jawaii.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt
index 9a7635933..1557d3a4c 100644
--- a/npc/cities/jawaii.txt
+++ b/npc/cities/jawaii.txt
@@ -5,7 +5,7 @@
//= DNett123 (1.1 - 1.5)
//= L0ne_w0lf
//===== Current Version: =====================================
-//= 3.3a
+//= 3.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -32,7 +32,9 @@
//= None of the NPCs need the player's partner to be online.
//= 3.3 Just a small fix up on the Bartender. [L0ne_W0lf]
//= 3.3a Just a little typo error. [Samuray22]
+//= 3.4 Added missing checkweights. [L0ne_W0lf]
//============================================================
+
// Jawaii
//============================================================
jawaii,239,112,7 script Mariner#toizu 100,{
@@ -708,13 +710,11 @@ OnTouch:
}
jawaii_in,15,104,0 script Waitress#jawaii 80,{
- //var max_max_c = CheckMaxCount 1201 1
- //if (max_max_c == 1) {
- // mes "^3355FF * Wait a minute! *"
- // mes "You're carrying too many items with you right now. Please store some of your things into Kafra Storage and try again.^000000"
- // close
- // return
- //}
+ if (checkweight(1201,1) == 0) {
+ mes "^3355FF * Wait a minute! *";
+ mes "You're carrying too many items with you right now. Please store some of your things into Kafra Storage and try again.^000000";
+ close;
+ }
if (getpartnerid()) {
mes "[Waitress]";
mes "Hello,";