summaryrefslogblamecommitdiff
path: root/npc/003-1/swezanne.txt
blob: ca0798c85aa1bee5fe94386226c03a214e838470 (plain) (tree)
1
2
3
4
5
6
7
8
9
          
               
 
                                                    
 



                                            
 























                                                                           

       
                                  
                                              
                                               





                                                    

                  
 
// Author:
//    Jesusalva

003-1,70,100,0	script	Swezanne	NPC_FEMALE,{

    mesn;
    mesq l("Hi.");
    if ($MOST_HEROIC$ != "") goto L_Heroics;
    close;

L_Heroics:
    next;
    mesn;
    .@d=rand(1,6);
    // This switch loop is temporaly broken.
    switch (.@d) {
        case 1:
            .@deed$="protected our cities!";
        case 2:
            .@deed$="did great acts of bravery!";
        case 3:
            .@deed$="is just awesome!";
        case 4:
            .@deed$="killed a monster army single-handed!";
        case 5:
            .@deed$="proved their worth in battlefield!";
        case 6:
            .@deed$="impressed even the High Council!";
        default:
            .@deed$="is awesome like me!"; // Should be unreachable
    }

    mesq l("I hope to one day be like @@, who @@", $MOST_HEROIC$, .@deed$);
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    //setunitdata(.@npcId, UDT_HEADTOP, 2929);
    setunitdata(.@npcId, UDT_HEADMIDDLE, 1307);
    setunitdata(.@npcId, UDT_HEADBOTTOM, 2207);
    setunitdata(.@npcId, UDT_WEAPON, 1802); // Boots
    setunitdata(.@npcId, UDT_HAIRSTYLE, 12);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 7);

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