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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
//===== Athena Script =====================================
//= Treasure Hunter Script
//===== Converted By ======================================
//= Fredzilla
//= Original
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Treasure Hunter Quests //
// By: Ezekial //
// for the use on nRO run by Newbe5 //
// revised By Warlock //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//===== Version ===========================================
//= 1.0 - Straight conversion of Aegis NPC file
//===== Compatible With ===================================
//= eAthena 1.0
//===== Description =======================================
//= Start for Treasure hunter quests
//===== Comments ==========================================
//= Event_THQS - Used to check if you have already registerd
//= #Treasure_Token - used to keep track of tokens
//////////////////////////////////////////////////////////
//Entrance Flags
yuno.gat,48,101,6 script Notice 722,{
mes "^FF0000[ Treasure Hunter Guild House ]^000000";
mes " ";
mes "Welcome to the Treasure Hunter's Guild House.";
mes "Feel free to drop in and look around";
mes "and feel free to become a memeber if you wish.";
mes " ";
mes "For membership applications please talk to Keegan";
mes "up the stairs and down the hall.";
close;
}
//Saver Girl;
yuno_in01.gat,32,178,3 script Ahlma 94,{
mes "[Ahlma]";
if (Event_THQS == 0) goto N_Member;
mes "Welcome to The Treasure Hunter Guild.";
mes "How may I help you?";
next;
menu "Save",-,"Quit",N_Quit;
mes "[Ahlma]";
mes "Ok, saved. Thank you ~ See you soon~";
savepoint "yuno_in01.gat",34,176;
close;
N_Quit:
mes "[Ahlma]";
mes "Well if you think you are safe, good on you.";
close;
N_Member:
mes "Sorry, members only.";
close;
}
//Retired Smile mask girl;
yuno_in01.gat,33,162,3 script Smile Helper 92,{
mes "[Smile Gal]";
mes "Oh man...I am so sick of";
mes "trading Mr. Smile masks for crap.";
mes " ";
mes "You ask me for one and you'll find yourself 10 pounds lighter!";
close;
}
//Usless Female Assasin;
yuno_in01.gat,22,162,6 script Female Assasin 725,{
mes "[Sharlet]";
if (Event_THQS > 0) goto N_Member;
mes "Umm sorry I'm not gona waste my time talking to you if you arn't even a member!";
close;
N_Member:
set @TEMP,rand(1,2);
if (@TEMP == 1) goto N_Chat1;
if (@TEMP == 2) goto N_Chat2;
mes "How are you reading this???";
mes "Well unless you are reading the code :)";
close;
N_Chat1:
mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+".";
mes "Did you hear about that brave man that went into Glast Heim alone?! He must be crazy.";
close;
N_Chat2:
mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest.";
close;
}
//another usless member
yuno_in01.gat,25,162,6 script Female Wizard 123,{
mes "[Sasha]";
if (Event_THQS > 0) goto N_Member;
mes "Umm sorry I'm not gona waste my time talking to you if you arn't even a member!";
close;
N_Member:
set @TEMP,rand(2);
if (@TEMP == 1) goto N_Chat;
mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+".";
mes "Did you hear about that goat man running around in the trees?";
mes " ";
mes "Aperently his name is Baphomet and he has been runing around the Forest Maze out side of prontera for quite some time now.";
close;
N_Chat:
mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest.";
close;
}
|