summaryrefslogtreecommitdiff
path: root/npc/006-1_Desert_mountains/pachua.txt
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-12-24 21:24:57 -0700
committerFate <fate-tmw@googlemail.com>2008-12-24 21:24:57 -0700
commit562a0fdbaa002a49f4763bd07442e2ed32726ab9 (patch)
tree0e997cd03f8a03e8bf839890318efd15a0242dc2 /npc/006-1_Desert_mountains/pachua.txt
parent63006fa540fe6fbddd132be33b39fd28f02a2e0f (diff)
parente896b785935c661319ade424f473f4442e1878eb (diff)
downloadserverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.gz
serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.bz2
serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.xz
serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.zip
Merge branch 'master' into magicv2008.12.25
Diffstat (limited to 'npc/006-1_Desert_mountains/pachua.txt')
-rw-r--r--npc/006-1_Desert_mountains/pachua.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/006-1_Desert_mountains/pachua.txt b/npc/006-1_Desert_mountains/pachua.txt
index 15d1610c..51c2d3b2 100644
--- a/npc/006-1_Desert_mountains/pachua.txt
+++ b/npc/006-1_Desert_mountains/pachua.txt
@@ -134,11 +134,13 @@ L_leather_patch:
next;
menu "Here you are.", -,
- "OK, I'll be back later.", L_end,
+ "OK, I'll be back later.", L_End,
"That's too expensive!.", L_NoDeal;
if (countitem(@SNAKE_SKIN) < 1) goto L_NoSkins;
if (zeny < @LEATHER_PATCH_PRICE) goto L_NoMoney;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem(@SNAKE_SKIN) > 1) goto L_TooMany;
set zeny, zeny - @LEATHER_PATCH_PRICE;
delitem @SNAKE_SKIN, 1;
@@ -189,6 +191,10 @@ L_WearingChaps:
next;
goto L_Check_Shops;
-L_end:
+L_End:
close;
+
+L_TooMany:
+ mes "[Chief Pachua]";
+ mes "\"You don't have room for a leather patch. Come back later.\"";
}