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/obb_quest.txt | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'npc/quests/obb_quest.txt') diff --git a/npc/quests/obb_quest.txt b/npc/quests/obb_quest.txt index 032331c40..0b7a7f42c 100644 --- a/npc/quests/obb_quest.txt +++ b/npc/quests/obb_quest.txt @@ -3,7 +3,7 @@ //===== By =================================================== //= Celesta, Lupus //===== Version ============================================== -//= 1.7 +//= 1.8 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -17,17 +17,18 @@ //= branch from this one. //===== Additional Comments: ================================= //= 1.7 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] +//= 1.8 Added missing checkweights. [L0ne_W0lf] //============================================================ alberta,43,244,0 script Tourist#thai 99,{ - //if (max_max_c == 1) { - // mes "- Wait a moment! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please enlighten your weight -"; - // mes "- and try again. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a moment! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please enlighten your weight -"; + mes "- and try again. -"; + close; + } if (thai_head >= 1 && thai_head <= 5) { switch(thai_head) { case 1: @@ -1062,14 +1063,14 @@ morocc,230,150,0 script Jacob#thai 50,{ } comodo,68,195,0 script Old Man#thai 120,{ - //if (max_max_c == 1) { - // mes "- Wait a moment! -"; - // mes "- Currently you're carrying -"; - // mes "- too many items with you. -"; - // mes "- Please enlighten your weight -"; - // mes "- and try again. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a moment! -"; + mes "- Currently you're carrying -"; + mes "- too many items with you. -"; + mes "- Please enlighten your weight -"; + mes "- and try again. -"; + close; + } if (thai_head >= 11 && thai_head <= 15) { switch(thai_head) { case 11: -- cgit v1.2.3-60-g2f50