public override void Load()
 {
     NoRefillField.Load();
     FloatierSpaceBlock.Load();
     MoveBlockBarrier.Load();
     MoveBlockBarrierRenderer.Load();
     RemoveLightSourcesTrigger.Load();
     SafeRespawnCrumble.Load();
     UpsideDownJumpThru.Load();
     BubbleReturnBerry.Load();
     SidewaysJumpThru.Load();
 }
Exemple #2
0
        public override void Load()
        {
            Logger.SetLogLevel("SpringCollab2020", LogLevel.Info);

            NoRefillField.Load();
            FloatierSpaceBlock.Load();
            MoveBlockBarrier.Load();
            MoveBlockBarrierRenderer.Load();
            RemoveLightSourcesTrigger.Load();
            SafeRespawnCrumble.Load();
            UpsideDownJumpThru.Load();
            BubbleReturnBerry.Load();
            SidewaysJumpThru.Load();
            CrystalBombDetonatorRenderer.Load();
            FlagTouchSwitch.Load();
            DisableIcePhysicsTrigger.Load();
            MultiRoomStrawberrySeed.Load();
            MadelineSilhouetteTrigger.Load();
            BlockJellySpawnTrigger.Load();
            StrawberryIgnoringLighting.Load();
            SeekerCustomColors.Load();
            CameraCatchupSpeedTrigger.Load();
            ColorGradeFadeTrigger.Load();
            SpeedBasedMusicParamTrigger.Load();
            StaticPuffer.Load();
            LeaveTheoBehindTrigger.Load();
            BadelineBounceDirectionTrigger.Load();
            WaterRocketLaunchingComponent.Load();
            SpikeJumpThroughController.Load();
            Everest.Events.Level.OnLoadBackdrop += onLoadBackdrop;

            GrandmasterHeartSideHelper.Load();

            IL.Celeste.Level.Reload += resetFlagsOnTimerResets;

            DecalRegistry.AddPropertyHandler("scale", (decal, attrs) => {
                Vector2 scale = decal.Scale;
                if (attrs["multiply"] != null)
                {
                    scale *= float.Parse(attrs["multiply"].Value);
                }
                if (attrs["divide"] != null)
                {
                    scale /= float.Parse(attrs["divide"].Value);
                }
                decal.Scale = scale;
            });
        }