summaryrefslogblamecommitdiff
path: root/npc/guilds/forge.txt
blob: b6f26f65b4198c9d85fca10a379f4f3585f7ae88 (plain) (tree)
1
2
3
4
5
6
7
8






                                                               
                         






















                                                                                             
// Moubootaur Legends Script
// Author:
//    Jesusalva
// Description:
//  Guild Facility - Blacksmith Area

guilds,24,27,0	script	Guild Blacksmith	NPC_NO_SPRITE,{
    // Script begins here
    do
    {
        mesc l("What will you forge today?");
        mesc l("You might need to have a @@ equipped for some recipes!", getitemlink(Knife));
        if (SmithSystem(CRAFT_GUILD))
        {
            mesc l("Success!"), 3;
            next;
        }
        else
        {
            mesc l("That didn't work!"), 1;
            next;
        }
        mesc l("Try again?");
    } while (askyesno() == ASK_YES);
    close;

OnInit:
    .distance=2;
    end;
}