Blueprints (#31138)

* Blueprints

* Update tables_loot.yml

* doink

* mark as required
This commit is contained in:
Nemanja
2024-08-25 08:06:50 -04:00
committed by GitHub
parent f03fc585ba
commit 85b7d183bd
15 changed files with 259 additions and 5 deletions

View File

@@ -155,10 +155,10 @@ namespace Content.Server.Lathe
{
var ev = new LatheGetRecipesEvent(uid, getUnavailable)
{
Recipes = new List<ProtoId<LatheRecipePrototype>>(component.StaticRecipes)
Recipes = new HashSet<ProtoId<LatheRecipePrototype>>(component.StaticRecipes)
};
RaiseLocalEvent(uid, ev);
return ev.Recipes;
return ev.Recipes.ToList();
}
public static List<ProtoId<LatheRecipePrototype>> GetAllBaseRecipes(LatheComponent component)