summaryrefslogtreecommitdiff
path: root/npc/001-3-1/alchemy.txt
blob: 979fd519eb8e6b4574ee624dff90ed2d349a2532 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Debug functions for Craft Systems


001-3-1,32,89,0	script	GM Alchemy Table	NPC_NO_SPRITE,{
    if ($EVENT$ == "") goto L_Offline;
    if ($@GM_OVERRIDE) goto L_Master;
    mesc l("Welcome to Saulc's Magic Alchemy Table!");
    mesc l("What will you brew today?");
    mesc l("Operation cost: %s GP", fnum(500)), 1;
    if (Zeny < 500) close;
    if (AlchemySystem()) {
        Zeny -= 500;
        mesc l("Success!"), 3;
    } else {
        mesc l("That didn't work!"), 1;
    }
    close;

L_Master:
    mesc l("Welcome to Saulc's Magic Alchemy Table!");
    mesc l("This table will prepare the potion for you, no skill required!");
    mesc l("What will you brew today?");
    if (AlchemySystem(CRAFT_NPC))
        mesc l("Success!"), 3;
    else
        mesc l("That didn't work!"), 1;
    close;

L_Offline:
    npctalk3 l("Oops! Seems like Saulc doesn't wants you messing on his chemistry set!");
    close;

OnInit:
    .distance=5;
    end;
}

001-3-1,22,89,0	duplicate(GM Alchemy Table)	GM Alchemy Table#1	NPC_NO_SPRITE
001-3-1,28,89,0	duplicate(GM Alchemy Table)	GM Alchemy Table#2	NPC_NO_SPRITE
001-3-1,37,89,0	duplicate(GM Alchemy Table)	GM Alchemy Table#3	NPC_NO_SPRITE
001-3-1,22,102,0	duplicate(GM Alchemy Table)	GM Alchemy Table#4	NPC_NO_SPRITE
001-3-1,28,102,0	duplicate(GM Alchemy Table)	GM Alchemy Table#5	NPC_NO_SPRITE
001-3-1,32,102,0	duplicate(GM Alchemy Table)	GM Alchemy Table#6	NPC_NO_SPRITE
001-3-1,37,102,0	duplicate(GM Alchemy Table)	GM Alchemy Table#7	NPC_NO_SPRITE