summaryrefslogblamecommitdiff
path: root/npc/003-0/recepcionist.txt
blob: 8476af6db57a81d74044287e25b469c545154846 (plain) (tree)















































                                                                                    
// TMW2 Scripts.
// Author:
//  Jesusalva
// Description:
//  Magic School recepcionist

003-0,47,44,4	script	Recepcionist#003-0	NPC_FEMALE,{
    mesn;
    mesq l("Hello, and welcome to the Magic School of Tulimshar.");
    next;
    mesn;
    mesq l("Unfortunately, we're shutting down. This building is too old.");
    next;
    mesn;
    mesq l("I hope our new campus get built soon. It'll be much better than here.");
    close;

OnTimer1000:
    domovestep;

OnInit:
    .@npcId = getnpcid(.name$);
    setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
    setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt);
    //setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
    setunitdata(.@npcId, UDT_WEAPON, JeansShorts);
    setunitdata(.@npcId, UDT_HAIRSTYLE, any(8,11,20));
    setunitdata(.@npcId, UDT_HAIRCOLOR, 5);

    // Small movement
    initpath "move", 47, 44,
             "dir", UP, 0,
             "wait", 7, 0,
             "move", 48, 45,
             "dir", DOWN, 0,
             "wait", 7, 0,
             "move", 49, 44,
             "dir", UP, 0,
             "wait", 7, 0,
             "move", 47, 44;
    initialmove;
    initnpctimer;

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