summaryrefslogblamecommitdiff
path: root/npc/023-2/lightbringer.txt
blob: d2186a1cbea23f302d1193ada72fef7ac1eeeb95 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                  
                                                                                          






                                                                                           
                                   













                                                                                                       
// TMW2 scripts.
// Authors:
//    Jesusalva
// Description:
//    The most powerful sword ever. It's alive.

023-2,91,86,0	script	Lightbringer#NLib	NPC_LIGHTBRINGER,{
    if ($NLIB_DAY == 7) goto L_Today;
    npctalkonce l("It still isn't time to awake the King Of Holy Swords, Light Bringer.");
    end;

L_Today:
    if (strcharinfo(0) != $NLIB_HIGHNAME$) {
        npctalk3 l("The sword glows too much. Perhaps @@ could take it.", $NLIB_HIGHNAME$);
        end;
    }
    rentitem Lightbringer, (60*60);
    dispbottom l("This live sword drafts itself to your hand. You can wield it during today's event.");
    disablenpc .name$;
    end;

OnInit:
    .sex = G_MALE;
    .distance = 5;

    if (!$NLIB_DAY)
        disablenpc .name$;
    end;

}