Ejemplo n.º 1
0
        public override void Reset()
        {
            base.Reset();

            KnownFlumptyPos = Flumpty.Position.Cam3_Start;
            KnownBBBPos     = BirthdayBoyBlam.Position.Cam6_Thinking;
            KnownEyesaurPos = Eyesaur.Position.Cam1_Waiting;
            KnownOwlPos     = KnownOwlPos.Waiting;
            KnownPatience   = null;
        }
Ejemplo n.º 2
0
        public void ExtractCameraInfo()
        {
            CameraIndex?monsterCam = Level.Monsters.Flumpty.GetCameraVisible();

            if (monsterCam != null && monsterCam.Value == Cam)
            {
                KnownFlumptyPos  = Level.Monsters.Flumpty.Pos;
                _hasFoundFlumpty = true;
            }

            monsterCam = Level.Monsters.BBB.GetCameraVisible();
            if (monsterCam != null && monsterCam.Value == Cam)
            {
                KnownBBBPos  = Level.Monsters.BBB.Pos;
                _hasFoundBBB = true;

                if (KnownBBBPos == BirthdayBoyBlam.Position.Cam7_KevinJr)
                {
                    _isBBBClose = true;
                }
                else if (KnownBBBPos != BirthdayBoyBlam.Position.OfficeEntry)
                {
                    _isBBBClose = false;
                }
            }

            if (_isBBBClose && Cam == CameraIndex.Cam7 && monsterCam == null)
            {
                KnownBBBPos       = BirthdayBoyBlam.Position.OfficeEntry;
                _isBBBExposing    = true;
                DoingLaptopThings = false;
            }

            monsterCam = Level.Monsters.Eyesaur.GetCameraVisible();
            if (monsterCam != null && monsterCam.Value == Cam)
            {
                KnownEyesaurPos  = Level.Monsters.Eyesaur.Pos;
                _hasFoundEyesaur = true;

                if (KnownEyesaurPos == Eyesaur.Position.Cam6)
                {
                    _isEyesaurClose = true;
                }
                else if (KnownEyesaurPos != Eyesaur.Position.OfficeEntry)
                {
                    _isEyesaurClose = false;
                }
            }

            if (_isEyesaurClose && Cam == CameraIndex.Cam6 && monsterCam == null)
            {
                KnownEyesaurPos    = Eyesaur.Position.OfficeEntry;
                _isEyesaurExposing = true;
                DoingLaptopThings  = false;
            }

            Owl.Position owlPos = Level.Monsters.Owl.Pos;

            if (Cam == CameraIndex.Cam3 && owlPos == Owl.Position.Perch)
            {
                KnownOwlPos = Level.Monsters.Owl.IsActive ? KnownOwlPos.Glaring : KnownOwlPos.Waiting;
            }
            if (Cam == CameraIndex.Cam4 && owlPos.IsAnyOf(Owl.Position.VentEntryE, Owl.Position.VentMidE))
            {
                KnownOwlPos = KnownOwlPos.VentE;
            }
            if (Cam == CameraIndex.Cam5 && owlPos.IsAnyOf(Owl.Position.VentEntryW, Owl.Position.VentMidW))
            {
                KnownOwlPos = KnownOwlPos.VentW;
            }

            if (Cam == CameraIndex.Cam2 && Level.Monsters.Clown.IsActive)
            {
                KnownPatience = Level.Monsters.Clown.Patience;
            }
        }
Ejemplo n.º 3
0
 public void OnOwlThunk()
 {
     KnownOwlPos = KnownOwlPos.Glaring;
 }