Merge remote-tracking branch 'upstream/master' into 20-11-19-sandboxing
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
||||
public IReadOnlyList<string> MechanismIds => _mechanismIds;
|
||||
|
||||
[ViewVariables]
|
||||
private HashSet<IMechanism> _mechanisms = new HashSet<IMechanism>();
|
||||
private readonly HashSet<IMechanism> _mechanisms = new HashSet<IMechanism>();
|
||||
|
||||
[ViewVariables]
|
||||
public IBody? Body
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
public override string Name => "LatheDatabase";
|
||||
public override uint? NetID => ContentNetIDs.LATHE_DATABASE;
|
||||
|
||||
private List<LatheRecipePrototype> _recipes = new List<LatheRecipePrototype>();
|
||||
private readonly List<LatheRecipePrototype> _recipes = new List<LatheRecipePrototype>();
|
||||
|
||||
/// <summary>
|
||||
/// Removes all recipes from the database if it's not static.
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
public override string Name => "ProtolatheDatabase";
|
||||
public sealed override uint? NetID => ContentNetIDs.PROTOLATHE_DATABASE;
|
||||
|
||||
private List<LatheRecipePrototype> _protolatheRecipes = new List<LatheRecipePrototype>();
|
||||
private readonly List<LatheRecipePrototype> _protolatheRecipes = new List<LatheRecipePrototype>();
|
||||
|
||||
/// <summary>
|
||||
/// A full list of recipes this protolathe can print.
|
||||
|
||||
@@ -125,6 +125,7 @@ namespace Content.Shared.GameObjects.Components
|
||||
{
|
||||
Metal,
|
||||
Glass,
|
||||
ReinforcedGlass,
|
||||
Plasteel,
|
||||
Cable,
|
||||
Wood,
|
||||
@@ -139,6 +140,7 @@ namespace Content.Shared.GameObjects.Components
|
||||
FloorTileCarpet,
|
||||
FloorTileWhite,
|
||||
FloorTileDark,
|
||||
FloorTileWood
|
||||
FloorTileWood,
|
||||
MetalRod
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user