public override void Load(Model_RunData data)
    {
        if (data.levelsData == null)
        {
            Debug.Log("There is no levels state data to load.");
            return;
        }

        if (data.levelsData.LB20 == null)
        {
            Debug.Log("There is no LB20 state data to load.");
            return;
        }

        Model_LevelBehavior_20 lvlModel = data.levelsData.LB20;

        LB20.isKingIntroCutSceneDone = lvlModel.isKingIntroCutSceneDone;
        LB20.season = lvlModel.season;
        LB20.entranceCutSceneDone = lvlModel.entranceCutSceneDone;
        LB20.isPuzzleComplete     = lvlModel.isPuzzleComplete;
        LB20.didPickUpMasterKey   = lvlModel.didPickUpMasterKey;
        LB20.didUnlockMasterLock  = lvlModel.didUnlockMasterLock;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
Esempio n. 2
0
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_29 lvlModel = data.levelsData.LB29;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_10 lvlModel = new Model_LevelBehavior_10(
            LB10.gotBoarNeedle
            );

        data.levelsData.LB10 = lvlModel;
    }
Esempio n. 4
0
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_30 lvlModel = new Model_LevelBehavior_30(
            _isDone: LB30.isDone
            );

        data.levelsData.LB30 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_22 lvlModel = new Model_LevelBehavior_22(
            LB22.isUrsieCutsceneDone
            );

        data.levelsData.LB22 = lvlModel;
    }
Esempio n. 6
0
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_47 lvlModel = new Model_LevelBehavior_47(
            _didPickUpPuppeteerSticker: LB47.didPickUpPuppeteerSticker
            );

        data.levelsData.LB47 = lvlModel;
    }
Esempio n. 7
0
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_27 lvlModel = new Model_LevelBehavior_27(
            _gotPsychicDuck: LB27.GotPsychicDuck
            );

        data.levelsData.LB27 = lvlModel;
    }
Esempio n. 8
0
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_32 lvlModel = new Model_LevelBehavior_32(
            _didStartThought: LB32.didStartThought
            );

        data.levelsData.LB32 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_41 lvlModel = new Model_LevelBehavior_41(
            _didPickUpMelancholyPianoSticker: LB41.didPickUpMelancholyPianoSticker
            );

        data.levelsData.LB41 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_13 lvlModel = new Model_LevelBehavior_13(
            LB13.didPickUpLightSticker
            );

        data.levelsData.LB13 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_48 lvlModel = new Model_LevelBehavior_48(
            _isDone: LB48.IsDone,
            _isFinalRound: LB48.IsFinalRound
            );

        data.levelsData.LB48 = lvlModel;
    }
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_41 lvlModel = data.levelsData.LB41;

        LB41.didPickUpMelancholyPianoSticker = lvlModel.didPickUpMelancholyPianoSticker;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_25 lvlModel = new Model_LevelBehavior_25(
            _isPuzzleComplete: LB25.isPuzzleComplete,
            _spokenWithEllenia: LB25.spokenWithEllenia
            );

        data.levelsData.LB25 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_21 lvlModel = new Model_LevelBehavior_21(
            LB21.spokenWithEileen,
            LB21.didOnEntranceAttack
            );

        data.levelsData.LB21 = lvlModel;
    }
Esempio n. 15
0
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_46 lvlModel = new Model_LevelBehavior_46(
            _isPuzzleComplete: LB46.isPuzzleComplete,
            _didPlayFaceOff: LB46.didPlayFaceOff
            );

        data.levelsData.LB46 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_12 lvlModel = new Model_LevelBehavior_12(
            LB12.isDone,
            LB12.isCutSceneDone
            );

        data.levelsData.LB12 = lvlModel;
    }
Esempio n. 17
0
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_47 lvlModel = data.levelsData.LB47;

        LB47.didPickUpPuppeteerSticker = lvlModel.didPickUpPuppeteerSticker;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
Esempio n. 18
0
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_27 lvlModel = data.levelsData.LB27;

        LB27.GotPsychicDuck = lvlModel.gotPsychicDuck;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_10 lvlModel = data.levelsData.LB10;

        LB10.gotBoarNeedle = lvlModel.gotBoarNeedle;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_0 lvlModel = new Model_LevelBehavior_0(
            LB0.didStartThought,
            LB0.demonSpawns,
            LB0.isDone
            );

        data.levelsData.LB0 = lvlModel;
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_26 lvlModel = new Model_LevelBehavior_26(
            _isPuzzleComplete: LB26.isPuzzleComplete,
            _didActivateDramaticThoughts: LB26.didActivateDramaticThoughts,
            _gotIceSpikeSticker: LB26.gotIceSpikeSticker
            );

        data.levelsData.LB26 = lvlModel;
    }
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_48 lvlModel = data.levelsData.LB48;

        LB48.IsDone       = lvlModel.isDone;
        LB48.IsFinalRound = lvlModel.isFinalRound;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_24 lvlModel = new Model_LevelBehavior_24(
            LB24.IsPuzzleComplete,
            LB24.didPickUpSpringStone,
            LB24.didPlayFaceOff
            );

        data.levelsData.LB24 = lvlModel;
    }
Esempio n. 24
0
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_46 lvlModel = data.levelsData.LB46;

        LB46.isPuzzleComplete = lvlModel.isPuzzleComplete;
        LB46.didPlayFaceOff   = lvlModel.didPlayFaceOff;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_42 lvlModel = new Model_LevelBehavior_42(
            _didPickUpLastWellMap: LB42.didPickUpLastWellMap,
            _didPickUpSpeedSeal: LB42.didPickUpSpeedSeal,
            _isMooseQuestDone: LB42.isMooseQuestDone,
            _didPlayFaceOff: LB42.didPlayFaceOff
            );

        data.levelsData.LB42 = lvlModel;
    }
    public override void Load(Model_RunData data)
    {
        Model_LevelBehavior_42 lvlModel = data.levelsData.LB42;

        LB42.didPickUpLastWellMap = lvlModel.didPickUpLastWellMap;
        LB42.didPickUpSpeedSeal   = lvlModel.didPickUpSpeedSeal;
        LB42.isMooseQuestDone     = lvlModel.isMooseQuestDone;
        LB42.didPlayFaceOff       = lvlModel.didPlayFaceOff;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Save(Model_RunData data)
    {
        Model_LevelBehavior_20 lvlModel = new Model_LevelBehavior_20(
            LB20.isKingIntroCutSceneDone,
            LB20.season,
            LB20.entranceCutSceneDone,
            LB20.isPuzzleComplete,
            LB20.didPickUpMasterKey,
            LB20.didUnlockMasterLock
            );

        data.levelsData.LB20 = lvlModel;
    }
    public override void Load(Model_RunData data)
    {
        if (data.levelsData == null)
        {
            Debug.Log("There is no levels state data to load.");
            return;
        }

        if (data.levelsData.LB19 == null)
        {
            Debug.Log("There is no LB19 state data to load.");
            return;
        }

        Model_LevelBehavior_19 lvlModel = data.levelsData.LB19;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
Esempio n. 29
0
    public override void Load(Model_RunData data)
    {
        if (data.levelsData == null)
        {
            Debug.Log("There is no levels state data to load.");
            return;
        }

        if (data.levelsData.LB32 == null)
        {
            Debug.Log("There is no LB32 state data to load.");
            return;
        }

        Model_LevelBehavior_32 lvlModel = data.levelsData.LB32;

        LB32.didStartThought = lvlModel.didStartThought;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }
    public override void Load(Model_RunData data)
    {
        if (data.levelsData == null)
        {
            Debug.Log("There is no levels state data to load.");
            return;
        }

        if (data.levelsData.LB13 == null)
        {
            Debug.Log("There is no LB13 state data to load.");
            return;
        }

        Model_LevelBehavior_13 lvlModel = data.levelsData.LB13;

        LB13.didPickUpLightSticker = lvlModel.didPickUpLightSticker;

        Debug.Log($"-------- LOADED {name} --------");
        Script_Utils.DebugToConsole(lvlModel);
    }