예제 #1
0
 public override void DeSpawn()
 {
     base.DeSpawn();
     if (Game.Mode == GameMode.MapPlaying)
     {
         ListerFilth.Notify_FilthDespawned(this);
     }
 }
예제 #2
0
 public override void SpawnSetup()
 {
     base.SpawnSetup();
     if (Game.Mode == GameMode.MapPlaying)
     {
         ListerFilth.Notify_FilthSpawned(this);
     }
 }
예제 #3
0
        public override void MapComponentUpdate()
        {
            if (this.done)
            {
                return;
            }
            List <Area> allAreas = Verse.Find.AreaManager.AllAreas;

            if (!allAreas.Exists(( Area s ) => s.GetType() == typeof(Area_Cleaning)))
            {
                allAreas.Add(new Area_Cleaning());
            }
            ListerFilth.RebuildAll();
            Log.Message("LT-NC: Initialized NoCleaningPlease.");
            done = true;
        }