ECS and bandaid research (#9251)

This commit is contained in:
metalgearsloth
2022-06-28 22:54:08 +10:00
committed by GitHub
parent 9b08457e52
commit 5dbb3220dd
21 changed files with 496 additions and 531 deletions

View File

@@ -0,0 +1,12 @@
using Content.Server.Power.EntitySystems;
using Content.Server.Research.Components;
namespace Content.Server.Research;
public sealed partial class ResearchSystem
{
public bool CanProduce(ResearchPointSourceComponent component)
{
return component.Active && this.IsPowered(component.Owner, EntityManager);
}
}