This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -14,9 +14,6 @@ namespace Content.Shared.Lathe
{
[Dependency] private readonly IEntityManager _entMan = default!;
[Dependency] protected readonly IPrototypeManager PrototypeManager = default!;
public override string Name => "Lathe";
public bool CanProduce(LatheRecipePrototype recipe, int quantity = 1)
{
if (!_entMan.TryGetComponent(Owner, out SharedMaterialStorageComponent? storage)