summaryrefslogtreecommitdiff
path: root/npc/009-2/waitress.txt
blob: 80ab5a4a8dda625ae68410bcbe94d4a1a583698d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Waitress

009-2.gat,47,51,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;
}