summaryrefslogtreecommitdiff
path: root/npc/events/halloween_2006.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/events/halloween_2006.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/events/halloween_2006.txt')
-rw-r--r--npc/events/halloween_2006.txt51
1 files changed, 6 insertions, 45 deletions
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 8e8d60684..64fef4c0d 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Brainstorm
//===== Current Version: =====================================
-//= 1.1a
+//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -14,6 +14,7 @@
//= 1.0 First semi-working conversion. [Brainstorm]
//= 1.1 Refined Brainstorm's conversion. [L0ne_W0lf]
//= 1.1a Minor fixes. (Screwed up weight checks somehow) [L0ne_W0lf]
+//= 1.2 Added missing checkweights. [L0ne_W0lf]
//============================================================
// Pumpkin Mojo quest (Event 1)
@@ -29,18 +30,8 @@ OnTouch:
}
prontera,164,69,3 script Cool Devi#06_hw 738,{
- /*var max_max_c = CheckMaxCount 1201 1
- if max_max_c == 1
- mes "^3355FFWait a second!"
- mes "Right now, you're carrying"
- mes "too many things with you."
- mes "Please come back after"
- mes "using the Kafra Service"
- mes "to store some of your items.^000000"
- close;
- }*/
set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (.@now_weight < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -236,18 +227,8 @@ prontera,164,69,3 script Cool Devi#06_hw 738,{
geffen,145,132,3 script Hoirin#06_hw 729,{
- /*var max_max_c = CheckMaxCount 1201 1
- if max_max_c == 1
- mes "^3355FFWait a second!"
- mes "Right now, you're carrying"
- mes "too many things with you."
- mes "Please come back after"
- mes "using the Kafra Service"
- mes "to store some of your items.^000000"
- close;
- }*/
set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (.@now_weight < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -402,18 +383,8 @@ OnTouch:
}
nif_in,19,32,3 script Deviruchi#06_hw 738,{
- /*var max_max_c = CheckMaxCount 1201 1
- if max_max_c == 1
- mes "^3355FFWait a second!"
- mes "Right now, you're carrying"
- mes "too many things with you."
- mes "Please come back after"
- mes "using the Kafra Service"
- mes "to store some of your items.^000000"
- close;
- }*/
set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (.@now_weight < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -504,18 +475,8 @@ nif_in,19,32,3 script Deviruchi#06_hw 738,{
// Creation of Pumpkin Pie (Event 2)
nif_fild01,165,115,3 script Chicken Masta#06_hw 794,{
- /*var max_max_c = CheckMaxCount 1201 1
- if max_max_c == 1
- mes "^3355FFWait a second!"
- mes "Right now, you're carrying"
- mes "too many things with you."
- mes "Please come back after"
- mes "using the Kafra Service"
- mes "to store some of your items.^000000"
- close;
- }*/
set .@now_weight,MaxWeight-Weight;
- if (.@now_weight < 2000) {
+ if (.@now_weight < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";