//===== rAthena Script =======================================
//= Treasure Hunter Quests
//===== By: ==================================================
//= Fredzilla (Modified by DaemonSpade)
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Start for Treasure hunter quests
//===== Additional Comments: =================================
prt_in,159,172,0 warp thqwrp 3,3,yuno_in01,123,155
prt_in,164,174,1 script Treasure Hunter's Shop 65,{
mes "[Treasure Hunter's Shop]";
mes "Ahh, "+strcharinfo(0)+"! Welcome to the Offical Treasure Hunter's Guild Shop.";
mes "You currently have ^FF0000"+#Treasure_Token+"^000000 treasure tokens!!!";
mes "(Note T stands for a Treasure Token.)";
menu "Buy Castle Drops",N_CastleDrops,"Nevermind",N_NVM;
close;
N_CastleDrops:
menu "Freya's Jewel - 250 T",C_1,
"Thor's Gauntlet - 250 T",C_2,
"Iron Maiden - 250 T",C_3,
"Wheel of the Unknown - 250 T",C_4,
"Silver Ornament - 250 T",C_5,
"Wrath of Valkyrie - 250 T",C_6,
"Feather of Angel Wings - 250 T",C_7,
"Cat Thread - 250 T",C_8,
"Womans Moustache - 250 T",C_9,
"Root of Stone - 250 T",C_10,
"Spirit of Fish - 250 T",C_11,
"Sputum of Bird - 250 T",C_12,
"Sinew of Bear - 250 T",C_13,
"Emblem of Sun God - 250 T",C_14,
"Breath of Spirit - 250 T",C_15,
"Snow Crystal - 250 T",C_16,
"Omen of Tempest - 250 T",C_17,
"Ripple - 250 T",C_18,
"Billow - 250 T",C_19,
"Drifting Air - 250 T",C_20;
C_1:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Freya's Jewel";
getitem 7073,1;
close;
C_2:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Thor's Gauntlet";
getitem 7074,1;
close;
C_3:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Iron Maiden";
getitem 7075,1;
close;
C_4:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Wheel of the Unknown";
getitem 7076,1;
close;
C_5:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Silver Ornament";
getitem 7077,1;
close;
C_6:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Wrath of Valkyrie";
getitem 7078,1;
close;
C_7:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Feather of Angel Wings";
getitem 7079,1;
close;
C_8:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Cat Thread";
getitem 7080,1;
close;
C_9:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Womans Moustache";
getitem 7081,1;
close;
C_10:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Root of Stone";
getitem 7082,1;
close;
C_11:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Spirit of Fish";
getitem 7083,1;
close;
C_12:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Sputum of Bird";
getitem 7084,1;
close;
C_13:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Sinew of Bear";
getitem 7085,1;
close;
C_14:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Emblem of Sun God";
getitem 7086,1;
close;
C_15:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Breath of Spirit";
getitem 7087,1;
close;
C_16:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Snow Crystal";
getitem 7088,1;
close;
C_17:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Omen of Tempest";
getitem 7089,1;
close;
C_18:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Ripple";
getitem 7090,1;
close;
C_19:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Billow";
getitem 7091,1;
close;
C_20:
if (#Treasure_Token < 250) goto N_NeedToken;
set #Treasure_Token,#Treasure_Token-250;
logmes "Treasure Token: Bought a Drifting Air";
getitem 7092,1;
close;
N_NVM:
close;
end;
}