summaryrefslogtreecommitdiff
path: root/npc/guilds/forge.txt
blob: f7dc8c73c38aec434cda6788656286c62b2e995f (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
33
// 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!");
        mesc b(l("\"WHAT IS CRAFTED HERE BELONGS TO THE GUILD.\"")), 1;
        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;
}