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
|
// Evol scripts.
// Author:
// Travolta
// Description:
// Jenna, waitress in Artis inn.
001-2-28,52,32,0 script Jenna#001-2-28 NPC_RAIJIN_FEMALE_WAITRESS,1,1,{
function SayRandomGreeting {
.@tick = gettimetick(1);
if (.@tick > @Artis_RedPlush_WaitressTick + 10)
{
setarray .messages$[0], l("Welcome to our inn!"),
l("Welcome to Red Plush."),
l("Please, have a seat."),
l("Lovely day, isn't it?");
.@r = rand(getarraysize(.messages$));
.@msg$ = .messages$[.@r];
npctalk3 .@msg$;
@Artis_RedPlush_WaitressTick = .@tick;
}
}
speech S_LAST_NEXT, l("Do you want a drink?");
closedialog;
shop "#Invisible001-2-28";
close;
OnTimer1000:
dographmovestep;
OnTouch:
SayRandomGreeting;
end;
OnHour00:
if (playerattached())
@Artis_RedPlush_WaitressTick = 0;
end;
OnInit:
.sex = G_FEMALE;
.distance = 5;
initmovegraph "m_table_1", 52, 32,
"m_table_2", 56, 32,
"big_table_l", 53, 27,
"big_table_r", 56, 30,
"s_table_1", 53, 36,
"s_table_2", 58, 38,
"lf_table_2", 45, 31;
setmovegraphcmd "m_table_1", "s_table_2", 2, "dir 4; wait 8",
"m_table_1", "lf_table_2", 1, "dir 4; wait 8",
"m_table_1", "big_table_l",1, "dir 0; wait 10",
"m_table_2", "m_table_1", 1, "dir 0; wait 8",
"m_table_2", "lf_table_2", 1, "dir 4; emote 2; wait 8",
"m_table_2", "big_table_l",2, "dir 0; wait 8",
"s_table_1", "m_table_1", 5, "dir 0; wait 10",
"s_table_1", "big_table_l",3, "dir 0; wait 1; emote 103;"
"say Thank you for the tip!;"
"wait 15; moveon",
"s_table_1", "m_table_2", 1, "dir 0; wait 8",
"s_table_2", "s_table_1", 1, "wait 6",
"s_table_2", "m_table_2", 1, "dir 0; wait 8",
"big_table_l", "m_table_2", 1, "dir 0; wait 6",
"big_table_l", "s_table_1", 1, "dir 2; wait 6",
"big_table_r", "s_table_1", 1, "dir 2; wait 6",
"big_table_r", "m_table_2", 2, "wait 8",
"big_table_r", "s_table_2", 1, "dir 4; wait 8",
"lf_table_2", "m_table_2", 1, "dir 0; wait 8",
"lf_table_2", "big_table_r",1, "dir 4; wait 1; emote 3; wait 6";
firstmove "wait 8";
initnpctimer;
}
|