From c54ae348d8e51d038ee1f35f610d56e2ee55522b Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Thu, 28 Feb 2008 05:59:53 +0000 Subject: Implemented several "checkweights" in other NPCs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12258 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/quests_yuno.txt | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'npc/quests/quests_yuno.txt') diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt index f6ee4e3c0..275b265c9 100644 --- a/npc/quests/quests_yuno.txt +++ b/npc/quests/quests_yuno.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= eAthena Dev Team; L0ne_W0lf //===== Current Version: ===================================== -//= 1.9 +//= 2.0 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -31,6 +31,7 @@ //= 1.7 Changed ALCH_Q check and set to corrispond to new alchemist job quest. [L0ne_W0lf] //= 1.8 Fixed metto_q never reaching 2. Made some names more unique. [L0ne_W0lf] //= 1.9 Fixed Missing Variables in Metto quest. (bugreport:473) [Samuray22] +//= 2.0 Added missing checkweights. [L0ne_W0lf] //============================================================ // Metto Quest @@ -424,14 +425,14 @@ yuno_in03,178,43,0 script CiCi#juno 121,{ // Alechmist Brothers yuno_in01,103,157,3 script Bain#juno 98,{ - //if (max_max_c == 1) { - // mes "- Wait a minute !! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please try again -"; - // mes "- after you loose some weight. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a minute !! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please try again -"; + mes "- after you loose some weight. -"; + close; + } if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) { if (ALCH_Q == 23) set ALCH_Q,24; set .@kyulkwa,rand(1,10); @@ -556,14 +557,14 @@ S_DelItems: } yuno_in01,100,153,7 script Bajin 47,0,0,{ - //if (max_max_c == 1) { - // mes "- Wait a minute !! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please try again -"; - // mes "- after you loose some weight. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a minute !! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please try again -"; + mes "- after you loose some weight. -"; + close; + } if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) { if (ALCH_Q == 23) set ALCH_Q,24; set .@kyulkwa,rand(1,10); -- cgit v1.2.3-60-g2f50