fix emagged lathes (#23318)

* implement

* pass uid

* fix

* fix dementia

* event implementation

* fix
This commit is contained in:
Ilya246
2024-01-02 11:11:13 +04:00
committed by GitHub
parent 9b36232e3b
commit 49dbbc5721
3 changed files with 18 additions and 17 deletions

View File

@@ -68,11 +68,14 @@ namespace Content.Shared.Lathe
{
public readonly EntityUid Lathe;
public bool getUnavailable;
public List<ProtoId<LatheRecipePrototype>> Recipes = new();
public LatheGetRecipesEvent(EntityUid lathe)
public LatheGetRecipesEvent(EntityUid lathe, bool forced)
{
Lathe = lathe;
getUnavailable = forced;
}
}