summaryrefslogtreecommitdiff
path: root/npc/009-2_Hurnscald/waitress.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/009-2_Hurnscald/waitress.txt')
-rw-r--r--npc/009-2_Hurnscald/waitress.txt16
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;