// creator  : weidu.exe (version 23100)
// argument : UHMER02.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~UHMER02~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~!GlobalGT("rangerprotector","GLOBAL",4)
~ THEN BEGIN 0 // from:
  SAY #32675 /* ~Yes?  What is it that you want, exactly?  If you want to buy something, than say so quickly because I've got little enough time to spare for the likes of you.~ */
  IF ~~ THEN REPLY #32676 /* ~Sure, let me see what you have.~ */ GOTO 1
  IF ~Global("VillageSaved","GLOBAL",0)
~ THEN REPLY #32677 /* ~What do you know about what's going on in this village?~ */ GOTO 2
  IF ~GlobalGT("rangerprotector","GLOBAL",0)~ THEN REPLY #38055 /* ~Watch your tone with me, gnome.~ */ GOTO 6
  IF ~Global("rangerprotector","GLOBAL",0)~ THEN REPLY #32678 /* ~Watch your tone with me, gnome.~ */ GOTO 3
  IF ~~ THEN REPLY #32679 /* ~I'll be going, then.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 2.0 0.0
  SAY #32680 /* ~Fine.  But don't touch anything unless you're planning on buyin' it.~ */
  IF ~~ THEN DO ~StartStore("uhmer02",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #32681 /* ~Nothin'.  And I don't want to know nothin'.  All I want is to be able to get out of this stinkin' village safely once the roads are open.  Merchant can't make a decent livin' here.~ */
  IF ~~ THEN REPLY #32682 /* ~Let me see what you have in stock, then.~ */ GOTO 1
  IF ~~ THEN REPLY #32683 /* ~I'll be on my way, then.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 0.3
  SAY #32684 /* ~Bah!  Get out of my face, you moronic <RACE>... I could care less for yer wounded feelings.~ */
  IF ~InParty("Jan")
!Dead("Jan")
!StateCheck("Jan",STATE_SLEEPING)
See("Jan")
~ THEN EXTERN ~JANJ~ 77
  IF ~OR(4)
!InParty("Jan")
Dead("Jan")
StateCheck("Jan",STATE_SLEEPING)
!See("Jan")
~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #32686 /* ~Begone, gnome!  And take yer friends with you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.1 0.4
  SAY #32688 /* ~Good.  I think I'd like the back-side of you better, anyway, gettin' smaller as ye walk away.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.2
  SAY #38056 /* ~(sigh)  Well... ye are the local ranger, here.  Very well, I'll keep me brusqueness to meself, if it offends ye.  Now... did ye want t' buy somethin' or nay?~ */
  IF ~~ THEN REPLY #38057 /* ~Yes, please.~ */ GOTO 7
  IF ~~ THEN REPLY #38058 /* ~No, not really.~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #38059 /* ~As ye wish, then.  But you'll get no discount, here... I nay be givin' me shelves o' goods away.~ */
  IF ~~ THEN DO ~StartStore("uhmer02",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #38060 /* ~Then be on yer way, <RACE>.~ */
  IF ~~ THEN EXIT
END

IF ~GlobalGT("rangerprotector","GLOBAL",4)~ THEN BEGIN 9 // from:
  SAY #38061 /* ~I don't serve the likes o' you.  Find somewhere else t' spend yer coin, <RACE>.~ */
  IF ~~ THEN EXIT
END
