diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 05:59:53 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 05:59:53 +0000 |
commit | c54ae348d8e51d038ee1f35f610d56e2ee55522b (patch) | |
tree | be6a28d9e90eea254faa3504686251ba399ee3ea /npc/quests/obb_quest.txt | |
parent | 62f0c65cd908cf17c092a33fbfa94a12d9b30af1 (diff) | |
download | hercules-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/obb_quest.txt')
-rw-r--r-- | npc/quests/obb_quest.txt | 35 |
1 files changed, 18 insertions, 17 deletions
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: |