; ===================================
; QGO Market Def NPC File : 1Mme-3
; Rupert - Butcher in Mud Wall
; Start point of Meat Quest
; -----------------------------------
; Name: Rupert
; Job:  Butcher
; Map No: 3
; Pos X   355
; Pos Y   329
; File name: 1Mme-3.txt
; Comment: Butcher in Mud Wall
; -----------------------------------
%100
+40
+1
; ----------------------------------------------------------------------
; QUEST INFO:
; QUEST 01 (Meat Quest) is started by this NPC
; ----------------------------------------------------------------------
; Flags Affected by this Trader File
; [301] Set by Rupert on first rejection of the quest
;	Cleared by Rupert on acceptance of the quest
; [302] Set by Rupert when player accepts the challenge to get the meat
; [303] Set by Rupert after final rejection of quest by player
;	Cleared by Rupert on acceptance of the initial quest
; [304] Set by Rupert when player gives correct meat and will see Kim (1Bme-0102)
;	(completes this quest objective)
; [313] Set by Kim - final objective done, he has Oil, see Rupert
; [314] Set on completion of this quest to go to Khera (9Equ-0148)
;------------------------------------------------------------------------------
[@main]
#IF
	checkpkpoint 2
#SAY
		;ڳ׿  ҷ  ŷ ϰ  ʱ.. \ \
;-------------NEW TEXT-------------------
You! I know you, you're a wanted criminal! You are a\
killer! Get away from my stall!... Now!\ \
;-----------END NEW TEXT-----------------
		;<  /@exit>
<Close/@exit>

#ELSEACT
	goto @main-1


; -----------------------------------
[@main-1]
#IF
	random 2
#ACT
	goto @quest
#ELSEACT
	goto @normal


; -----------------------------------
[@normal]
#IF
	check [303] 1
#SAY
; ## Player has twice rejected this quest ##
		; ڳ    ϳ..\
		;   ڳ 󱼸 Ƶ   \
		;´ٳ...  ....\ \
;-------------NEW TEXT-------------------
I cannot believe that you have the nerve to show your\
face here, after the way you embarrassed and humiliated\
me! Just get out of here, you worm!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>

#ELSESAY
		;⸦ ȷ ̳?\ \
;-------------NEW TEXT-------------------
So, traveller, what has brought you to these parts?\
Have you brought some tasty morsels of chicken or\
beef to sell?\ \
;-----------END NEW TEXT-----------------
		;⸦ <Ǵ/@sell>\
		;<׸д/@exit>
<Sell meat/@sell>\
<Cancel/@exit>


; ## ---------------- QUEST #01 ------------------------ ##
; ## This quest is initialised with this NPC on random factor of 2 ##
;
[@quest]
#IF
	check [303] 1
#SAY
; ## Player has twice rejected this quest ##
		; ڳ    ϳ..\
		;   ڳ 󱼸 Ƶ   \
		;´ٳ...  ....\ \
;-------------NEW TEXT-------------------
I cannot believe that you have the nerve to show your\
face here, after the way you embarrassed and humiliated\
me! Just get out of here, you worm!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>

#IF
	check [313] 1
#ACT
; ## objective complete ##
	goto @q313
	break

#IF
	check [304] 1
#ACT
; ## player already completed this part of quest - needs to see Kim ##
	goto @q304
	break

#IF
	check [302] 1
#ACT
; ## has the player got the right quantity/quality meat? ##
	goto @q302
	break

#IF
	check [301] 1
#ACT
	goto @q301
	break

#IF
	check [301] 0
	check [302] 0
	check [303] 0
#ACT
	goto @q300

;
#ELSEACT
	goto @normal

; --------------------------------------------------
; ## Player has refused the quest for the first time
; --------------------------------------------------
[@q301]
#IF
random 5
#SAY
		;ڳװ   ˰ڳ   ؼ ׷ǵ \
		;׷  Ź  ϴٴ ʹϴ± ٽѹ \
		;Ź Լ  ְڳ?? \ \
;-------------NEW TEXT-------------------
I'm sure you will understand why I was so... abrupt... with you\
before but I am under a considerable strain now. Perhaps you have\
reconsidered, and you would like to offer me your assistance?\\
;-----------END NEW TEXT-----------------
		;<ش/@Q300_2_1>\
		;<ȵش./@Q301_1>
<Sure/@q300_2_1>\
<No way!/@q301_1>


#ELSESAY
		;ڳ׿   ŷ ϱ ȳ ׸ ! \ \
;-------------NEW TEXT-------------------
Hum... I don't think I have anything to say to you. Goodbye!\ \
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; -------------------------------
; ## Main Quest Start function ##
; -------------------------------
[@q300]
#IF
#SAY
		;ڳ  ̾߱ ϰ ?? ... \
		;  ̾߱  𸣰... \
		;ѹ  ְڳ?? \ \
;-------------NEW TEXT-------------------
If you're not in a hurry to dash away, perhaps you\
would care to join me for some tea, and I can tell\
you a little about a good friend of mine...?\\
;-----------END NEW TEXT-----------------
		;<ش/@Q300_1>\
		;<ȵ/@exit>\
<Listen/@Q300_1>\
<Refuse/@exit>\

; -------------------------------
; ## player has the meat in quantities and quality required ##
[@q302]
#IF
	checkitem meat 10
	checkitem chicken 10
	checkduraeva meat 20
	checkduraeva chicken 5
#ACT
	goto @q302_1
#ELSEACT
	goto @q302_2

; -------------------------------
; ## has the right meat, sell to Rupert and get next part of quest ##
[@q302_1]
#IF
#ACT
; +++++++++++++++ QUESTION - SHOULD THE TAKES BE 40??++++++++++
	take meat 10
	take chicken 10
	give Gold 6000
	set [304] 1
#SAY
		; ڳ..  ߻ ̶  ϰ\
		; ְ      \
		; 500 ߰  200  ֳ ϳ..\
		;ڳ õ ִ 达 ... \
		;达 ڳ׿ Ҹ ִٰ ϴ .. \ \
;-------------NEW TEXT-------------------
This is indeed wonderful! A thousand thanks to you, my friend!\
The meat you have brought me is exquisite! Now, I can only pay\
you 500 gold for the meat, and 200 gold for the chicken; \
unfortunately that is all that I can afford. However, to\
compensate, go and see my friend Kim in Bichon - I believe he is\
looking for some assistance right now...\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; -------------------------------
[@q302_2]
#IF
#SAY
		;ڳ  غ   ¿  ΰ?\
		;  ְ... \\
;-------------NEW TEXT-------------------
Why have you returned? Are you having difficulty in\
obtaining the meat that I asked for? Please, I beg of\
you, get the meat and bring it to me as soon as you can!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; -------------------------------
; ## Player to see Kim, has returned without doing that
[@q304]
#IF
	check [304] 1
#SAY
		;达  ! \\
;-------------NEW TEXT-------------------
You have not gone to see Mr Kim yet? Go, quickly,\
and see what it is that he requires!\ \
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; --------------------------
; ## Initial Quest Story ##
; --------------------------
[@q300_1]
		;  ģ ־..\
		;ģ õ   Ҹ ..\
		; ģ ϰ  ´ٰ ϳ.. \
		; ģ  ʹ ̶ ظ  \
		; Ĵ  ʴ´ٳ... \ \
;-------------NEW TEXT-------------------
Thank you... please, make yourself comfortable! Now then, I\
have a dear friend called Billy who lives in Bichon. He is a\
valued customer, and has somewhat extravagant tastes. In fact,\
I am expecting him to visit me shortly...\\
;-----------END NEW TEXT-----------------
		;</@Q300_2>\
<Next/@q300_2>\

; --------------------------
[@q300_2]
		;׷ ε ڳװ  ؼ ⸦  ְڳ \
		; ϰ , 񱸸 û .. 縦 \
		;Ҽ  Źϳ... \\
;-------------NEW TEXT-------------------
The problem is that the quality of the meat that I receive\
from my suppliers is unacceptable for my friend, so I have\
to procure it specially. Now, I would like to ask you whether\
you would be willing to hunt for the meat that I require,\
since I am too busy with other matters to do it myself.\\
;-----------END NEW TEXT-----------------
		;<ش./@Q300_2_1>\
		;<ȵش./@Q300_2_2>\
<Accept/@q300_2_1>\
<Refuse/@q300_2_2>\

; --------------------------
; ## player accepts the challenge ##
[@q300_2_1]
#IF
#ACT
	SET [302] 1
	SET [301] 0
	SET [303] 0
#SAY
		;شٴ  ... ǵ̸   ־ \
		;ڱ...  Ѱ ˷ ٰ ֳ ǰ 20̻ Ǵ \
		;Ⱑ ʿ ϴٳ..  ǰ 5 ̻ Ǵ  Ⱑ \
		; ⵢ 10 ߰10 ʿϳ..  Ź ϳ \ \
;-------------NEW TEXT-------------------
I am most grateful to you for your help. I would like them as\
soon as possible, please... I will need:\
  10 Meat with a quality rating of at least 20 and\
  10 chickens with a minimum quality rating of 5.\
Please hurry back with them! \\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; --------------------------
; ## player refuses the challenge ##
[@q300_2_2]
#IF
#ACT
	SET [301] 1
#SAY
		;ڳ   ̾߱ ߴµ ȵ شٴ  ʹϴ± \
		;ڳ 󱼵  ȳ  Ǹϼ... \
		; տ  \\
;-------------NEW TEXT-------------------
I am truly disappointed with you, I took you for a person\
with more courage and honour. Very well, I apologise for\
taking up so much of your valuable time. I'm sure you will\
excuse me, but please leave my stall now.\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>

; --------------------------
; ## player refuses the second chance of accepting this quest ##
[@q301_1]
#IF
#SAY
		;̷ Ź ϴµ   ʴ´ ̰ű \
		; ̷  ó̱... \
		;׷ ڳ ȥ ߸Ա ߻.... \
		;ڳ׿ʹ ŷ ϱ ȳ..\
		;(  ̷͵  ...) \\
;-------------NEW TEXT-------------------
Then by refusing, you have done me a grave disservice, and\
dishonour stains your very soul. Begone from my sight and\
never again darken my threshold with your presence!\ \
;-----------END NEW TEXT-----------------
;<ݱ/@exit>
<Close/@exit>

#ACT
	SET [303] 1


; --------------------------------
; ## Final quest objective reached
;
[@q313] 
#IF
#ACT
	SET [314] 1
#SAY
		;  غ Ͽ.. ڳ п   ģ \
		;   Ҽ ְ Ǿ.. ڳ  ڳ׿ \
		;  غ ߴٳ.     ģ \
		;ä󿡰 Ź  Ҵٳ.. ä󿡰 ѹ ðԳ \
		; ...   \ \
;-------------NEW TEXT-------------------
I am honoured for your invaluable assistance, you are truly a hero\
of Mir! Now I can prepare this sumptuous banquet for Sukwoo.\
By the way, there is a valuable article that I wish to give to you\
as a gift for all you have done, but at the moment it is with my\
friend, Khera. Go to her at once, I shall send word to her to expect\
your arrival. Good luck to you and a thousand thanks, my dear friend!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>

;
;

; ===========================
; Standard Sell functions (not buying)
; ---------------------------
[@sell]
I'll pay you top gold for the best quality joints of\
meat. I will not, however, give you much for meat that\
is soiled or burnt.\ \
<Back/@main>
;
; Sale Goods List
[Goods]
;none

