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_amatsu.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'npc/quests/quests_amatsu.txt') diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt index 67668eb9f..251a96d86 100644 --- a/npc/quests/quests_amatsu.txt +++ b/npc/quests/quests_amatsu.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= eAthena team & others? & MasterOfMuppets //===== Current Version: ===================================== -//= 1.2 +//= 1.4 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -13,19 +13,20 @@ //= Dungeon Quest //===== Additional Comments: ================================= //= 1.3 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf] +//= 1.4 Added missing checkweight. [L0ne_W0lf] //============================================================ // Momotaro Event //============================================================ amatsu,223,236,3 script Publisher#ama 763,{ - //if (max_max_c == 1) { - // mes "- Wait a moment!! -"; - // mes "- Currently you are carrying -"; - // mes "- too many items with you. -"; - // mes "- Please store some items into your Kafra storage -"; - // mes "- and try again. -"; - // close; - //} + if (checkweight(1201,1) == 0) { + mes "- Wait a moment!! -"; + mes "- Currently you are carrying -"; + mes "- too many items with you. -"; + mes "- Please store some items into your Kafra storage -"; + mes "- and try again. -"; + close; + } if (event_momo < 2) { mes "[Publisher]"; mes "Hello~!!"; -- cgit v1.2.3-60-g2f50