Exemplo n.º 1
0
 public override void Unload()
 {
     NoRefillField.Unload();
     FloatierSpaceBlock.Unload();
     MoveBlockBarrier.Unload();
     MoveBlockBarrierRenderer.Unload();
     RemoveLightSourcesTrigger.Unload();
     SafeRespawnCrumble.Unload();
     GlassBerry.Unload();
     UpsideDownJumpThru.Unload();
     BubbleReturnBerry.Unload();
     SidewaysJumpThru.Unload();
     CrystalBombDetonatorRenderer.Unload();
     FlagTouchSwitch.Unload();
     DisableIcePhysicsTrigger.Unload();
     MultiRoomStrawberrySeed.Unload();
     MadelineSilhouetteTrigger.Unload();
     BlockJellySpawnTrigger.Unload();
     StrawberryIgnoringLighting.Unload();
     SeekerCustomColors.Unload();
     CameraCatchupSpeedTrigger.Unload();
     ColorGradeFadeTrigger.Unload();
     SpeedBasedMusicParamTrigger.Unload();
     StaticPuffer.Unload();
     LeaveTheoBehindTrigger.Unload();
     BadelineBounceDirectionTrigger.Unload();
     WaterRocketLaunchingComponent.Unload();
     Everest.Events.Level.OnLoadBackdrop -= onLoadBackdrop;
 }
Exemplo n.º 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;
            });
        }