summaryrefslogtreecommitdiff
path: root/npc/quests/quests_veins.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/quests/quests_veins.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/quests/quests_veins.txt')
-rw-r--r--npc/quests/quests_veins.txt101
1 files changed, 11 insertions, 90 deletions
diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt
index 00a56f32a..ea9f56ba4 100644
--- a/npc/quests/quests_veins.txt
+++ b/npc/quests/quests_veins.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.3a
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -33,20 +33,13 @@
//= Start NPC is missing, but will be added when I get it.
//= 1.3 Fixed two typos small in Asbar. [L0ne_W0lf]
//= 1.3a More fixes to some of the Base quest NPCs. [L0ne_W0lf]
+//= 1.4 Added missing checkweights. [L0ne_W0lf]
//============================================================
// Stone Quest
//============================================================
ve_fild05,257,130,4 script Wincing Old Man#ve 945,{
- //if (max_max_c1 == 1) {
- // mes "- Wait a moment! -";
- // mes "- Currently you are carrying -";
- // mes "- too many items with you. -";
- // mes "- Please come back after -";
- // mes "- you put some items into Kafra Storage. -";
- // close;
- //}
- if ((MaxWeight - Weight) < 2000) {
+ if ((MaxWeight - Weight) < 2000 || checkweight(1201,1) == 0) {
mes "- Wait a moment! -";
mes "- Currently you are carrying -";
mes "- too many items with you. -";
@@ -735,16 +728,7 @@ prontera,202,122,0 script Kid#sch 703,{
}
prt_church,89,108,6 script Bard#sch 741,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -1459,16 +1443,7 @@ ra_in01,58,389,0 script Guant Prisoner#sch 929,{
// Escort Dancers to Schwaltzvalt Republic
job_duncer,93,106,6 script Dance Instructor#sch 892,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -2161,16 +2136,7 @@ ein_in01,170,284,4 script Arunafeltz Figure#sch 920,{
}
morocc,297,154,0 script Thin-Faced Bard#sch 51,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5412,16 +5378,7 @@ ra_temin,87,118,3 script Drawer#vol1::VeinsDrawer 111,{
ra_temin,83,118,3 duplicate(VeinsDrawer) Drawer#vol2 111
ra_temin,85,118,3 script Drawer#vol3 111,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -5583,16 +5540,7 @@ veins,159,171,3 script Towner#vol 945,{
}
ve_in,233,116,3 script Drunken Man#vol 901,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6014,16 +5962,7 @@ OnEmote:
}
ve_in,277,229,3 script Wall Closet#vol 111,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6050,16 +5989,7 @@ ve_in,277,229,3 script Wall Closet#vol 111,{
}
ve_in,281,214,3 script Bookshelf#vol 111,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";
@@ -6302,16 +6232,7 @@ que_thor,136,66,3 duplicate(VeinsGuard) Guard#vol2 939
que_thor,127,60,5 duplicate(VeinsGuard) Guard#vol3 939
thor_camp,250,104,3 script Sahedi#vol 934,{
- //if (max_max_c1 == 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;
- //}
- if ((MaxWeight-Weight) < 2000) {
+ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
mes "too many things with you.";