summaryrefslogtreecommitdiff
path: root/npc/009-2/waitress.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/009-2/waitress.txt
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/009-2/waitress.txt')
-rwxr-xr-xnpc/009-2/waitress.txt71
1 files changed, 71 insertions, 0 deletions
diff --git a/npc/009-2/waitress.txt b/npc/009-2/waitress.txt
new file mode 100755
index 00000000..6c7ceb5b
--- /dev/null
+++ b/npc/009-2/waitress.txt
@@ -0,0 +1,71 @@
+
+009-2,60,52,0 script Melinda NPC140,{
+ 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;
+
+L_NoTip:
+ if (Zeny < 170)
+ goto L_NoMoney;
+ getinventorylist;
+ if (@inventorylist_count == 100 && countitem("Beer") == 0)
+ goto L_TooMany;
+ 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;
+ 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;
+ Zeny = Zeny - 180;
+ getitem "Beer", 1;
+ mes "[Melinda]";
+ mes "\"Thank you, sweetie! Want to hear a secret?\"";
+ next;
+ menu
+ "What is it, darling?", L_Next,
+ "Nah, I don't feel like chatting.", L_No;
+
+L_Next:
+ 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;
+}