summaryrefslogblamecommitdiff
path: root/npc/024-15/lilanna.txt
blob: b857f7232adc946fe88708915c9d522a36997862 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                





                                                                       














































                                                                           
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Anise INC. Representative

024-15,23,24,0	script	Lilanna	NPC_ELF_F,{
    mesn;
    mesq l("Hello there, I am Lilanna and you are in ANISE INC. headquarters.");
    next;
    goto L_Loop;

L_Loop:
    mesn;
    mesq l("How may I help you?");
    select
        l("Thanks."),
        l("What ANISE INC. Does?"),
        l("How to use best Warp Technology?"),
        rif(countitem(BrokenWarpCrystal), l("My warp crystal broke!"));
    mes "";
    close;

OnTimer1000:
    domovestep;

OnInit:
    .@npcId = getnpcid(.name$);
    setunitdata(.@npcId, UDT_HEADTOP, Monocle);
    setunitdata(.@npcId, UDT_HEADMIDDLE, AlchemistArmor);
    setunitdata(.@npcId, UDT_HEADBOTTOM, CottonSkirt);
    setunitdata(.@npcId, UDT_WEAPON, FurBoots); // She could use gloves, no
    setunitdata(.@npcId, UDT_HAIRSTYLE, 19);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 16);

    initpath "move", 23, 24,
             "dir", DOWN, 0,
             "wait", 15, 0,
             "dir", RIGHT, 0,
             "move", 27, 24,
             "wait", 3, 0,
             "dir", DOWN, 0,
             "wait", 15, 0,
             "move", 24, 32,
             "wait", 3, 0,
             "dir", RIGHT, 0,
             "wait", 10, 0,
             "dir", LEFT, 0,
             "wait", 10, 0,
             "dir", UP, 0,
             "wait", 3, 0,
             "move", 27, 34,
             "dir", UP, 0,
             "wait", 3, 0,
             "dir", LEFT, 0,
             "wait", 3, 0,
             "move", 23, 24,
             "wait", 3, 0,
             "dir", DOWN, 0,
             "wait", 10, 0;
    initialmove;
    initnpctimer;

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