summaryrefslogblamecommitdiff
path: root/npc/001-2-5/books.txt
blob: c0d05df218975c0968407ea63122662a2658b078 (plain) (tree)

































                                                                                                                                                                                           
// 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";
    .sex = G_OTHER;
    .distance = 1;
    end;
}