summaryrefslogblamecommitdiff
path: root/npc/003-0-1/guards.txt
blob: 9296cd0bb05b4800eee56821ecafe3357ed2b350 (plain) (tree)

































                                                                                        
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    Magic Council Guard

003-0-1,50,24,0	script	Guard#00301A	NPC_BRGUARD_SPEAR,{
    if (getgmlevel())
        goto L_Sponsor;

    mesn;
    mesq l("Past this grates, is the Magic Council Room.");
    next;
    mesn;
    mesq l("Unless you're an Alliance member or have authorization, you cannot go in.");
    mesc l("Alliance members are those who [@@https://patreon.com/TMW2|sponsor us@@].");
    mesc l("There's nothing in the Magic Council Room, though. It's just a perk.");
    close;

L_Sponsor:
    mesn;
    mesq l("Alliance members (sponsors) are allowed inside the Council Room.");
    mesc l("Warp to Council room?");
    if (askyesno() == ASK_YES) {
        warp "003-0-2", 34, 42;
    }
    closeclientdialog;
    close;

OnInit:
    .distance=4;
    end;
}