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

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

IF ~!Dead("cefald01")
InParty("Cernd")
See("Cernd")~ THEN BEGIN 0 // from:
  SAY #44468 /* ~You dare to bring that... that evil druid before me?!~ */
  IF ~~ THEN DO ~RunAwayFrom(LastTalkedToBy,30)~ EXIT
END

IF ~!Dead("cefald01")
OR(2)
!InParty("Cernd")
!See("Cernd")~ THEN BEGIN 1 // from:
  SAY #44469 /* ~Get away from me, rabble!  I do not associate with... with... druids and their ilk!  There's no telling what you are here to do, is there?!~ */
  IF ~~ THEN DO ~RunAwayFrom(LastTalkedToBy,15)~ EXIT
END

IF ~Dead("cefald01")
Global("geniesgone","GLOBAL",0)
CheckStatGT(LastTalkedToBy,13,CHR)~ THEN BEGIN 2 // from:
  SAY #44470 /* ~Hmph.  Yes.  I hear that you are the one who stopped these attacks.  Good job.  Now go and do something about those genies, yes?~ */
  IF ~~ THEN EXIT
END

IF ~Dead("cefald01")
Global("geniesgone","GLOBAL",1)
CheckStatGT(LastTalkedToBy,13,CHR)
Global("feudplot","GLOBAL",0)~ THEN BEGIN 3 // from:
  SAY #44471 /* ~I suppose you are a hero and should be congratulated, my good <MANWOMAN>.  You have my thanks, even though you are not dressed as appropriate company.~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",1)
CheckStatGT(LastTalkedToBy,13,CHR)~ THEN BEGIN 4 // from:
  SAY #44472 /* ~You are involved in that business with Lady Lilith and Lord Skarmaen, aren't you?  Bah!  Those families would destroy this town just to prove who is more respected!~ */
  IF ~~ THEN EXIT
END

IF ~Global("feudplot","GLOBAL",3)
CheckStatGT(LastTalkedToBy,13,CHR)~ THEN BEGIN 5 // from:
  SAY #44473 /* ~I do not associate with murderers... especially murderers of nobility!  Begone!~ */
  IF ~~ THEN DO ~RunAwayFrom(LastTalkedToBy,45)~ EXIT
END

IF ~Global("feudplot","GLOBAL",2)
!Global("loganmantle","GLOBAL",2)
CheckStatGT(LastTalkedToBy,13,CHR)~ THEN BEGIN 6 // from:
  SAY #44474 /* ~Hmph.  I suppose it was inevitable that those families would kill each other eventually.  You are still to be praised, however, for all that you have done for this town.  Bravo, <SIRMAAM>.~ */
  IF ~~ THEN EXIT
END

IF ~Dead("cefald01")
CheckStatLT(LastTalkedToBy,14,CHR)~ THEN BEGIN 7 // from:
  SAY #44475 /* ~Bah!  I do not associate with common criminal rabble!~ */
  IF ~~ THEN DO ~RunAwayFrom(LastTalkedToBy,15)~ EXIT
END
