Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications * These can stay
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user