;Info [ Npc Name{AcademyMaster} X=10 Y=9 MapName={TaoistHouse} ]
(@S_repair)
;Info [ Npc Name{AcademyMaster} X=10 Y=9 MapName={TaoistHouse} ]
;-[020 to 030 shared buy wiz/war/tao academies]
;----------------1---------------
%0
+5
+6
+10
+11
+15
+19
+20
+21
+22
+23
+24
+26
+52
+53
+54
[@main]
#IF
Check [013] 1
#Say
Welcome <$USERNAME>. I have heard of you\
from the proving grounds.How may i help?\ \
\ \
<i wish to begin or complete current quest../@list1>\
<What services can u offer me?/@Service>\
<Exit/@exit>

#ELSESAY
I have had no word from the proving-\
Grounds with regards to you. You\
Must complete all quest at the proving\
Grounds before I will help you..\ \
<Bye /@exit>\



;********************Quest 1 *****************************
;----Quest list------1
[@CheckQlist]

#IF
;--Check if quest hes been started check for quest complete/item
Check [021] 1

#Act
GOto @QuestRun
#ElseSAY
;-- if no say---
I need you to find a red box that has\
gone missing for this academy. will you \ 
help me find it?\ \
<yes/@QuestSet>\
<No/@exit>\
;----Quest Set------1
[@QuestSet]

#ACT
set [021] 1

#SAY
You must find that Red box. Go and\
Find Erick in Mountin town, He left\
The academy after the box went missing.\ \
\ \
<Back /@main>\
<Bye /@exit>\
;----Quest run------1
[@QuestRun]

#IF
;- check for quest item
Checkitem redbox 1

#Act
;- set quest to done and take item, give price
Take RedBox 1
Set [020] 1
Give gold 50000
Give goldchest 1
give SummonShinsu
Give Spell(beneOil) 1
Give SurvivorBox 1
#SAY
Weldone and thank you\
sorry it cost you so much time and money\
take this spell and some gold\
\ \
\ \
<Back /@main>\
<Bye /@exit>\

#ELSESAY
;--if no quest if found say---
You must find that Red box. Go and\
Find Erick in Mountin town, He left\
The academy after the box went missing\ \
<Okay/@exit>\
;********************Quest 2 *****************************

;----Quest list------2
[@CheckQlist2]

#IF
;--Check if quest hes been started check for quest complete/item
Check [023] 1
#Act
GOto @QuestRun2
#ElseSAY
;-- if no say---
You must bring me 2 items from the treasure hunt room\
Will you get me these 2 items??\ \
<yes/@QuestSet2>\
<No/@exit>\
;----Quest Set------2
[@QuestSet2]

#ACT
set [023] 1
#SAY
Find me a ring called “Ceremony” and a PurgeNeck.\
Once you have found them, bring them back to me.\ \
\ \
<Back /@main>\
<Bye /@exit>\
;----Quest run------2
[@QuestRun2]

#IF
;- check for quest item
Checkitem Ceremony 1
Checkitem PurgeNeck 1 
#Act
;- set quest to done and take item, give price
Take Ceremony 1
Take PurgeNeck 1
Set [022] 1
Give HeroCeremony
#SAY
I hope this task was not too hard. Check my servers\
to see you I can offer you\
\ \
\ \
<Back /@main>\
<Bye /@exit>\

#ELSESAY
;--if no quest if found say---
Find me a ring called “Ceremony” and a PurgeNeck.\
Once you have found them, bring them back to me.\
you can find then in the Treasure Hunt room via \
my services list\ \
<Okay/@exit>\

;********************Quest 3 *****************************
;----Quest list------3
[@CheckQlist3]

#IF
;--Check if quest hes been started check for quest complete/item
Check [025] 1
#Act
GOto @QuestRun3
#ElseSAY
;-- if no say---
I have another quest for you that requires you\
To go to the secret temple (1st floor). \
Task for me. will you take on this task?\ \
<yes/@QuestSet3>\
<No/@exit>\

;----Quest Set------3
[@QuestSet3]
#ACT
set [025] 1
#SAY
you must find me 3 items. 1) Spiderfang, 2) MoneyTooth\
and 3) SpiderBlade. All these items can be found in the \
Secret Temple. The temple can be found in ‘See front’.\ \

\ \
<Back /@main>\
<Bye /@exit>\
;----Quest run------3
[@QuestRun3]

#IF
;- check for quest item
Checkitem Spiderfang 1
Checkitem MoneyTooth 1 
Checkitem SpiderBlade 1
#Act
;- set quest to done and take item, give price
Take Spiderfang 1
Take MoneyTooth 1 
Take SpiderBlade 1
give Egg(Ruby) 3
give Egg(EvilSnake) 2
Set [024] 1
#SAY
I hope this task was not too hard. \
\
\
\ \
<Back /@main>\
<Bye /@exit>\

#ELSESAY
;--if no quest if found say---
you must find me 3 items. 1) Spiderfang, 2) MoneyTooth\
and 3) SpiderBlade. All these items can be found in the \
Secret Temple. The temple can be found in ‘See front’.\ \
<Okay/@exit>\


;********************Quest 4 *****************************
;----Quest list------4
[@CheckQlist4]
#IF
;--Check if quest hes been started check for quest complete/item
Check [027] 1
#Act
GOto @QuestRun4
#ElseSAY
;-- if no say---
I have one more quest for you.\ \
will you take it?\\
<yes/@QuestSet4>\
<No/@exit>\

;----Quest Set------4
[@QuestSet4]
#ACT
set [027] 1
#SAY
Find me a Egg(Gold)!\\
\ \
(check my services to teleport to\
snake den)\\
<Back /@main>\
<Bye /@exit>\
;----Quest run------4
[@QuestRun4]

#IF
;- check for quest item
Checkitem EGG(Gold) 1
#Act
;- set quest to done and take item, give price
Take EGG(Gold) 1
Give goldchest 2
Set [026] 1
#SAY
WOW! thank you!\\
Now you can upgrade items by using\
my services\\
\ \
<Back /@main>\
<Bye /@exit>\

#ELSESAY
;--if no quest if found say---
Get looking for that Egg(Gold) in the snake\
den.\
Good luck!\\
<Okay/@exit>\
;------------------------------------------------------------------------------
;---- Academy complete ____________--------------____________-----------_______
;------------------------------------------------------------------------------
[@CheckQlist5]
#Say
I have no more quest for you!\
you must find the Torozor academy .\\
(Go back to the town and talk to teleporter man)\\
<Okay/@exit>\

;-----------------------------------------------------
[@Servicelist]
#Say
there are no services open to \
you at this time. Complete some\
quest to gain my services\ \
<Okay/@exit>\

;********************Sevice 1 *****************************

;----motor------------------------------------------------

;----motor------------------------------------------------

[@list1]
#IF
Check [020] 1
#Act
Goto @list2
#ELSEAct
goto @CheckQlist

[@list2]
#IF
Check [022] 1
#Act
Goto @list3
#ELSEAct
goto @CheckQlist2


[@list3]
#IF
Check [024] 1
#Act
Goto @list4
#ELSEAct
goto @CheckQlist3

[@list4]
#IF
Check [026] 1
#Act
Goto @list5
#ELSEAct
goto @CheckQlist4

[@list5]
#IF
Check [028] 1
#Act
Goto @Complete
#ELSEAct
goto @CheckQlist5
;--------------------------
[@Service]
#IF
Check [020] 1
#Act
Goto @Service2
#ELSEAct
goto @Servicelist

[@Service2]
#IF
Check [022] 1
#Act
Goto @Service3
#ELSEAct
goto @Servicelist2

[@Service3]
#IF
Check [026] 1
#Act
Goto @Service4
#ELSEAct
goto @Servicelist3

[@Service4]
#IF
Check [028] 1
#Act
Goto @Servicelist5
#ELSEAct
goto @Servicelist4
;--------------------------Service activator-----------------------
[@Servicelist2]
Treasure Hunt <Go /@Serv1>\ \
<Back /@main>\
[@Servicelist3]
**Snake Den**  <Go /@Serv4>\ \
Treasure Hunt <Go /@Serv1>\ 
Special <repair/@s_repair>\ 
Buy War God oils <Go /@Serv2> cost 1,000 gold\ 
Buy SuperBoost <Go /@Serv2b> cost 50,000 gold\ 
<Back /@main>\
[@Servicelist4]
**Item Upgrading**  <Go /@Serv5>\
**Snake Den**  <Go /@Serv4>\
Treasure Hunt <Go /@Serv1>\ 
Special <repair/@s_repair>\ 
Buy War God oils <Go /@Serv2> cost 1,000 gold\ 
Buy SuperBoost <Go /@Serv2b> cost 50,000 gold\ 
<Back /@main>\


;--------------------------Services-----------------------


[@Serv1]
#Act
mapmove NTS1 19:14
give townteleport
[@Serv2]
#IF
checkgold 1000
#act
take gold 1000
give Wargodoil
#say
there you go.\ \
\ \
<Back /@Servicelist3>\
<exit /@exit>\
#elsesay
you do not have 1,000 gold\ \
\ \
<Back /@Servicelist3>\
<exit /@exit>\
[@Serv4]
#Act
mapmove SNTO1 50 50
give townteleport
[@S_repair]
What item do you want to repair ?.\ \
 <Back/@main>
[@Serv2b]
#IF
checkgold 50000
#act
take gold 50000
give SuperBoost
#say
there you go.\ \
\ \
<Back /@Servicelist3>\
<exit /@exit>\
#elsesay
you do not have 50,000 gold\ \
\ \
<Back /@Servicelist3>\
<exit /@exit>\

[@S_repair]
What item do you want to repair ?.\ \
 <Back/@main>
;----------------------------------------------------------------------------------------------------
[@Serv5]
#CALL [\Torozor\Itemup.txt] @upgrade
