;;;;;;;;;;;;;NPC for JinchonTemple Quests - Toxin;;;;;;;;;;;;;

[@Main]
#IF
check [457] 1
#SAY
I've already given you your reward! what\
more do you want from me?  If you really\
want something else to do try asking\
Colin.  He's sure to have something fo you\
to do!\
\
<[ Close ]/@exit>\\\
#ELSEACT
goto @Main_1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ Flag check one to see if the quest has been completed.     ;;;;
;;;; ^^^ If flag [457] is off the script then checks if the mobs    ;;;;
;;;; ^^^ been killed, if not it then gives the quest, if it's       ;;;;
;;;; ^^^ on then it simply passes the player on to the next NPC.    ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


[@Main_1]
#IF
check [456] 1
#SAY
Ok, so you've proven to me that you're\
talented, but that doesn't mean I like\
you still!  Take this and go, I don't\
like people that stand around gloating.\
\
Colin will sort those scraps of metal\
you call KeyShards out for you.\\\
#ACT
give Gold 750000
set [456] 0
set [457] 1
#ELSEACT
goto @Main_2
break

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ Second check to find out if the quest has been completed   ;;;;
;;;; ^^^ but not ended.  After rewards are given flag [454] is      ;;;;
;;;; ^^^ set to on so the script will stop at the first check and   ;;;;
;;;; ^^^ not double up on the rewards if clicked again.             ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


[@Main_2]
#IF
check [454] 0
check [455] 0
#SAY
Quit bothering me!  You don't nag Frankie like\
you nag me!!\
\
<[ Ok... ]/@exit>\\\
#ACT
break

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ Checks if intro quest has been completed, if not it sends  ;;;;
;;;; ^^^ player back to first NPC to complete the introduction.     ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#IF
check [454] 1
check [455] 0
#SAY
Hmmpphh! What does a wannabe like you want\
with a great guardian like me?\
\
<[ Can you give me a quest please ]/@ShadowQuestStage2_0>\
<[ How rude! Forget you! ]/@exit>\\\
break

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ NPC Intro speach for Stage1 of the ShadowTemple quests.    ;;;;
;;;; ^^^ If accepted this screen only shows once, after this any    ;;;;
;;;; ^^^ players speaking to the NPC that haven't completed the     ;;;;
;;;; ^^^ quest will get the reminder speach further down.           ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#ELSESAY
Have you forgotten already.  You need to get\
the following items: \
 - RedShard _ - NorthEast door\
 - BlueShard_ - SouthWest door\
 - GreenShard - SouthEast door\
\
Once you've got each of these come back and\
see me, I'll give you a punch in the jaw if\
you come back empty-handed again!\

<[ Ok! Ok! No need to get mean ]/@exit>\\\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ Reminder speach for the 1st stage of the main quest.       ;;;;
;;;; ^^^ Only active if flag [455] is on.			    ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[@ShadowQuestStage2_0]
#IF
#SAY
A quest! My dear.. you barely look like you\
can kill a chicken! Yet you think you can\
take on one of MY quests?  Very well, I'll\
set you a quest that's as easy as pie.\
\
<[ Errmm.. ok! ]/@ShadowQuestStage2_1>\\\


[@ShadowQuestStage2_1]
#IF
#SAY
Ok, venture deeper into the Shadow lands and\
bring me some of the shards you find there.\
\
Simple eh?! The tricky part is I need one\
of each shard, and each of the shard types\
drop in different areas of the Shadows.\
\
The RedShard can be found through the door\
to the NorthEast.\
\
The BlueShard can be found through the door\
to the SouthEast.\
\
The GreenShard can be found through the door\
to the SouthWest.\
\
<[ Easy peasy! I'll get them now ]/@ShadowQuestStage2_2>\
<[ Ok, I'm not suicidal, Cya! ]/@exit>\\\

[@ShadowQuestStage2_2]
#IF
#ACT
set [455] 1
#SAY
Ok, the doors are now open to you. Now go\
and get me the KeyShards.\
\
<[ Cya then ]/@exit>\\\


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ^^^ Sets flag [455] on granting access to the ShadowTemple's   ;;;;
;;;; ^^^ first floors.  This quest/area is around level 50 to hunt  ;;;;
;;;; ^^^ and is 4 floors deep (including lobby).  After this 	    ;;;;
;;;; ^^^ section is activated the reminder will show instead of     ;;;;
;;;; ^^^ the stage one intro section.				    ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;