// creator  : weidu.exe (version 23600)
// argument : CREDUS.DLG
// game     : .
// source   : ./override/CREDUS.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~CREDUS~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 9 even though they appear after this state */
~  True()
~ THEN BEGIN 0 // from:
  SAY #17446 /* ~Hey, you, new blood! Just you keep in line, 'cuz I'll be watching you!~ */
  IF ~~ THEN REPLY #17447 /* ~And who might you be?~ */ GOTO 1
  IF ~~ THEN REPLY #17448 /* ~I don't respond well to orders.~ */ GOTO 6
  IF ~~ THEN REPLY #17449 /* ~Yes, sir! Whatever you say!~ */ GOTO 7
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #17450 /* ~Me? I'm Credus. I'm your superio... superbior... I'm your boss. I was the newest recruit until you showed up. Now you'll get all the crappy guard duty and I'll be moving up.~ */
  IF ~~ THEN REPLY #17451 /* ~I hope I do as good a job as you did. What would I be guarding?~ */ GOTO 2
  IF ~~ THEN REPLY #17452 /* ~What needs to be guarded in a camp full of heavily armed bandits?~ */ GOTO 3
  IF ~~ THEN REPLY #17453 /* ~What if I don't want you for a boss?~ */ GOTO 4
  IF ~~ THEN REPLY #17454 /* ~If you say so, but I'll wait to hear it from that Tazok fellow.~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #17455 /* ~Good attitude! Important work it is! Gotta keep an eye on Tazok's tent and make sure no one gets too close. They do super secret planning in there, all about where the iron and stuff goes. Smack anybody who goes near! Hey, maybe we'll give you a little test. You can guard the place for tonight. Tazok will be pleased that we took initinivvi... initititive... ini... that we didn't wait. It'll give me a break for tonight too. You just make sure nothing goes missing, or your head goes next.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #17456 /* ~Lots of people say that. "What do we need guards for?" "What's so special 'bout Tazok's tent?" "Must not be very important if Credus can guard it." Well, they know nothing! Credus guards really well and a good thing too. Not many people know, but Tazok keeps important stuff in there. Papers and things. You just watch your step at night, because I have to thump anyone who comes near. No exceptions. I better go, so you be careful.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #17457 /* ~You should be glad to get me! I'm tough, I'm dependable, and... I also know what it's like to be the new guy. Had to fight to get respect. At first they didn't want me guarding Tazok's tent. They said I would fall asleep, or blab about the papers. Well, I know better, and I proved it! So you just count your lucky sheep that I'm on duty, 'cuz maybe I'll put in a good word for you. Or maybe not! I'll decide later.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 1.3
  SAY #17458 /* ~Oh, you don't want to be talking to him. Tazok is kinda scary. I do a good job guarding his tent so he's only smacked me once, but if you talk too much, he might hurt you worse. Especially if you interrupt him reading his important papers. Just guard them and shut up, that's what I say. I better go. Talking about Tazok is bad for your health.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.1
  SAY #17459 /* ~Yeah, I was like that once. Then I met Tazok. Now I keep my mouth shut and do what I'm told! You should too, even if it's guarding stupid ol' papers like I have to do. I dunno what Tazok sees in them, but he sure keeps them locked up tight in his tent. I better go, but just you remember what I said. Do what you're told.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 0.2
  SAY #17460 /* ~Yeah! You snap to it, just like I had to. It's gonna be great being the boss for a change! No more standing around for hours guarding stupid papers and garbage. It's not as if we need guards for Tazok's tent. No one is dumb enough to cross him. Anyway, you'll be my helper from now on. Maybe tonight you should guard Tazok's tent. We'll break you in so he don't do it. You just make sure nothing goes missing, or your head will be next.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 9 even though they appear after this state */
~  False()
~ THEN BEGIN 8 // from:
  SAY #17461 /* ~Don't you go pestering me. I gotta get back to work.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  Global("JoinedBandits","GLOBAL",0)
~ THEN BEGIN 9 // from:
  SAY #17462 /* ~Now I have to thump you good. Can't let you into the boss' tent, or you'll get his important stuff. Sorry, but you gotta die.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
  IF ~Global("X#KivanCredus","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
!Dead("tazok")
~ THEN DO ~SetGlobal("X#KivanCredus","GLOBAL",1)~ EXTERN ~KIVANJ~ 228
END

IF ~~ THEN BEGIN 10 // from:
  SAY #45579 /* ~Not anothe' elven spy! Have had enough whining from that Ender! Anyway, pals, you die!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END
