;;Ҫɾ

;-------------------------------------------

[@Main]
#ACT
Loadvalue A1 "QuestDiary\Guild\Palace.txt" [PalaceQuest] %GUILDNAME

;-------------------------------------------

#IF
Equal A1 "Stage5"
#ACT
GoTo @Stage5
BREAK

;---------------

#IF
Equal A1 "Stage6"
#ACT
GoTo @Stage6
BREAK

;---------------

#IF
Equal A1 "Stage7"
#ACT
GoTo @Stage7
BREAK

;-------------------------------------------

[@Stage5]
#ACT
SaveValue "QuestDiary\Guild\Palace.txt" [PalaceQuest] %GUILDNAME Stage6
#SAY
Hello <$USERNAME>...\
If you want me to fix that {FCOLOR/10}Broken Palace Key{FCOLOR/12}\
Please {FCOLOR/10}Investigate 5th Floor{FCOLOR/12} to find my {FCOLOR/10}Special Ore{FCOLOR/12}...\\
<Leave/@Exit>

;-------------------------------------------

[@Stage6]
#SAY
Please {FCOLOR/10}Investigate 5th Floor{FCOLOR/12} to find my {FCOLOR/10}Special Ore{FCOLOR/12}...\\
<Leave/@Exit>

;-------------------------------------------

[@Stage7]
#IF
CheckItem KeepersOre 1
#ACT
Give PalaceKey 1
Take KeepersOre 1
Take BrokenPalaceKey 1
SaveValue "QuestDiary\Guild\Palace.txt" [PalaceQuest] %GUILDNAME Stage8
#SAY
There is your {FCOLOR/10}Palace Key{FCOLOR/12}...\\
<Thanks/@Exit>

;-------------------------------------------

;;Ҫɾ