summaryrefslogblamecommitdiff
path: root/npc/014-3/oscar.txt
blob: acfc5b03f9334cfa6bada53b34845c00d0c46070 (plain) (tree)



































                                                                                                                   
// TMW2 Script
// Author:
//    Jesusalva
// Description:
//    Hurnscald farmer

014-3,187,84,0	script	Oscar	NPC_RAIJIN,{
    .@q1=getq(HurnscaldQuest_Farmers);
    .@q2=getq2(HurnscaldQuest_Farmers);
    mesn;
    if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$);
    if (strcharinfo(0) == $MOST_HEROIC$) next;
    if (.@q1 < 2) goto L_Hinnak;


L_Hinnak:
    mesq l("Don't bother me, I'm busy right now. Since the Monster King left, I barely got a night of rest...");
    close;

L_Close:
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, RiceHat);
    setunitdata(.@npcId, UDT_HEADMIDDLE, MoonshroomRobe);
    setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots);
    setunitdata(.@npcId, UDT_WEAPON, CottonTrousers);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 0);

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