Fix lathe arbitrage test (#34449)
* Fix lathe arbitrage test * Add refinables * nullable * nullable2 * Fix merge * Ignore failures
This commit is contained in:
@@ -21,6 +21,9 @@ namespace Content.Shared.Lathe
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public List<ProtoId<LatheRecipePackPrototype>> DynamicPacks = new();
|
||||
// Note that this shouldn't be modified dynamically.
|
||||
// I.e., this + the static recipies should represent all recipies that the lathe can ever make
|
||||
// Otherwise the material arbitrage test and/or LatheSystem.GetAllBaseRecipes needs to be updated
|
||||
|
||||
/// <summary>
|
||||
/// The lathe's construction queue
|
||||
@@ -81,15 +84,16 @@ namespace Content.Shared.Lathe
|
||||
public sealed class LatheGetRecipesEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Lathe;
|
||||
public readonly LatheComponent Comp;
|
||||
|
||||
public bool getUnavailable;
|
||||
public bool GetUnavailable;
|
||||
|
||||
public HashSet<ProtoId<LatheRecipePrototype>> Recipes = new();
|
||||
|
||||
public LatheGetRecipesEvent(EntityUid lathe, bool forced)
|
||||
public LatheGetRecipesEvent(Entity<LatheComponent> lathe, bool forced)
|
||||
{
|
||||
Lathe = lathe;
|
||||
getUnavailable = forced;
|
||||
(Lathe, Comp) = lathe;
|
||||
GetUnavailable = forced;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user