Blood moon (#1270)

* some setup

* fix dayccle events, add basic gamerules

* carcat guidebook update

* pfpf

* wawa

* fnish
This commit is contained in:
Ed
2025-05-15 17:32:26 +03:00
committed by GitHub
parent 26e4088cdd
commit e0a4f5592f
28 changed files with 444 additions and 75 deletions

View File

@@ -1,3 +1,4 @@
using Content.Shared._CP14.DayCycle;
using Content.Shared.Light.Components;
using Robust.Shared.Map.Components;
@@ -14,6 +15,10 @@ public abstract class SharedLightCycleSystem : EntitySystem
protected virtual void OnCycleMapInit(Entity<LightCycleComponent> ent, ref MapInitEvent args)
{
//CP14DayCycleSystem
EnsureComp<CP14DayCycleComponent>(ent);
//CP14DayCycleSystem end
if (TryComp(ent.Owner, out MapLightComponent? mapLight))
{
ent.Comp.OriginalColor = mapLight.AmbientLightColor;