|
@@ -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.";
|