; ===================================
; QGO Market Def NPC File : 1Bme-0102
; Butcher in Mud Wall
; Point 2 of Meat Quest
; -----------------------------------
; Name: Kim
; Job:  Butcher
; Map No: 0102
; Pos X   9
; Pos Y   7
; File name: 1Bme-0102.txt
; Comment: Butcher in shop at Bichon Wall
; 11 July 2003 (Xerxes)
;   - Added New text
;	- Generated Quest activity
; ===================================
%100
+40
+1
;------------------------------------------------------------------------------
; QUEST INFO:
; [304] Set by Rupert (1Mme-3) so that player can go and see Kim for quest
; [305] Set by Kim for player to go look for the cook
; [309] Set (external) by Kumbun when the cook is found
; [310] Set by Kim to go and see Yu
; [312] Set (external) by old man (Yu)
; [313] Set by Kim when Yu has been seen by player
;------------------------------------------------------------------------------
;
[@main]
#IF
	checkpkpoint 2
#SAY
		;ڳ׿  ҷ  ŷ ϰ  ʱ.. \ \
;-------------NEW TEXT-------------------
Get out of here, you murdering scoundrel! I don't want to do\
business with the likes of you! Go on, get out!! \ \
;-----------END NEW TEXT-----------------
		;<  /@exit>
<Close/@exit>

#ELSEACT
	goto @main-1

; ------------------------------------
; Quest is effected on random 2 factor
; ------------------------------------
[@main-1]
#IF
	random 2
#ACT
	goto @quest
#ELSEACT
	goto @normal

; ---
[@normal]
		; ðԳ, Ϸ ̴°?\ \
;-------------NEW TEXT-------------------
It's good to see you, traveller! What can I do for you?\ \
;-----------END NEW TEXT-----------------
		;⸦ </@buy>\
		;⸦ <Ǵ/@sell>\
		<Teleport out/@tele>\
		;<׸д/@exit>
<Buy meat/@buy>\
<Sell meat/@sell>\
<Teleport out/@tele>\
<Cancel/@exit>


; ----------------------------
; random (?) teleport function
; ----------------------------
[@Tmove]
#IF
	random 2
#ACT
	mapmove 0 307 264
	break

#IF
	random 2
#ACT
	mapmove 0 308 265
	break
#ELSEACT
	goto @Tmove


; ------------------------------------
; Quest checks
; ------------------------------------
[@quest]
#IF
	check [312] 1
#ACT
; ## Player has seen the old man (Yu) ##
	goto @q312
	break

#IF
	check [310] 1
#ACT
; ## Yu must be seen, this flag determines whether seen or not ##
	goto @q310
	break 

#IF
	check [309] 1
#ACT
; ## Well done, the Cook is found ##
	goto @q309
	break

#IF
	check [305] 1
#ACT
; ## Player needs to go find the cook ##
	goto @q305
	break 

#IF
	check [304] 1
#ACT
; ## Player seen Rupert, told to come and see Kim ##
	goto @q304

#ELSESAY
		; ðԳ, Ϸ ̴°?\ \
;-------------NEW TEXT-------------------
You're most welcome in my humble shop, my friend!\
How can I help you today? \ \
;-----------END NEW TEXT-----------------
		;⸦ </@buy>\
		;⸦ <Ǵ/@sell>\
		;<׸д/@exit>
<Buy meat/@buy>\
<Sell meat/@sell>\
<Cancel/@exit>


; ------------------------------------
; ## Sent by Rupert to come here ##
[@q304]
		;ڳ  Ѿ   Ա \
		; Գ... ڳ׿  ŹҰ ֳ \
		;ڳ Ѿ    ̶ \
		; ˰ ֳ Ź  ְԳ.. \ \
;-------------NEW TEXT-------------------
Well hello there, stranger! I've been speaking with Rupert\
who has told me of your exceptional generosity and honour.\
I wonder if you might help me with a very important matter\
that has arisen?\\
;-----------END NEW TEXT-----------------
		;Ź <ش/@Q304_1> \
		;Ź <źѴ/@exit>
<Accept request/@q304_1>\
<Reject request/@exit>\


; ------------------------------------
; ## Player accepted the quest ##
[@q304_1]
#IF
#ACT
	set [305] 1
#SAY
		;Ź  شٴ .. \
		;ٸ ƴ϶ Ѿ  ǰ   \
		;߰⸦  ָ鼭  ⸦ 丮 ش޶ \
		;Ź ߳..  丮 ҷ 簡 ʿ ѵ \ 
		; 縦 ã ְԳ.. \\
;-------------NEW TEXT-------------------
I really am most grateful to you, traveller. Rupert has asked\
me to prepare a very special dinner function, to which he will\
invite many influential friends. He feels that this will help\
his business prospects. However, although I have excellent\
food, I need a cook for the special preparations needed, and\
I would be most grateful if you could find the best for me!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Find Cook/@exit>


; ------------------------------------
; ## flag 305 is set when the player goes to look for cook ##
[@q305]
#IF
#SAY
		; 縦 ã ְԳ Źϼ.. \ \
;-------------NEW TEXT-------------------
Have you not found the cook yet? I really am in desperate\
need of this cook, as it is extremely important for me to\
arrange this very special dinner function!\ \
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; ------------------------------------
; ## Flag 309 set when cook found, but needs oil ##
[@q309]
#IF
	check [309] 1
#SAY
		; ڳ    ãƳٴ... \
		;ٽ ѹ ڳ Ƿ¿  ̶... \
		;  ο  Գ.. \ 
		;  ϴ  ִ 丮 ؼ \
		;Ư ⸧ ʿ ϴٰ ϴ \ \
;-------------NEW TEXT-------------------
I am truly impressed, my friend! There is a problem, however...\
The cook informed me by messenger that a rare, unique oil is\
required in order to complete the preparations of the special\
dishes.\\
;-----------END NEW TEXT-----------------
		;</@Q309_1>
<Next/@q309_1>

;
[@q309_1]
#IF
#ACT
	set [310] 1
#SAY
		; ⸧  󱤿   ߰ \
		; ź񽺷  ִµ    \
		; ȴٰ ϴ ڳװ ѹ ã ... \
		; ڼϰ    ִ 𸣰ڱ \ \
;-------------NEW TEXT-------------------
I am not familiar with it, nor its ingredients, but I did hear\
about an old man living somewhere in Bichon Province who was\
an authority in these matters. Please find this man, I'm \
afraid I have no idea where to look...\\
;-----------END NEW TEXT-----------------
		;ãư </@exit>
<Look for him/@exit>


; ------------------------------------
; ## Player tasked to see Yu, has not done it yet and returned to Kim ##
[@q310]
#IF
#SAY
		; źο  ã ð.. \ \
;-------------NEW TEXT-------------------
Please find the old man as soon as possible... he lives somewhere\
in the Bichon Province. Perhaps some of the other traders have\
heard of his whereabouts...? \\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; ------------------------------------
; ## Yu (old man) seen and dealt with ##
[@q312]
#IF
#ACT
	set [313] 1
#SAY
		; ο  Դ.. \
		;   翡 Ź Ͽ ѿ  \
		;־ ڳ ѿ ѹ  \ \
;-------------NEW TEXT-------------------
Wonderful news! After you spoke with Yu, he sent the oil\
to me which I have urgently dispatched to Rupert along with\
the cook and all the assistants! I'm sure that he will be\
pleased if you went to see him now!\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit>
<Close/@exit>


; ===========================
; Standard Buy/Sell functions
; ---------------------------
[@buy]
		;  ǰ ÿ.\ \ \
;-------------NEW TEXT-------------------
You may select any of the items below that you want.\ \ \
;-----------END NEW TEXT-----------------
		;<ڷ/@main>
<Back/@main>

;
[@sell]
		;ǰ  Ⱑ  Ľÿ..\
		;  ˳ ó ְڼ.\ \
;-------------NEW TEXT-------------------
I'll pay you best rates for high quality beef and chicken!\ \ \
;-----------END NEW TEXT-----------------
		;<ڷ/@main>
<Back/@main>

; ------------------------
; random teleport function
; used with @Tmove
; ------------------------
[@tele]
#IF
	checklevel 1
#ACT
	mapmove 0 301 263

; Sale Goods List
[goods]
;  ǰ̸     ¹    ½ð(hour)
; Name		Amount		Refresh (hours)
;---------------------------------------------
;	1000		1
Jerky		1000		1

