summaryrefslogtreecommitdiff
path: root/npc/quests/quests_ayothaya.txt
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/quests/quests_ayothaya.txt
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/quests/quests_ayothaya.txt')
-rw-r--r--npc/quests/quests_ayothaya.txt36
1 files changed, 5 insertions, 31 deletions
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt
index 284566529..ea0e154d3 100644
--- a/npc/quests/quests_ayothaya.txt
+++ b/npc/quests/quests_ayothaya.txt
@@ -3,7 +3,7 @@
//===== By ===================================================
//= Fredzilla, MasterOfMuppets
//===== Version ==============================================
-//= 2.0a
+//= 2.1
//===== Compatible With ======================================
//= eAthena SVN
//===== Description ==========================================
@@ -26,6 +26,7 @@
//= 2.0 Rescripted Tom Yum Goong and Dungeon quest to Aegis [L0ne_W0lf]
//= 10.3 standards.
//= 2.0a Corrected a Typo error ";;". [Samuray22]
+//= 2.1 Added missing checkweights. [L0ne_W0lf]
//============================================================
// Ayothaya Ring Quest
@@ -2685,16 +2686,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{
}
ayothaya,153,86,5 script Thongpool#ayo 843,{
- //if (max_max_c1 == 1) {
- // mes "- Wait a minute! -";
- // mes "- Currently you're carrying -";
- // mes "- too many items with you. -";
- // mes "- Please enlighten your weight -";
- // mes "- and try again. -";
- // close;
- //}
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2810,16 +2802,7 @@ ayothaya,153,86,5 script Thongpool#ayo 843,{
}
ayothaya,121,240,7 script Mr. Jun#ayo 842,1,1,{
- //if (max_max_c1 == 1) {
- // mes "- Wait a minute! -";
- // mes "- Currently you're carrying -";
- // mes "- too many items with you. -";
- // mes "- Please enlighten your weight -";
- // mes "- and try again. -";
- // close;
- //}
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -2867,16 +2850,7 @@ ayothaya,121,240,7 script Mr. Jun#ayo 842,1,1,{
close;
OnTouch:
- //if (max_max_c1 == 1) {
- // mes "- Wait a minute! -";
- // mes "- Currently you're carrying -";
- // mes "- too many items with you. -";
- // mes "- Please enlighten your weight -";
- // mes "- and try again. -";
- // close;
- //}
- set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "- Wait a minute! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";