summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
blob: c23aeeacc99cf564a78a95f21afdf4d08df6b16d (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
// Evol functions.
// Author:
//    Reid
// Description:
//    Tell a random goodbye sentence.
// Variables:
//    .@rand = Random number between the number of "goodbye" choice.

function	script	goodbye	{
    closedialog;

    .@rand = rand(13);
    if (.@rand == 0) npctalk3 l("See you!");
    if (.@rand == 1) npctalk3 l("See you later!");
    if (.@rand == 2) npctalk3 l("See you soon!");
    if (.@rand == 3) npctalk3 l("Bye!");
    if (.@rand == 4) npctalk3 l("Farewell.");
    if (.@rand == 5) npctalk3 l("Bye then!");
    if (.@rand == 6) npctalk3 l("Goodbye.");
    if (.@rand == 7) npctalk3 l("Bye for now.");
    if (.@rand == 8) npctalk3 l("Talk to you soon!");
    if (.@rand == 9) npctalk3 l("Talk to you later!");
    if (.@rand == 10) npctalk3 l("Have a good day!");
    if (.@rand == 11) npctalk3 l("Cheers!");
    if (.@rand == 12) npctalk3 l("Take care!");

    close;
}