summaryrefslogtreecommitdiff
path: root/npc/001-2-5/books.txt
blob: 3145146a85ebe12103291ebad715a3c644301e89 (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
// Evol scripts.
// Author:
//    Reid
// Description:
//    Gasaron

001-2-5,30,32,0	script	#001-2-5-Book1	NPC_NO_SPRITE,{

    function read_book {
        narrator S_FIRST_BLANK_LINE,
            l("There are two kinds of dialogue, the ones with regular citizens, and the ones with other adventurers."),
            l("When you go near villagers, you can see a speech bubble above them, you can then talk to them by pressing the [T] key."),
            l("You can select a specific person with the [N] key, and then, press the [T] key when you are surrounded by more than one person."),
            l("You can also simply talk to any citizen around you by clicking on them."),
            l("Nevertheless, you can talk with another adventurer by pressing the [Enter] key and then type what you want to say!"),
            l("If you want to say something to a specific player, you can type \"/query Playername\" or \"/whisper Playername message\", this will create a new tab on your chat window.");
    }

OnShelfUse:
    if (openbookshelf())
        read_book;
    close;

OnUse:
    if (openbook())
        read_book;
    close;

OnInit:
    .book_name$ = "Communication Theory";
    .bodytype = BODYTYPE_1;
    .distance = 1;
    end;
}