summaryrefslogtreecommitdiff
path: root/npc/029-0/elora.txt
blob: 4417094e3fd215d37202c9b972a8bd7dbff26bfc (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
84
85
86
87
88
89
90
91
92
93
94
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Fires of Steam: The Death of Andrei Sakar

029-0,182,77,0	script	Elora	NPC_HUMAN_FEMALE_NOOB,{
    mesn;
    mesq l("Greetings! I am %s from the Alliance.", .name$);
    next;
    switch ($FIRESOFSTEAM) {
        case 1:
            mesn;
            mesq l("Thanks for travelling with Andrei Sakar to Artis! However, as you see, this town is deserted.");
            next;
            mesn;
            mesq l("Sir Sakar is conducting an exploration on this land. However, you should be able to refine and tweak equipment, as well as crafting your own. Once you're ready, find him at %s of this town.", b(l("the north exit")));
            break;
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
            mesn;
            mesq l("Sir Sakar and adventurers are raiding Dracula's Fortress. It is a crazy place, though, who knows what they'll find? He should be at the north exit of this town.");
            break;
        case 7:
            mesn;
            mesq l("Sir Sakar and adventurers are raiding Dracula's Fortress. They found out the Underworld and there is a magic tree. You'll need a %s to use it.", getitemlink(DruidTreeBranch));
            mesc l("They are at north of the town.");
            next;
            mesn;
            if (FIRESOFSTEAM_CD < gettimetick(2)) {
                mesq l("Here is one.");
                FIRESOFSTEAM_CD=gettimetick(2)+86400; // 24 hours
                getitem DruidTreeBranch, 1;
            } else {
                mesq l("Some other adventurers are looking for it. Please wait %s more.", FuzzyTime(FIRESOFSTEAM_CD));
            }
            break;
        case 8:
            mesn;
            mesq l("Sakar can now bring you directly to Asphodel Moors. Scouts found a second town as well, from where the raiders seems to be coming from!");
            break;
        case 9:
            mesn;
            mesq l("Contact a GM at Migglemire - the small town at center of swamps - to trigger the final showdown.");
            break;
    }
    close;

OnInit:
    .distance=5;
    .sex=G_FEMALE;
    end;
}

// UTILITY
029-0,96,110,0	duplicate(Nicholas)	Nicholas#FoS	NPC_NICHOLAS
029-0,89,75,0	duplicate(Fortiun)	Fortiun#FoS	NPC_FORTIUN
029-0,68,87,0	duplicate(Tolchi)	Tolchi#FoS	NPC_RAIJIN_FEMALE_LEGION_ARTIS
029-0,137,75,0	duplicate(Bracco)	Bracco#FoS	NPC_ORC_SAILOR
029-0,90,130,0	duplicate(Zitoni)	Zitoni#FoS	NPC_RUMLY
029-0,132,51,0	duplicate(Cynric)	Cynric#FoS	NPC_LLOYD
029-0,57,55,0	duplicate(Mercenary Trainer)	Mercenary Trainer#FoS	NPC_REDY_MALE_SWORD,
029-0,58,118,0	duplicate(Neko)	Neko#FoS1	NPC_KAYLO
// TODO: Custom shop for ores and blueprints, and mobpt
// TODO: Magic School NPCs

// 029-1
029-1,35,88,0	duplicate(Neko)	Neko#FoS2	NPC_KAYLO
029-1,29,88,0	script	Elora#1	NPC_HUMAN_FEMALE_NOOB,{
    mesn;
    mesq l("Good luck out there!");
    .@m=mobcount("029-1", "all");
    mesc l("Dark Forest : %s monster(s) left", fnum(.@m));
    next;
    select
        l("Thanks!"),
        l("Actually, can I return to Artis?");
    mes "";
    closeclientdialog;
    if (@menu == 2)
        warp "029-0", 90, 31;
    close;
OnInit:
    .distance=5;
    .sex=G_FEMALE;
    end;
}

029-8,37,170,0	duplicate(Neko)	Neko#FoS3	NPC_KAYLO