summaryrefslogtreecommitdiff
path: root/world/map/npc/009-2/waitress.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/009-2/waitress.txt
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'world/map/npc/009-2/waitress.txt')
-rw-r--r--world/map/npc/009-2/waitress.txt83
1 files changed, 83 insertions, 0 deletions
diff --git a/world/map/npc/009-2/waitress.txt b/world/map/npc/009-2/waitress.txt
new file mode 100644
index 00000000..265cd234
--- /dev/null
+++ b/world/map/npc/009-2/waitress.txt
@@ -0,0 +1,83 @@
+// Waitress
+
+009-2.gat,60,52,0 script Melinda 140,{
+
+ mes "[Melinda]";
+ mes "\"Hi, sweetie! Want a fresh beer for 170 GP?\"";
+ next;
+
+ menu
+ "\"Sure! [don't tip]\"", L_NoTip,
+ "Sure! [tip 5 GP]", L_5Tip,
+ "Sure! [tip 10 GP]", L_10Tip,
+ "Nah, maybe later.", L_No;
+ close;
+
+L_NoTip:
+ if (zeny < 170)
+ goto L_NoMoney;
+
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Beer") == 0)
+ goto L_TooMany;
+
+ set zeny, zeny - 170;
+ getitem "Beer", 1;
+
+ mes "[Melinda]";
+ mes "Pff... nickel nurser!";
+ close;
+
+L_5Tip:
+ if (zeny < 175)
+ goto L_NoMoney;
+
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Beer") == 0)
+ goto L_TooMany;
+
+ set zeny, zeny - 175;
+ getitem "Beer", 1;
+
+ mes "[Melinda]";
+ mes "\"Here you go, sweetheart!\"";
+ close;
+
+L_10Tip:
+ if (zeny < 180)
+ goto L_NoMoney;
+
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Beer") == 0)
+ goto L_TooMany;
+
+ set zeny, zeny - 180;
+ getitem "Beer", 1;
+
+ mes "[Melinda]";
+ mes "\"Thank you, sweetie! Want to hear a secret?\"";
+ next;
+
+ menu
+ "What is it, darling?", -,
+ "Nah, I don't feel like chatting.", L_No;
+
+ mes "[Melinda]";
+ mes "\"The master bowyer in this village used to construct exceptional bows. When you want one you should go and ask him.\"";
+ close;
+
+L_No:
+ mes "[Melinda]";
+ mes "\"Just call me when you've changed your mind.\"";
+ close;
+
+L_NoMoney:
+ mes "[Melinda]";
+ mes "\"You look broke. Don't think that you can dine and dash here!\"";
+ close;
+
+L_TooMany:
+ mes "[Melinda]";
+ mes "\"You don't have room for a beer!\"";
+ close;
+}