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

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

IF ~Global("VillageSaved","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #32689 /* ~(sigh)  I just know that one of these days, one of those ogres is going to come down and massacre me, just like those other villagers.  I... I never thought of something like this when I became a merchant!~ */
  IF ~~ THEN REPLY #32691 /* ~Can I see what you have in stock?~ */ GOTO 1
  IF ~~ THEN REPLY #32694 /* ~What do you know about these killings?~ */ GOTO 2
  IF ~~ THEN REPLY #32699 /* ~I'll be going, then.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 3.0 0.0
  SAY #32700 /* ~Oh, I suppose so... but there isn't much.  Caravans just won't come here unless they're stocked with guards... and that doesn't make it very profitable, now, does it?~ */
  IF ~~ THEN DO ~StartStore("uhmer03",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #32701 /* ~Ohhh, it's a terrible thing, isn't it?  People dying left and right... you can hardly find a customer anymore, and that's probably okay because nobody will restock me, now, anyway.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #32706 /* ~Somebody should do something about those ogres, though.  Ever since they came, it all started.  One of my caravans once got attacked by ogres... they're evil and brutal!~ */
  IF ~~ THEN REPLY #32709 /* ~Can I see what you have in stock?~ */ GOTO 1
  IF ~~ THEN REPLY #32710 /* ~I'll be on my way, then.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 0.2
  SAY #32711 /* ~Al-alright... just... just be careful of those hungry ogres!~ */
  IF ~~ THEN EXIT
END

IF ~Global("VillageSaved","GLOBAL",1)
!GlobalGT("rangerprotector","GLOBAL",4)~ THEN BEGIN 5 // from:
  SAY #32712 /* ~I... I can't tell you how relieved I am that you've stopped all the killings!  I was sure I was a goner!  Maybe now people will start coming back to the village.~ */
  IF ~Global("OgreAlliance","GLOBAL",1)
~ THEN GOTO 6
  IF ~Global("OgreAlliance","GLOBAL",0)
~ THEN GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #32713 /* ~And... and I met my first ogre face-to-face.  He... he wanted to buy some apples that I had shipped up from my orchard outside Athkatla.  I was sure he was going to eat me, instead, but he didn't.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0 5.1
  SAY #32714 /* ~Well, anyway... did you wish to buy something?~ */
  IF ~~ THEN REPLY #32715 /* ~Sure.  Let me see what you have.~ */ GOTO 8
  IF ~~ THEN REPLY #32716 /* ~No thanks, I'll be going.~ */ GOTO 9
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #32717 /* ~Always a pleasure.  And now I have a full stock, too.~ */
  IF ~~ THEN DO ~StartStore("uhmer03",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 7.1
  SAY #32718 /* ~See you around here, then.~ */
  IF ~~ THEN EXIT
END

IF ~GlobalGT("rangerprotector","GLOBAL",4)~ THEN BEGIN 10 // from:
  SAY #38064 /* ~Is there... is there something that you need?~ */
  IF ~~ THEN REPLY #38065 /* ~I'd like to see what you have in stock.~ */ GOTO 11
  IF ~~ THEN REPLY #38066 /* ~No, not really.~ */ GOTO 12
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #38067 /* ~Very well.~ */
  IF ~~ THEN DO ~StartStore("uhmer03",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 10.1
  SAY #38068 /* ~As you wish.~ */
  IF ~~ THEN EXIT
END
