1 |
if (interact && waiter == 0) |
2 |
{ |
3 |
if (global.route == 3) |
4 |
{ |
5 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
6 |
with (msg) |
7 |
message[0] = "* (An abandoned table.)"; |
8 |
} |
9 |
else |
10 |
{ |
11 |
waiter = 1; |
12 |
} |
13 |
} |
14 |
if (waiter == 1) |
15 |
{ |
16 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
17 |
with (msg) |
18 |
{ |
19 |
message[0] = "* (A table for three with a few# empty glasses.)"; |
20 |
if (other.npc_flag == 1) |
21 |
{ |
22 |
other.waiter = 0; |
23 |
exit; |
24 |
} |
25 |
message[1] = "* (A few G's from a past tip# catch your eye.)"; |
26 |
message[2] = "* (Take it?)"; |
27 |
ch_msg = 2; |
28 |
ch[1] = "Yes"; |
29 |
ch[2] = "No"; |
30 |
if (outcome == 1) |
31 |
{ |
32 |
message[3] = "* (You got 10G! Happy?)"; |
33 |
audio_play_sound(snd_success, 1, 0); |
34 |
other.npc_flag = 1; |
35 |
other.waiter = 0; |
36 |
} |
37 |
if (outcome == 2) |
38 |
{ |
39 |
message[3] = "* (It doesn't belong to you# anyway.)"; |
40 |
other.waiter = 0; |
41 |
} |
42 |
} |
43 |
} |
44 |
image_alpha = 0; |