summaryrefslogtreecommitdiff
path: root/npc/guilds/forge.txt
blob: 6f2b3c842fab8ad07f66fc600f94dff73005900b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 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));
        mesc l("Note: Items forged here will be guild-bound, but will use player recipes and bonuses!");
        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;
}