Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications * These can stay
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Shared.Chemistry.Dispenser
|
||||
/// to define which reagents it's able to dispense. Based off of how vending
|
||||
/// machines define their inventory.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable, Prototype("reagentDispenserInventory")]
|
||||
[Serializable, NetSerializable, Prototype]
|
||||
public sealed partial class ReagentDispenserInventoryPrototype : IPrototype
|
||||
{
|
||||
[DataField("inventory", customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Chemistry.Reaction;
|
||||
/// <summary>
|
||||
/// This is a prototype for a method of chemical mixing, to be used by <see cref="ReactionMixerComponent"/>
|
||||
/// </summary>
|
||||
[Prototype("mixingCategory")]
|
||||
[Prototype]
|
||||
public sealed partial class MixingCategoryPrototype : IPrototype
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Chemistry.Reaction
|
||||
/// <summary>
|
||||
/// Prototype for chemical reaction definitions
|
||||
/// </summary>
|
||||
[Prototype("reaction")]
|
||||
[Prototype]
|
||||
public sealed partial class ReactionPrototype : IPrototype, IComparable<ReactionPrototype>
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Content.Shared.Chemistry.Reaction;
|
||||
|
||||
[Prototype("reactiveGroup")]
|
||||
[Prototype]
|
||||
public sealed partial class ReactiveGroupPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
|
||||
@@ -20,7 +20,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Shared.Chemistry.Reagent
|
||||
{
|
||||
[Prototype("reagent")]
|
||||
[Prototype]
|
||||
[DataDefinition]
|
||||
public sealed partial class ReagentPrototype : IPrototype, IInheritingPrototype
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user