summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1-1/WhiteSmith.txt
blob: d652ac93bc67cfc13582663c11865a234b6604cf (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
50
51
52
53
54
55
56
57
58
59
60
//Whitesmith Made by Evera/Lorri
valkyrie.gat,44,50,6	script	Whitesmith	731,{
	if ((readparam(11) >= 99) && (readparam(19) == 10) && (readparam(55) >= 50)) goto Lnovice;
	if ((readparam(19) == 4001) && (readparam(55) >= 10)) goto Lh1;
	if ((readparam(19) == 4001) && (readparam(55) < 10)) goto LCem;
	if ((readparam(19) == 4006) && (readparam(55) >= 40)) goto Lh2;
	if ((readparam(19) == 4006) && (readparam(55) < 40)) goto LCem;
	if (readparam(19) == 4010) goto Lcrazy;
	if (readparam(12) != 0) goto Lskpt;
	mes "[Whitesmith]";
	mes "Hello";
	mes "I am not currently available for forging, please ask another forger.";
	close;
Lnovice:
	mes "[Whitesmith]";
	mes "Hm. You weild your hammer pretty good. You wanna become a whitesmith?";
	mes "There is a catch though, you have to go back through novice and merchant.";
	mes "You wanna do it?";
	menu "Yes",Lnovice2,"No",Lcancel;
Lnovice2:
	mes "We shall start the ceremony....";
	next;
	jobchange 24;// Job: Job_Novice_High
	resetlvl(1);
	close;
Lh1:
	mes "[Whitesmith]";
	mes "Ready to become a high merchant?";
	menu "Yes",Lh12,"No",Lcancel;
Lh12:
	mes "[Whitesmith]";
	mes "You're on your way to making upgraded items.";
	next;
	jobchange 29;// Job: Job_Merchant_High
	close;
Lh2:
	mes "[Whitesmith]";
	mes "Hey, you've grown a lot. Will you become a whitesmith?";
	menu "Yes",Lh22,"No",Lcancel;
Lh22:
	mes "[Whitesmith]";
	mes "The magic enchants and suppresses you.";
	jobchange 34;// Job: Job_Whitesmith
	close;
Lcrazy:
	mes "[Whitesmith]";
	mes "Hm. You look like me.";
	close;
Lskpt:
	mes "[Whitesmith]";
	mes "Use your skillpoints first";
	close;
LCem:
	mes "[Whitesmith]";
	mes "You're not ready to go to the next level";
	close;	
Lcancel:
	mes "Bye";
	close;
}