diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 12:22:06 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 12:22:06 +0000 |
commit | db44fb4e6555a0f8dc615b9795d5240f3a6d6903 (patch) | |
tree | 8e6fd3cc776573e858f2bf33bbaa77af1fead934 /npc/009-2_Hurnscald/waitress.txt | |
parent | 4e98d4621f225766abb32d30ab6cea8d2739a419 (diff) | |
download | serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.gz serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.bz2 serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.xz serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.zip |
Some more "ItemName" conversions
Diffstat (limited to 'npc/009-2_Hurnscald/waitress.txt')
-rw-r--r-- | npc/009-2_Hurnscald/waitress.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/009-2_Hurnscald/waitress.txt b/npc/009-2_Hurnscald/waitress.txt index bcf2f434..4bf018ee 100644 --- a/npc/009-2_Hurnscald/waitress.txt +++ b/npc/009-2_Hurnscald/waitress.txt @@ -3,8 +3,8 @@ 009-2.gat,60,52,0 script Melinda 140,{ if (zeny < 180) goto L_NoMoney; getinventorylist; - set @beerCount, countitem(539); - if (@inventorylist_count == 100 && beerCount < 0) goto L_TooMany; + set @beerCount, countitem("Beer"); + if (@inventorylist_count == 100 && beerCount == 0) goto L_TooMany; mes "[Melinda]"; mes "\"Hi sweety! Want a fresh beer for 170gp?\""; @@ -19,24 +19,24 @@ mes "[Melinda]"; mes "Pff... nickel nurser!"; next; - set zeny,zeny-170; - getitem 539,1; + set zeny, zeny - 170; + getitem "Beer", 1; close; L_5Tip: mes "[Melinda]"; mes "\"Here you go, sweethearth!\""; next; - set zeny,zeny-175; - getitem 539,1; + set zeny, zeny - 175; + getitem "Beer", 1; close; L_10Tip: mes "[Melinda]"; mes "\"Thank you, sweety! Want me to hear a secret?\""; next; - set zeny,zeny-180; - getitem 539,1; + set zeny, zeny - 180; + getitem "Beer", 1; menu "What's it, darling?", -, "Nah, I don't feel like chatting.", L_No; |