summaryrefslogtreecommitdiff
path: root/npc/029-0/sakar.txt
blob: 2373698a5757eb0e56402d9bd80088e596f7863d (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
72
73
74
75
76
77
78
79
80
81
82
83
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Fires of Steam: The Death of Andrei Sakar

//////////////////////////////////////////
// Andrei Sakar Instances

029-8,50,173,0	script	Andrei Sakar#FoS298	NPC_ANDREI,{
    mesn;
    mesq l("Do you want to return?");
    next;
    select
        l("No, thanks."),
        l("Yes, I would like to go back to the Swamps."),
        l("Yes, I would like to go back to Artis.");
    mes "";
    closeclientdialog;
    switch (@menu) {
        case 2:
            cwarp "029-7", 87, 56;
        case 3:
            cwarp "029-0", 90, 31;
    }
    close;
OnInit:
    .distance=5;
    end;
}

029-0,88,33,0	script	Andrei Sakar#FoS290	NPC_ANDREI,{
    function prologue;
    if (!FIRESOFSTEAM_CD)
        prologue();
    mesn;
    mesq l("Do you want to advance?");
    next;
    select
        l("No, thanks."),
        l("Yes, I would like to explore!"),
        rif($FIRESOFSTEAM >= 8, l("Yes, I would like to go to Asphodel Moors!"));
    mes "";
    closeclientdialog;
    switch (@menu) {
        case 2:
            cwarp "029-1", 32, 91;
        case 3:
            cwarp "029-8", 51, 174;
    }
    close;

function prologue {
    mesn;
    mesq l("Thanks for attending my call. As you can clearly see, the town is deserted; We only have our own staff in this town.");
    next;
    mesn;
    mesq l("They set up shop in the whole town, so if you are in need of upgrading your gear or buying health food, it might be a good idea to pay them a visit.");
    next;
    mesn;
    mesq l("Now, we're hot on the trails of whatever is the reason for the town to be so empty. We blocked this road so the town is not overrun by the monsters outside.");
    next;
    mesn;
    mesq l("We've traced them to the Dark Forest, our goal is to destroy every raider there and defeat whoever is behind this tragedy. All that while keeping an eye open for survivors.");
    next;
    mesn;
    mesq l("After all the monsters in an area are defeated, they'll respawn at once. I know, that's not good, but well, nothing that can be done about it.");
    next;
    mesn;
    mesq l("Anyway, after that I'll use my magic, so everyone can rest after that until I finish, or keep killing the new monsters for experience and drops.");
    next;
    mesn;
    mesq l("Are you ready? There will be a long path ahead of us until this mistery is solved.");
    FIRESOFSTEAM_CD=gettimetick(2);
    next;
    return;
}

OnInit:
    .distance=5;
    end;
}