summaryrefslogblamecommitdiff
path: root/npc/029-9/boss.txt
blob: ad98c7c6dcb7b4f1d6f9a51b484b726cfa0c4d62 (plain) (tree)















































                                                                                 
// 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
***************************************** */