;Info [ Npc Name{AcademyMaster} X=62 Y=60 MapName={ProvingGrounds} ]

[@main]
#IF
Check [005] 1
#ACT
goto @main2
BreakTimeRecall
#ELSESAY
Welcome <$USERNAME>. You must complete \
a quest before you become a Member of  \
the Proving Grounds Academy.\ \
<Okay/@Q1Check>\
<Bye/@exit>\

[@main2]
#IF
Check [007] 1
#ACT
goto @main3
#ELSESAY
Ah, Welcome apprentice. Have you come for \
More duties? \ \

<Yes/@Q2Check>\
<Bye/@exit>\

[@main3]
#IF
Check [009] 1
#ACT
goto @main4
#ELSESAY
You are now an intermediate with this academy.\
You are ready for some harder tasks. Will\
You take them on?\ \
<Okay/@Q3Check>\
<Bye/@exit>\

[@main4]
#IF
Check [011] 1
#ACT
goto @main5
#ELSESAY
You are indeed a valued member for this \
Academy. You have achieved the rank for \
‘Proven’ but you can still climb the ladder \
to fame \
<Okay/@Q4Check>\
<Bye/@exit>\

[@main5]
#IF
Check [013] 1
#Say
Welcome Graduate <$USERNAME>. You\
Have full use of this academy’s services\ \
<Clame Gift/@Gift>\
<Proving Grounds Temple/@PGT> \
<Goto P_G_Ingredients_Room/@PGIR> (10k)\
\ \
#ELSESAY
You are nearly a Graduate at this academy.\
Only one more task stands in your way.\
Have you the courage? \ \
<okay/@Q5Check>\
<Goto P_G_Ingredients_Room/@PGIR> (10k)\
<Bye /@exit>\

; ---------------Quest 1------------------
[@Q1Check]
#IF
Check [006] 1
#ACT
goto @QuestRun1
;<Tele to quest /@tele1>\
;<Back /@main>\
;<Bye /@exit>\
#ELSESAY
I need you to find me a flower. It’s not hard to get\
And I will send you to the place you need to go.\ 
Will you get it for me?\ \
<Yes /@QuestSet1>\
<Back /@main>\
<Bye /@exit>\
;---------------
[@QuestSet1]
#ACT
set [006] 1
#SAY
Find me that Flower.
Get on with it then...\ \
\ \
<Tele to quest /@tele1>\
<Back /@main>\
<Bye /@exit>\
;-----------------
[@tele1]
#ACT
mapmove nQ03 22 32 900
Give townteleport
;-----------------
[@QuestRun1]
#IF
Checkitem Flower 1
#Act
Take flower
Give gold 10000
Set [005] 1
#Say
Weldone!
<Back /@main>\
<Bye /@exit>\
#ElseAct
goto @QuestSet1
;-------------------End 1---------------------

; ---------------Quest 2------------------
[@Q2Check]
#IF
Check [008] 1
#ACT
goto @QuestRun2
#ELSESAY
I need you to Give a message to my friend. He lives\
in the GrassLands. Will you take the message\
for me? \ \
<Yes /@QuestSet2>\
<Back /@main>\
<Bye /@exit>\
;---------------
[@QuestSet2]
#ACT
set [008] 1
Give Message 1
#SAY
Go and find Spike. He lives in GrassLands\ \
\ \
<Back /@main>\
<Bye /@exit>\
;-----------------
[@QuestRun2]
#Say
Find my friend In GrassLands and give him the\
message.\ \
<Back /@main>\
<Bye /@exit>\
;-------------------End 1---------------------

; ---------------Quest 3------------------
[@Q3Check]
#IF
Check [010] 1
#ACT
goto @QuestRun3
#ELSESAY
I want you to find me a book called, ‘DammedBook’.\
I have heard that someone called ‘CrayJoe’ knows\
where the book is. Will you find it for me?\ \
<Yes /@QuestSet3>\
<Back /@main>\
<Bye /@exit>\
;---------------
[@QuestSet3]
#ACT
set [010] 1
#SAY
…Go and Find CrayJoe in GostTown. He will tell you\
where the book is.\ \
\ \
\ \
<Back /@main>\
<Bye /@exit>\
;-----------------
[@QuestRun3]
#IF
Checkitem DammedBook 1
#Act
Take DammedBook 1
Give Goldbar 1
Set [009] 1
#Say
I'll take that book thank you! and for your Troubles,\
1 Gold bar\ \
\ \
<Back /@main>\
<Bye /@exit>\
#ELSESAY
…Go and Find CrayJoe in GostTown. He will tell you\
where the book is.\ \
\ \
\ \
<Back /@main>\
<Bye /@exit>\
;-------------------End 1---------------------
; ---------------Quest 4------------------
[@Q4Check]
#IF
Check [012] 1
#ACT
goto @QuestRun4
#ELSESAY
I need to test your ability to make potions and\
The best way I can think of doing that would be…\
You must make a ‘SuperBoost’ Potion. Are you \
Ready for this task?\ \
<Yes /@QuestSet4>\
<Back /@main>\
<no /@exit>\
;---------------
[@QuestSet4]
#ACT
set [012] 1
#SAY
I will send you to the ProvingGround Ingredients Room for\
10 minuets at a cost of 100,000 gold. You must collect-\
2 Oil(grass), 2 Oil(spirit), 2 Oil(water), 2 Oil(oldBlood)\
2 Bamboo, 2 HenHeart, 2 Diamonds. then go to SpeacialPots\
to make a 'superboost' potion. Are you ready?\ \
(you can collect ingredients from othere places at no cost)\
<Yes/@tele4>, <Back /@main>, <Bye /@exit>\ \
;-----------------
[@QuestRun4]
#IF
Checkitem SuperBoost 1
#Act
Take SuperBoost 1
Give Goldbar 1
Set [011] 1
#Say
You can now teleport to the ProvingGround Ingredients\ 
Room for only 10,000 gold.\
\ \
\ \
<Back /@main>\
<Bye /@exit>\
#ELSESAY
I will send you to the ProvingGround Ingredients Room for\
10 minuets at a cost of 100,000 gold. You must collect-\
2 Oil(grass), 2 Oil(spirit), 2 Oil(water), 2 Oil(oldBlood)\
2 Bamboo, 2 HenHeart, 2 Diamonds. then go to SpeacialPots\
to make a 'superboost' potion. Are you ready?\ \
(you can collect ingredients from othere places at no cost)\
<Yes/@tele4>, <Back /@main>, <Bye /@exit>\ \

[@tele4]
#IF 
Checkgold 100000
#ACT
Take gold 100000
TimeRecall 10
map nq05
Give Townteleport
#ELSESAY
you dont have 100,000 gold..\ \
\ \
\ \
<Back /@main>, <Bye /@exit>\
;-------------------End 4---------------------

; ---------------Quest 5------------------
[@Q5Check]
#IF
Check [014] 1
#ACT
goto @QuestRun5
#ELSESAY
You must clearout a room in 15 minuets. This\
Task wont be easy for low levels. Will you\
Take on this task>\ \
<Yes /@QuestSet5>\
<Back /@main>\
<no /@exit>\
;---------------
[@QuestSet5]
#ACT
set [014] 1
#SAY
You must clear out a room in 15 minuets to pass\ \
the task\ \
(cant use pet/taos pets)\
<Yes/@tele5>, <Back /@main>, <Bye /@exit>\ \
;-----------------
[@QuestRun5]
#SAY
You must clear out a room in 15 minuets to pass\ 
this task. Are you ready?\ 
(cant use pet/taos pets)\
<Yes/@tele5>, <Back /@main>, <Bye /@exit>\ \

[@tele5]
#IF
Checkhum Nq06 1
#SAY
I cant send you.. Come back in 15\
Minuets and try again.\ \
(cant use pet/taos pets)\
(Wizzards Cant use pets Sorry)\ \
<Exit/@Exit>
#ELSEACT
MonClear nq06
Param1 nq06
Param2 33
Param3 17
MonGen PGrat 20 60
TimeRecall 15
MapMove nq06 33 17
Give Townteleport

;-------------------End 5---------------------

[@Gift]
#IF
Check [015] 1
#SAY
You have aready had your gift\ \
\ \
<Exit/@Exit>
#ELSESAY
You may pick only one gift!\
(Do not ask GM to chage gift for you)\ \
<PG_ProRing/@GiveGift1>, <PG_ParaRing/@GiveGift2>\
<PG_TeleRing/@GiveGift3>, <PG_ClearRing/@GiveGift4>\ \
<Exit/@Exit>

[@GiveGift1]
#ACT
Give PG_ProRing 1
SET [015] 1
#Say
Bye..\ \
\ \
\ \
<Exit/@Exit>

[@GiveGift2]
#ACT
Give PG_ParaRing 1
SET [015] 1
#Say
Bye..\ \
\ \
\ \
<Exit/@Exit>

[@GiveGift3]
#ACT
Give PG_TeleRing 1
SET [015] 1
#Say
Bye..\ \
\ \
\ \
<Exit/@Exit>

[@GiveGift4]
#ACT
Give PG_ClearRing 1
SET [015] 1
#Say
Bye..\ \
\ \
\ \
<Exit/@Exit>

[@PGIR]
#IF 
Checkgold 10000
#ACT
Take gold 10000
TimeRecall 10
map nq05
Give Townteleport
#ELSESAY
you dont have 10,000 gold..\ \
\ \
\ \
<Back /@main>, <Bye /@exit>\

[@PGT]
#ACT
MapMove NT08 30 77
Give townteleport
