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
|
// Evol scripts.
// Authors:
// Reid
// Travolta
// Description:
// Barber of Aemil, should be placed on the 29th indoor but it's still a WIP
001-2-29,37,31,0 script Edouard#001-2-29 NPC_EDOUARD,{
function tellStory {
if (Edouard_StoryTold != 0)
{
mes "";
mesn;
}
speech 12,
l("I am new in this town, just like you are."),
l("I came here, looking for a better life."),
l("I still didn't find a cheap building to open my own business, so for now I will stay in this inn."),
l("I'm a barber, you see. I can change your hair style or color to your liking.");
Edouard_StoryTold = 1;
return;
}
speech 4,
lg("Hello, young lady.", "Hello, young man.");
if (Edouard_StoryTold == 0)
tellStory;
speech 12,
l("What would you like me to change?");
do
{
menuint
l("I'd like to get a different style."), 1,
l("Can you do something with my color?"), 2,
l("What's your story again?"), 3,
l("Hmm, I'm fine for now, thank you."), 4;
switch (@menuret)
{
case 1:
BarberChangeStyle;
speech 5,
l("Enjoy your new style.");
break;
case 2:
BarberChangeColor;
speech 5,
l("I hope you like this color.");
break;
case 3:
tellStory;
break;
case 4:
speech 5,
l("Feel free to visit me another time");
closedialog;
npctalk3 l("Bye bye!");
close;
}
} while (1);
OnInit:
.sex = G_MALE;
.distance = 2;
end;
}
|