summaryrefslogblamecommitdiff
path: root/npc/015-2/guard.txt
blob: 6b3b679e436a00b83e8bc5d3a406f05cce7d1aac (plain) (tree)
1
2
3
4
5
6
7
8




                            
                                                                    
 
                                                         











                                                                                                                 


                                                      




                                                                                                               



                                                                                                                      


             


                                                                 
                        











                                                                                                                                                






                                                      
                                                     






                                            
// TMW2 Script.
// Author:
//    Jesusalva
// Description:
//    Part of Helena's quest
//    Gives spoilers about what Jesusalva plans in doing with Bryant

015-2,28,199,0	script	Helena's Teammate	NPC_ORC,{
    .@q=getq(HurnscaldQuest_Bandits);
    if (.@q == 5) goto L_SilverKey;
    if (.@q == 6) goto L_BanditLord;
    mesn;
    mesq lg("Welcome.");
    mesq l("This small island is a good place to heal our wounds, the slimes and the snakes are not threating.");
    close;

L_SilverKey:
    mesn;
    mesq l("Don't say anything, I can smell the scent of Helena's hair on you.");
    next;
    inventoryplace SilverKey, 1, PiberriesInfusion, 3;
    getitem SilverKey, 1;
    getitem PiberriesInfusion, 3;
    setq HurnscaldQuest_Bandits, 6;
    mesn;
    mesq l("I guess she sent you to kill another Bandit Lord, right? Ok, I'll give you the key for his room.");
    next;
    mesn;
    mesq l("It is pretty close to here. I advise you to use a good sword, and heal yourself often.");
    next;
    mesn;
    mesq l("I will give you 3 @@. Use them on this fight, or you're doomed to fail.", getitemlink(PiberriesInfusion));
    close;

L_BanditLord:
    mesn;
    mesq l("What are you waiting for? Go kill the bandit lord.");
    next;
    mesn strcharinfo(0);
    select
        l("There was nobody on the Bandit Lord's room."),
        l("I'm going, don't worry.");
    mes "";
    mesn;
    mesq l("...Have you ever gone there yet?");
    next;
    mesn;
    mesq l("This is not The Mana World. My name is not Bryant.");
    next;
    mesn;
    mesq l("In fact, Bryant is my brother, and he lives in a cave, and he probably have a high level quest too, but that's not important now.");
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, FairyHat);
    setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor);
    setunitdata(.@npcId, UDT_HEADBOTTOM, JeansChaps);
    setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 24);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 1);

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