summaryrefslogtreecommitdiff
path: root/npc/001-2-4/robin.txt
blob: 2457e5bc4580aade9f564eea466442d53240217b (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
67
68
69
70
71
// Evol scripts.
// Authors:
//    Reid
// Description:
//    Librarian

001-2-4,27,33,0	script	Robin	NPC_ROBIN,{

    function need_help
    {
        speech 4,
            l("Do you need help with something?");

        switch (select(l("What kinds of books are there here?"),
                       l("Nothing.")))
        {
            case 1:
                closedialog;
                npctalk3 l("Mostly manuals and tutorials but you won't find out until you open one!");
                break;
            case 2:
                closedialog;
                npctalk3 l("Good day to you!");
        }
        return;
    }

    function mythologise_people
    {
        npctalkonce l("In Artis they really do mythologise people when they die.");

        return;
    }

    function no_matter_what
    {
        npctalkonce l("No matter what people tell you, words and ideas can change the world.");

        return;
    }

    function outside_inside
    {
        npctalkonce l("What counts in a book is like so many things, not what is on the outside, but what is on the inside.");

        return;
    }

    switch (rand(4))
    {
        case 0:
            no_matter_what();
            break;
        case 1:
            mythologise_people();
            break;
        case 2:
            outside_inside();
            break;
        case 3:
            need_help();
            break;
    }

    close;

OnInit:
    .sex = G_MALE;
    .distance = 2;
    end;
}