mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
Skia Tweaks + Removes Nightvision form Lathes (#4308)
* Adds Direction Requests * Fix * Fixed EntryPoint, added back Sec Lathe, and added as a Salvage Points item * Moved SpecOpsGoggles to appease gods * Give Skia Thermal Vision * Removed thermals from research. * Removed thermal vision, added comment
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Shared._RMC14.Effect;
|
||||
|
||||
public abstract class SharedRMCEffectSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<EffectAlphaAnimationComponent, MapInitEvent>(OnAlphaAnimationMapInit);
|
||||
}
|
||||
|
||||
private void OnAlphaAnimationMapInit(Entity<EffectAlphaAnimationComponent> ent, ref MapInitEvent args)
|
||||
{
|
||||
ent.Comp.SpawnedAt = _timing.CurTime;
|
||||
Dirty(ent);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user