Cleanup: Remove redundant prototype name specifications (#35793)

* Remove redundant prototype name specifications

* These can stay
This commit is contained in:
Tayrtahn
2025-03-19 14:30:31 -04:00
committed by GitHub
parent 916661944b
commit 86aa82f2b6
107 changed files with 109 additions and 109 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Random.Rules;
/// Every single condition needs to be true for this to be selected.
/// e.g. "choose maintenance audio if 90% of tiles nearby are maintenance tiles"
/// </summary>
[Prototype("rules")]
[Prototype]
public sealed partial class RulesPrototype : IPrototype
{
[IdDataField] public string ID { get; private set; } = string.Empty;

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Random;
/// <summary>
/// Linter-friendly version of weightedRandom for Entity prototypes.
/// </summary>
[Prototype("weightedRandomEntity")]
[Prototype]
public sealed partial class WeightedRandomEntityPrototype : IWeightedRandomPrototype
{
[IdDataField]

View File

@@ -5,7 +5,7 @@ namespace Content.Shared.Random;
/// <summary>
/// Random weighting dataset for solutions, able to specify reagents quantity.
/// </summary>
[Prototype("weightedRandomFillSolution")]
[Prototype]
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
{
[IdDataField] public string ID { get; private set; } = default!;

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Random;
/// <summary>
/// Linter-friendly version of weightedRandom for Ore prototypes.
/// </summary>
[Prototype("weightedRandomOre")]
[Prototype]
public sealed partial class WeightedRandomOrePrototype : IWeightedRandomPrototype
{
[IdDataField]

View File

@@ -5,7 +5,7 @@ namespace Content.Shared.Random;
/// <summary>
/// Generic random weighting dataset to use.
/// </summary>
[Prototype("weightedRandom")]
[Prototype]
public sealed partial class WeightedRandomPrototype : IWeightedRandomPrototype
{
[IdDataField]

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Random;
/// <summary>
/// Linter-friendly version of weightedRandom for Species prototypes.
/// </summary>
[Prototype("weightedRandomSpecies")]
[Prototype]
public sealed partial class WeightedRandomSpeciesPrototype : IWeightedRandomPrototype
{
[IdDataField]