BEGIN ~60YTREGS~

IF WEIGHT #2 ~  NumberOfTimesTalkedTo(0)
RandomNum(4,1)
~ THEN BEGIN 0
  SAY #32997
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF WEIGHT #3 ~  NumberOfTimesTalkedTo(0)
RandomNum(4,2)
~ THEN BEGIN 1
  SAY #33005
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF WEIGHT #4 ~  NumberOfTimesTalkedTo(0)
RandomNum(4,3)
~ THEN BEGIN 2
  SAY #33006
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF WEIGHT #5 ~  NumberOfTimesTalkedTo(0)
RandomNum(4,4)
~ THEN BEGIN 3
  SAY #33007
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF ~~ THEN BEGIN 4
  SAY #33008
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF ~~ THEN BEGIN 5
  SAY #33009
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF ~~ THEN BEGIN 6
  SAY #33010
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF ~~ THEN BEGIN 7
  SAY #33011
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF ~~ THEN BEGIN 8
  SAY #33012
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33004 EXIT
END

IF WEIGHT #6 ~  NumTimesTalkedToGT(0)
~ THEN BEGIN 9
  SAY #33013
  IF ~  Global("60Seen_Treasury_Door","GLOBAL",1)
~ THEN REPLY #32998 GOTO 12
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END

IF WEIGHT #0 ~  !Global("6051_Wearing_Robes","GLOBAL",6)
!Global("US_OJAIHA_DIPLOMACY","GLOBAL",1)
~ THEN BEGIN 10
  SAY #33015
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF WEIGHT #1 ~  Global("Ritual_RitualState","GLOBAL",1)
~ THEN BEGIN 11
  SAY #33017
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12
  SAY #33018
  IF ~~ THEN REPLY #32999 GOTO 4
  IF ~~ THEN REPLY #33000 GOTO 5
  IF ~~ THEN REPLY #33001 GOTO 6
  IF ~~ THEN REPLY #33002 GOTO 7
  IF ~~ THEN REPLY #33003 GOTO 8
  IF ~~ THEN REPLY #33004 EXIT
END
