summaryrefslogtreecommitdiff
path: root/npc/functions/barber.txt
blob: 0edaab732d86ce925d4222ce2bc3e7125594a17f (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
//

function	script	Barber	{
	menu
		"Change my style", L_Style,
		"Change my color", L_Color,
		"Nah, I'm fine", L_Done;

L_Style:
	if (Sex == 0) goto L_Style_Female;
	
L_Style_Male:
	menu
		"Bald", -,
		"Ponytail", -,
		"Bowl cut", -,
		"Combed back", -,
		"Emo", -,
		"Mohawk", -,
		"Pompadour", -,
		"Center parting", -,
		"Supprise me", -,
		"Nah, I'm fine", close;
		goto L_Process_Style;

L_Style_Female:
	menu
		"Bald", -,
		"Long and slick", -,
		"Short and curly", -,
		"Ponytail", -,
		"Pigtails", -,
		"Long and curly", -,
		"Parted", -,
		"Short and slick", -,
		"Supprise me", -,
		"Nah, I'm fine", L_Done;

L_Process_Style:
	set @style, @menu - 1;
	if (@style == 8) set @style, rand(8);
	setlook 1, @style;
	return;

L_Color:
	menu
		"Brunette", -,
		"Green", -,
		"Dark red", -,
		"Light purple", -,
		"Gray", -,
		"Blonde", -,
		"Teal", -,
		"Light red", -,
		"Blue", -,
		"Dark purple", -,
		"Supprise me", -,
		"Nah, I'm fine", L_Done;
	set @color, @menu - 1;
	if (@color == 10) set @color, rand(10);
	setlook 6, @color;
	return;

L_Done:
	return;
}