summaryrefslogtreecommitdiff
path: root/npc/029-9/boss.txt
blob: ad98c7c6dcb7b4f1d6f9a51b484b726cfa0c4d62 (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
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Fires of Steam: The Death of Andrei Sakar

//////////////////////////////////////////
// Boss Room

029-9,96,22,0	script	Book#FoS	NPC_NO_SPRITE,{
    if (!is_staff()) end;
    if ($@FIRESOFSTEAM_BOSS) end;
    select
        l("Ignore this book"),
        l("Begin classic mode"),
        l("Begin endless mode");
    mes "";
    $@FIRESOFSTEAM_BOSS=@menu;
    mapwarp("029-9", "029-9", 96, 41);
    maptimer2("029-9", 200, "Book#FoS::OnMFStun");
    initnpctimer;
    sleep(200);
    // PC no longer attached
    // TODO: Spawn Isbamuth
    // TODO: Dialog - You are too late! I did it!! Muahahaha!
    // The power of the Moubootaur will be mine... And you no longer can stop me!
    // ...
    end;

OnMFStun:
    sc_start(SC_STUN, 60000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK);
    end;

// TODO: Heartbeat. I think there's no real need to lock the door?
OnTimer5000:
    initnpctimer;
    end;

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

/* *****************************************
0 = Off; 1 = Moubootaur leaves; 2 = Moubootaur stays
***************************************** */