]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Cleanup: Remove redundant prototype name specifications (#35793)
authorTayrtahn <tayrtahn@gmail.com>
Wed, 19 Mar 2025 18:30:31 +0000 (14:30 -0400)
committerGitHub <noreply@github.com>
Wed, 19 Mar 2025 18:30:31 +0000 (19:30 +0100)
* Remove redundant prototype name specifications

* These can stay

107 files changed:
Content.Client/Parallax/Data/ParallaxPrototype.cs
Content.Server/Announcements/RoundAnnouncementPrototype.cs
Content.Server/Atmos/Reactions/GasReactionPrototype.cs
Content.Server/Botany/SeedPrototype.cs
Content.Server/Connection/Whitelist/WhitelistPrototype.cs
Content.Server/GameTicking/Presets/GamePresetPrototype.cs
Content.Server/GameTicking/Prototypes/LobbyBackgroundPrototype.cs
Content.Server/Ghost/Roles/Raffles/GhostRoleRaffleDeciderPrototype.cs
Content.Server/Holiday/HolidayPrototype.cs
Content.Server/Maps/GameMapPoolPrototype.cs
Content.Server/Maps/GameMapPrototype.cs
Content.Server/NPC/Queries/Curves/UtilityCurvePresetPrototype.cs
Content.Server/NPC/Queries/UtilityQueryPrototype.cs
Content.Server/Wires/WireLayout.cs
Content.Server/Worldgen/Prototypes/NoiseChannelPrototype.cs
Content.Server/Worldgen/Prototypes/WorldgenConfigPrototype.cs
Content.Shared/Access/AccessGroupPrototype.cs
Content.Shared/Access/AccessLevelPrototype.cs
Content.Shared/Atmos/Prototypes/GasPrototype.cs
Content.Shared/Audio/AmbientMusicPrototype.cs
Content.Shared/Body/Prototypes/BodyPrototype.cs
Content.Shared/Body/Prototypes/MetabolismGroupPrototype.cs
Content.Shared/Body/Prototypes/MetabolizerTypePrototype.cs
Content.Shared/Chat/Prototypes/AutoEmotePrototype.cs
Content.Shared/Chat/Prototypes/EmotePrototype.cs
Content.Shared/Chat/Prototypes/EmoteSoundsPrototype.cs
Content.Shared/Chat/TypingIndicator/TypingIndicatorPrototype.cs
Content.Shared/Chemistry/Dispenser/ReagentDispenserInventoryPrototype.cs
Content.Shared/Chemistry/Reaction/MixingCategoryPrototype.cs
Content.Shared/Chemistry/Reaction/ReactionPrototype.cs
Content.Shared/Chemistry/Reaction/ReactiveGroupPrototype.cs
Content.Shared/Chemistry/Reagent/ReagentPrototype.cs
Content.Shared/Communications/CommsHackerComponent.cs
Content.Shared/Construction/Prototypes/ConstructionGraphPrototype.cs
Content.Shared/Construction/Prototypes/ConstructionPrototype.cs
Content.Shared/Damage/Prototypes/DamageContainerPrototype.cs
Content.Shared/Damage/Prototypes/DamageGroupPrototype.cs
Content.Shared/Damage/Prototypes/DamageModifierSetPrototype.cs
Content.Shared/Damage/Prototypes/DamageTypePrototype.cs
Content.Shared/Damage/Prototypes/ExaminableDamagePrototype.cs
Content.Shared/Dataset/DatasetPrototype.cs
Content.Shared/Decals/DecalPrototype.cs
Content.Shared/DeviceLinking/DevicePortPrototype.cs
Content.Shared/DeviceNetwork/DeviceFrequencyPrototype.cs
Content.Shared/EntityList/EntityListPrototype.cs
Content.Shared/EntityList/EntityLootTablePrototype.cs
Content.Shared/Explosion/ExplosionPrototype.cs
Content.Shared/Ghost/Roles/Raffles/GhostRoleRaffleSettingsPrototype.cs
Content.Shared/GridPreloader/Prototypes/PreloadedGridPrototype.cs
Content.Shared/Guidebook/GuideEntry.cs
Content.Shared/HUD/HudThemePrototype.cs
Content.Shared/Humanoid/Markings/MarkingPoints.cs
Content.Shared/Humanoid/Markings/MarkingPrototype.cs
Content.Shared/Humanoid/Prototypes/HumanoidProfilePrototype.cs
Content.Shared/Humanoid/Prototypes/RandomHumanoidSettingsPrototype.cs
Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs
Content.Shared/Inventory/InventoryTemplatePrototype.cs
Content.Shared/Item/ItemSizePrototype.cs
Content.Shared/Materials/MaterialPrototype.cs
Content.Shared/NPC/Prototypes/NpcFactionPrototype.cs
Content.Shared/NameIdentifier/NameIdentifierGroupPrototype.cs
Content.Shared/Nutrition/Flavor.cs
Content.Shared/Nutrition/Prototypes/FoodSequenceElementPrototype.cs
Content.Shared/Objectives/Prototypes/StealTargetGroupPrototype.cs
Content.Shared/Parallax/Biomes/BiomeTemplatePrototype.cs
Content.Shared/Parallax/Biomes/Markers/BiomeMarkerLayerPrototype.cs
Content.Shared/Players/PlayTimeTracking/PlayTimeTrackerPrototype.cs
Content.Shared/Preferences/Loadouts/LoadoutGroupPrototype.cs
Content.Shared/Procedural/DungeonPresetPrototype.cs
Content.Shared/Procedural/DungeonRoomPackPrototype.cs
Content.Shared/Procedural/DungeonRoomPrototype.cs
Content.Shared/Procedural/Loot/SalvageLootPrototype.cs
Content.Shared/Procedural/SalvageDifficultyPrototype.cs
Content.Shared/Prototypes/NavMapBlipPrototype.cs
Content.Shared/Radio/RadioChannelPrototype.cs
Content.Shared/Random/Rules/RulesSystem.cs
Content.Shared/Random/WeightedRandomEntityPrototype.cs
Content.Shared/Random/WeightedRandomFillSolutionPrototype.cs
Content.Shared/Random/WeightedRandomOrePrototype.cs
Content.Shared/Random/WeightedRandomPrototype.cs
Content.Shared/Random/WeightedRandomSpeciesPrototype.cs
Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs
Content.Shared/Research/Prototypes/TechnologyPrototype.cs
Content.Shared/Roles/AntagPrototype.cs
Content.Shared/Roles/DepartmentPrototype.cs
Content.Shared/Roles/JobPrototype.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageBiomeModPrototype.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageDungeonModPrototype.cs
Content.Shared/Salvage/Expeditions/SalvageFactionPrototype.cs
Content.Shared/Silicons/Laws/SiliconLawPrototype.cs
Content.Shared/Silicons/Laws/SiliconLawsetPrototype.cs
Content.Shared/Speech/SpeechSoundsPrototype.cs
Content.Shared/Speech/SpeechVerbPrototype.cs
Content.Shared/SprayPainter/Prototypes/AirlockDepartmentsPrototype.cs
Content.Shared/Spreader/EdgeSpreaderPrototype.cs
Content.Shared/StatusEffect/StatusEffectPrototype.cs
Content.Shared/Store/CurrencyPrototype.cs
Content.Shared/Store/ListingPrototype.cs
Content.Shared/Store/StoreCategoryPrototype.cs
Content.Shared/Store/StorePresetPrototype.cs
Content.Shared/StoryGen/Prototypes/StoryTemplatePrototype.cs
Content.Shared/Thief/Prototypes/ThiefBackpackSetPrototype.cs
Content.Shared/VendingMachines/VendingMachineInventoryPrototype.cs
Content.Shared/Weapons/Ranged/HitscanPrototype.cs
Content.Shared/Weather/WeatherPrototype.cs
Content.Shared/Xenoarchaeology/XenoArtifacts/ArtifactEffectPrototype.cs
Content.Shared/Xenoarchaeology/XenoArtifacts/ArtifactTriggerPrototype.cs

index 034d8a3da972349d8ac691a329e13acb612ac130..bab14f0be8374f047fd112cde0af1fb8b85252b6 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Client.Parallax.Data;
 /// <summary>
 /// Prototype data for a parallax.
 /// </summary>
-[Prototype("parallax")]
+[Prototype]
 public sealed partial class ParallaxPrototype : IPrototype
 {
     /// <inheritdoc/>
index 11984196f1c7ae2744cb37ce107a52522cb50726..f99e7ee0b0e4bd89f436147a235efff2ce69773a 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Server.Announcements;
 /// <summary>
 /// Used for any announcements on the start of a round.
 /// </summary>
-[Prototype("roundAnnouncement")]
+[Prototype]
 public sealed partial class RoundAnnouncementPrototype : IPrototype
 {
     [IdDataField]
index 48a113bb9a2e5704ab17d311ff190c2639b908d9..48e32a3b589681a9de3416306526cdc380051680 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Server.Atmos.Reactions
 {
-    [Prototype("gasReaction")]
+    [Prototype]
     public sealed partial class GasReactionPrototype : IPrototype
     {
         [ViewVariables]
index 1eb22241cdcab009030e979d2cd404e659fb4f68..7c5718b56982e8f4106d437bfb023687b4c654dc 100644 (file)
@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Server.Botany;
 
-[Prototype("seed")]
+[Prototype]
 public sealed partial class SeedPrototype : SeedData, IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index eccf364a2880761acd75a6a32c0400527999c7fc..af119c7b1d5d9b16f6d79e3cd723f417914e8ad5 100644 (file)
@@ -17,7 +17,7 @@ namespace Content.Server.Connection.Whitelist;
 /// Next means the next condition in the list is checked.
 /// If the condition doesn't match, the next condition is checked.
 /// </summary>
-[Prototype("playerConnectionWhitelist")]
+[Prototype]
 public sealed partial class PlayerConnectionWhitelistPrototype : IPrototype
 {
     [IdDataField]
index 4731364ace2a424b074e6bb2019c15f7835fff29..87be9626027ddf6d413a0a720ab28c1549327fa8 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Server.GameTicking.Presets
     /// <summary>
     ///     A round-start setup preset, such as which antagonists to spawn.
     /// </summary>
-    [Prototype("gamePreset")]
+    [Prototype]
     public sealed partial class GamePresetPrototype : IPrototype
     {
         [IdDataField]
index 4370c22b7ff81b5fe2be056d8c6fe991088cfa22..5201fb389a221de3c9f1a131078bfe3ca7086283 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Server.GameTicking.Prototypes;
 /// <summary>
 /// Prototype for a lobby background the game can choose.
 /// </summary>
-[Prototype("lobbyBackground")]
+[Prototype]
 public sealed partial class LobbyBackgroundPrototype : IPrototype
 {
     /// <inheritdoc/>
index e7b0c8326a9341fada8d9e9801ca8c4fa962d4ad..73edb6dd85176386986619cf2d7d6bb250da1ceb 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Server.Ghost.Roles.Raffles;
 /// <summary>
 /// Allows getting a <see cref="IGhostRoleRaffleDecider"/> as prototype.
 /// </summary>
-[Prototype("ghostRoleRaffleDecider")]
+[Prototype]
 public sealed partial class GhostRoleRaffleDeciderPrototype : IPrototype
 {
     /// <inheritdoc />
index 749423402b5ae0ecf423556124e7fe38f5b2c053..758e09ca020dcb24534ee651f8693b342ce40a89 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Server.Holiday
 {
-    [Prototype("holiday")]
+    [Prototype]
     public sealed partial class HolidayPrototype : IPrototype
     {
         [DataField("name")] public string Name { get; private set; } = string.Empty;
index 7f45314b7a47758d125ace9bb0e42ecbf4b21256..b2ba64a50c66f0dd6659200c6f8969d79d73540d 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Server.Maps;
 /// <summary>
 /// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar.
 /// </summary>
-[Prototype("gameMapPool"), PublicAPI]
+[Prototype, PublicAPI]
 public sealed partial class GameMapPoolPrototype : IPrototype
 {
     /// <inheritdoc/>
index c39ca348da0356df77caeb375dc7e6e539149d90..f0f40fe06d8e32f863e04be828ee92a13d3ec7e7 100644 (file)
@@ -14,7 +14,7 @@ namespace Content.Server.Maps;
 /// Forks should not directly edit existing parts of this class.
 /// Make a new partial for your fancy new feature, it'll save you time later.
 /// </remarks>
-[Prototype("gameMap"), PublicAPI]
+[Prototype, PublicAPI]
 [DebuggerDisplay("GameMapPrototype [{ID} - {MapName}]")]
 public sealed partial class GameMapPrototype : IPrototype
 {
index 3116dede9353c50218c374379ca01f794a12a603..526b11bd1a6c003363ae9fb14091c8993ad29f9c 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Server.NPC.Queries.Curves;
 
-[Prototype("utilityCurvePreset")]
+[Prototype]
 public sealed partial class UtilityCurvePresetPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index 76750dbe9b7bd17e76425083391c2db4604584aa..082c605179e13fa2a85fdb0a3c26c9ce79246ba3 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Server.NPC.Queries;
 /// Each query is run in turn to get the final available results.
 /// These results are then run through the considerations.
 /// </summary>
-[Prototype("utilityQuery")]
+[Prototype]
 public sealed partial class UtilityQueryPrototype : IPrototype
 {
     [IdDataField]
index 7ca4faaeca08b34d8329e261a9c34aed37140e40..2df5a9919ff3f543035658a63606b7de3d6578a5 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Server.Wires;
 ///     wires. Once one of these is initialized, it should be stored in the
 ///     WiresSystem as a functional wire set.
 /// </summary>
-[Prototype("wireLayout")]
+[Prototype]
 public sealed partial class WireLayoutPrototype : IPrototype, IInheritingPrototype
 {
     [IdDataField]
index deb39de99e0d64b2c7f9d289a543860482cc2732..98ba2d5b315bdd9d7688d9f0906d307f4c6121c4 100644 (file)
@@ -79,7 +79,7 @@ public class NoiseChannelConfig
     public float Minimum { get; private set; }
 }
 
-[Prototype("noiseChannel")]
+[Prototype]
 public sealed partial class NoiseChannelPrototype : NoiseChannelConfig, IPrototype, IInheritingPrototype
 {
     /// <inheritdoc />
index f669377abbc43798bf04e49527ea8b1c1d361e65..c9107fa2bd810ed6d52daf7c4275506b4950b44e 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Server.Worldgen.Prototypes;
 ///     This is a prototype for controlling overall world generation.
 ///     The components included are applied to the map that world generation is configured on.
 /// </summary>
-[Prototype("worldgenConfig")]
+[Prototype]
 public sealed partial class WorldgenConfigPrototype : IPrototype
 {
     /// <inheritdoc />
index 323fdb91eda547cfe2ada9f4e70475793ffbd76d..ca73aa3dd035c1ddee2bc037c4867476ebcecdf0 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Access;
 ///     Contains a list of access tags that are part of this group.
 ///     Used by <see cref="AccessComponent"/> to avoid boilerplate.
 /// </summary>
-[Prototype("accessGroup")]
+[Prototype]
 public sealed partial class AccessGroupPrototype : IPrototype
 {
     [IdDataField]
index f44ad64228828223986ec243fa8c0c295967ad5b..2a94b263f5fa56d3c43bc89fe8fd97ea9ea77eb2 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Access
     /// <summary>
     ///     Defines a single access level that can be stored on ID cards and checked for.
     /// </summary>
-    [Prototype("accessLevel")]
+    [Prototype]
     public sealed partial class AccessLevelPrototype : IPrototype
     {
         [ViewVariables]
index dd474f424d8b53a9cdda556f82ed4a5e43324ba9..6a2d4078207a20cdb098c49fed90aa83e0d5c14b 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.Atmos.Prototypes
 {
-    [Prototype("gas")]
+    [Prototype]
     public sealed partial class GasPrototype : IPrototype
     {
         [DataField("name")] public string Name { get; set; } = "";
index e98f324a067c1d2eb2209c349dab9a542ad034ef..f5a1d895bfbdd2f6065cd260c35a3a02c587cda0 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Audio;
 /// <summary>
 /// Attaches a rules prototype to sound files to play ambience.
 /// </summary>
-[Prototype("ambientMusic")]
+[Prototype]
 public sealed partial class AmbientMusicPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index 646acaaf6bdd27c3e2862a411679c5ee0e407d9f..45ad6df0e429910b1920d5a098fe66584fa20eb7 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Body.Prototypes;
 
-[Prototype("body")]
+[Prototype]
 public sealed partial class BodyPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 82f4e70ce0ce46b24b6d092aa2d4872de7b5cbb2..f8e05d89c038f708df85933386e59d18cc0be74d 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Body.Prototypes
 {
-    [Prototype("metabolismGroup")]
+    [Prototype]
     public sealed partial class MetabolismGroupPrototype : IPrototype
     {
         [IdDataField]
index 5273ac722b25068f22c5d1c305d7a2dba81f2460..8c932af6773bfb681cbf12df04df6fdf9f923abb 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Body.Prototypes
 {
-    [Prototype("metabolizerType")]
+    [Prototype]
     public sealed partial class MetabolizerTypePrototype : IPrototype
     {
         [IdDataField]
index ba818efb4d32e7e8d580b86b506b4d0d05b3477a..e6fdae4cf1bcb5a02bbe368edc6d1833f88aa5db 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.Chat.Prototypes;
 
-[Prototype("autoEmote")]
+[Prototype]
 public sealed partial class AutoEmotePrototype : IPrototype
 {
     /// <inheritdoc/>
index 7ee958ee6a715e1ad11f246f0effe39c62d42f6e..b209fa7ddb829e0919fe8dc65579277daebe871b 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
 ///     IC emotes (scream, smile, clapping, etc).
 ///     Entities can activate emotes by chat input, radial or code.
 /// </summary>
-[Prototype("emote")]
+[Prototype]
 public sealed partial class EmotePrototype : IPrototype
 {
     [IdDataField]
index 688d46112e02ba16f4b60ef435fbef748ef5e176..73a3ba0bbf806a7ccfb9e63d34a2a37e00aacebf 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
 ///     Sounds collection for each <see cref="EmotePrototype"/>.
 ///     Different entities may use different sounds collections.
 /// </summary>
-[Prototype("emoteSounds"), Serializable, NetSerializable]
+[Prototype, Serializable, NetSerializable]
 public sealed partial class EmoteSoundsPrototype : IPrototype
 {
     [IdDataField]
index 63008c6e08d7727471322595f8bc5ca6a67ec9f5..fbd647d0350971ec9dbe5a14e969bb3ff6cbcf90 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Chat.TypingIndicator;
 /// <summary>
 ///     Prototype to store chat typing indicator visuals.
 /// </summary>
-[Prototype("typingIndicator")]
+[Prototype]
 public sealed partial class TypingIndicatorPrototype : IPrototype
 {
     [IdDataField]
index 13a751b88e688df0f42ee4ef475df9a16c698121..7d1399abd98e060626d5a711332a860c6eeb221c 100644 (file)
@@ -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>))]
index f5dcdf44abc311deead8652b48f4a9720afeac66..639d088d143c4969b35be85cb6a45c972cf6a8d5 100644 (file)
@@ -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/>
index 351aa50b0f3fe8e524e7631277817d0192a3d8fa..92559e48740f1bb0eed186279f18ee050bb9507a 100644 (file)
@@ -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]
index 906c01467cebaec4350b8fbd7f30111b73a942ad..37d9b0decd958f12e1e2e60cb703e16dc362e90e 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Content.Shared.Chemistry.Reaction;
 
-[Prototype("reactiveGroup")]
+[Prototype]
 public sealed partial class ReactiveGroupPrototype : IPrototype
 {
     [IdDataField]
index dba2ba03a3f060fea1a8ece0f3c140ff927c390e..84cdb47494171f9d5ee842016bcf0c4c9773f35e 100644 (file)
@@ -20,7 +20,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Chemistry.Reagent
 {
-    [Prototype("reagent")]
+    [Prototype]
     [DataDefinition]
     public sealed partial class ReagentPrototype : IPrototype, IInheritingPrototype
     {
index b199e64d7e4cb45fc46900e6260cf5bc2d9bc2d9..2e8752d770e30dce57606db5fb6eb98415a9d992 100644 (file)
@@ -29,7 +29,7 @@ public sealed partial class CommsHackerComponent : Component
 /// Generally some kind of mid-round minor antag, though you could make it call in scrubber backflow if you wanted to.
 /// You wouldn't do that, right?
 /// </summary>
-[Prototype("ninjaHackingThreat")]
+[Prototype]
 public sealed partial class NinjaHackingThreatPrototype : IPrototype
 {
     [IdDataField]
index 7ac02371ebcd4f50bccd36b6eb714cc8a4e46ef0..0f77130270cc96a3ca50c0ff3f98f26ebaeea5ec 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
 
 namespace Content.Shared.Construction.Prototypes
 {
-    [Prototype("constructionGraph")]
+    [Prototype]
     public sealed partial class ConstructionGraphPrototype : IPrototype, ISerializationHooks
     {
         private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
index a97b045cd83399c9e1c5105b21123b0f174f3cab..ec5d2cc9da5dd98ffd7ddf38554405b0964fc029 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Construction.Prototypes;
 
-[Prototype("construction")]
+[Prototype]
 public sealed partial class ConstructionPrototype : IPrototype
 {
     [DataField("conditions")] private List<IConstructionCondition> _conditions = new();
index a77bf992c8906cf67198cc02f2f395c222dd2498..836978dd034194ffdb3f0280155450c509be449d 100644 (file)
@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.Prototypes
     ///     and damage groups. Currently this is only used to specify what damage types a <see
     ///     cref="DamageableComponent"/> should support.
     /// </remarks>
-    [Prototype("damageContainer")]
+    [Prototype]
     [Serializable, NetSerializable]
     public sealed partial class DamageContainerPrototype : IPrototype
     {
index 3bd840e9ce7b3fc28a0c065a3934f87e9985a3e0..6df2138cd475d21c7ff945adc5bac839980c85ea 100644 (file)
@@ -11,7 +11,7 @@ namespace Content.Shared.Damage.Prototypes
     ///     These groups can be used to specify supported damage types of a <see cref="DamageContainerPrototype"/>, or
     ///     to change/get/set damage in a <see cref="DamageableComponent"/>.
     /// </remarks>
-    [Prototype("damageGroup", 2)]
+    [Prototype(2)]
     [Serializable, NetSerializable]
     public sealed partial class DamageGroupPrototype : IPrototype
     {
index a50856b04480a1a494ee2539a367168214a4373f..fa94f00065e5d94bb6c2a017c622f7337b7f4275 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Damage.Prototypes
     ///     Done to avoid removing the 'required' tag on the ID and passing around a 'prototype' when we really
     ///     just want normal data to be deserialized.
     /// </remarks>
-    [Prototype("damageModifierSet")]
+    [Prototype]
     public sealed partial class DamageModifierSetPrototype : DamageModifierSet, IPrototype
     {
         [ViewVariables]
index a1ae23ef6768431696448cea44260028ac39f7d0..5afae2368e78ac1c1fa81f40ac8501fdac4fa2db 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Damage.Prototypes
     /// <summary>
     ///     A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
     /// </summary>
-    [Prototype("damageType")]
+    [Prototype]
     public sealed partial class DamageTypePrototype : IPrototype
     {
         [IdDataField]
index 563834b372689dbd6e0e503aaae1e3c749a71a19..4d28412334961df783e4421d355455223038cc75 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Damage.Prototypes;
 /// <summary>
 ///     Prototype for examinable damage messages.
 /// </summary>
-[Prototype("examinableDamage")]
+[Prototype]
 public sealed partial class ExaminableDamagePrototype : IPrototype
 {
     [IdDataField]
index 08ae380bc5dcd1279c1d89f437e2ed4bdd0f7d67..b022be2be49b10a61bd3e123cd22a3fed8771a83 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Content.Shared.Dataset
 {
-    [Prototype("dataset")]
+    [Prototype]
     public sealed partial class DatasetPrototype : IPrototype
     {
         [ViewVariables]
index b2fcb28e71681fedb8fe0df3383c5aa9888da4e2..e32f46d12aa9cdcee0ecccbfabc4d93b5e086be6 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Decals
 {
-    [Prototype("decal")]
+    [Prototype]
     public sealed partial class DecalPrototype : IPrototype, IInheritingPrototype
     {
         [IdDataField] public string ID { get; private set; } = null!;
index e3421dda9dbb291b6bffd89ceae8d51468ce3e03..d01f4d6d2adac13b07e5a9d79b30ae31b60098a5 100644 (file)
@@ -27,13 +27,13 @@ public abstract class DevicePortPrototype
     public string Description = default!;
 }
 
-[Prototype("sinkPort")]
+[Prototype]
 [Serializable, NetSerializable]
 public sealed partial class SinkPortPrototype : DevicePortPrototype, IPrototype
 {
 }
 
-[Prototype("sourcePort")]
+[Prototype]
 [Serializable, NetSerializable]
 public sealed partial class SourcePortPrototype : DevicePortPrototype, IPrototype
 {
index b34d5b67a869b239cd8cc015b0e9a5a07a4faf10..19ccb5e2fe754edeca92e92c683f0e99e91071c5 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.DeviceNetwork;
 /// <summary>
 ///     A named device network frequency. Useful for ensuring entity prototypes can communicate with each other.
 /// </summary>
-[Prototype("deviceFrequency")]
+[Prototype]
 [Serializable, NetSerializable]
 public sealed partial class DeviceFrequencyPrototype : IPrototype
 {
index 241712eff7773b34cbbc6592bae61339670af722..0248e2100c6188cb0feb0a946bb54192ccbad527 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.EntityList
 {
-    [Prototype("entityList")]
+    [Prototype]
     public sealed partial class EntityListPrototype : IPrototype
     {
         [ViewVariables]
index 418a584af5c43ed4218292418aaf33eb6d239d86..0c1f77afdcadd8c7add031d786f72e1cb4441875 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Random;
 
 namespace Content.Shared.EntityList;
 
-[Prototype("entityLootTable")]
+[Prototype]
 public sealed partial class EntityLootTablePrototype : IPrototype
 {
     [IdDataField]
index df2fb18360e0992497b745d8cf55c16d3b3b11a2..192dfee1a190ac751e4d3742db44d91f57bded8d 100644 (file)
@@ -13,7 +13,7 @@ namespace Content.Shared.Explosion;
 ///     entities is evaluated and stored by the explosion system. Adding or removing a prototype would require updating
 ///     that map of airtight entities. This could be done, but is just not yet implemented.
 /// </remarks>
-[Prototype("explosion")]
+[Prototype]
 public sealed partial class ExplosionPrototype : IPrototype
 {
     [IdDataField]
index 6565fcd2125899be233a152e4de0c7c63d9cc635..2c6e7229d7f03071b8e17f47b05783352f1593ac 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Ghost.Roles.Raffles;
 /// <summary>
 /// Allows specifying the settings for a ghost role raffle as a prototype.
 /// </summary>
-[Prototype("ghostRoleRaffleSettings")]
+[Prototype]
 public sealed partial class GhostRoleRaffleSettingsPrototype : IPrototype
 {
     /// <inheritdoc />
index af42672897404d721fee9c56977cf1181213225a..3c14dd5bb941257f1a175c2f1b50d1ac76ce40af 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.GridPreloader.Prototypes;
 /// and allow the GridPreloader system to load them in the middle of the round. This is needed for optimization,
 /// because loading grids in the middle of a round causes the server to lag.
 /// </summary>
-[Prototype("preloadedGrid")]
+[Prototype]
 public sealed partial class PreloadedGridPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index c6079aab08b40c82579b5e2cb01f34098c59faf6..fdbdd50288cb68e25c3dd846e021f93d2b4f91df 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Guidebook;
 
-[Prototype("guideEntry")]
+[Prototype]
 public sealed partial class GuideEntryPrototype : GuideEntry, IPrototype
 {
     public string ID => Id;
index 22fc8a8e7166ea0ffc3c91e1db9b8d30bdf96b2d..17898eb7564f88247d84c0fa4d9ea2d0532959ee 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Content.Shared.HUD
 {
-    [Prototype("hudTheme")]
+    [Prototype]
     public sealed partial class HudThemePrototype : IPrototype, IComparable<HudThemePrototype>
     {
         [DataField("name", required: true)]
index c83eb17fdad005b4a33d97db6a4c3a15f134afed..a5bcca9706b4d1ec42514102a99d2b6417c31a63 100644 (file)
@@ -34,7 +34,7 @@ public sealed partial class MarkingPoints
     }
 }
 
-[Prototype("markingPoints")]
+[Prototype]
 public sealed partial class MarkingPointsPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index dfb594db5f94bbfd03339761b74db9d2023d1144..ead061dd3952414d4ac0dfedaf07712a18044283 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Humanoid.Markings
 {
-    [Prototype("marking")]
+    [Prototype]
     public sealed partial class MarkingPrototype : IPrototype
     {
         [IdDataField]
index bd023e2d21fe5c86f4a95df80d51a5a2829e2855..6edb2aed0cab46d6199cea883dfca6153b95d519 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Humanoid.Prototypes;
 
-[Prototype("humanoidProfile")]
+[Prototype]
 public sealed partial class HumanoidProfilePrototype : IPrototype
 {
     [IdDataField]
index add8b6389ea95416bd888651a021a35a3b335a9a..e31289db1e6c735a620ea6e05ff311b45e0d0a35 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Humanoid.Prototypes;
 /// <summary>
 ///     This is what is used to change a humanoid spawned by RandomHumanoidSystem in Content.Server.
 /// </summary>
-[Prototype("randomHumanoidSettings")]
+[Prototype]
 public sealed partial class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index c1c634a72d27d017fa5ba3e3109055806c70c7f9..b9c7bcd51137b844dac8a15717e2e12c3196e8c7 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.Humanoid.Prototypes;
 
-[Prototype("species")]
+[Prototype]
 public sealed partial class SpeciesPrototype : IPrototype
 {
     /// <summary>
index aafb3139d2a048bc50dfe7949da9a7b7be05004c..10874ac10986852e7e36695948542ebef7a6f383 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Inventory;
 
-[Prototype("inventoryTemplate")]
+[Prototype]
 public sealed partial class InventoryTemplatePrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index 2a0ccd29d27dd30fff180472b8851f72d874dc2e..800428ad6c9a63174818692c1674e680403490c5 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Item;
 /// <summary>
 /// This is a prototype for a category of an item's size.
 /// </summary>
-[Prototype("itemSize")]
+[Prototype]
 public sealed partial class ItemSizePrototype : IPrototype, IComparable<ItemSizePrototype>
 {
     /// <inheritdoc/>
index d1ef82539beed097bbbd98aa1c3615c431d1091f..7eb17beada3f6e7222254949cce508d24e865b3c 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Materials
     ///     Materials are read-only storage for the properties of specific materials.
     ///     Properties should be intrinsic (or at least as much is necessary for game purposes).
     /// </summary>
-    [Prototype("material")]
+    [Prototype]
     public sealed partial class MaterialPrototype : IPrototype, IInheritingPrototype
     {
         [ViewVariables]
index 1dcdd751c88f2e0940658e573fb53438dea976e8..e9c0a70155ea06bc5852ff2b5ed14851b2fa1fa3 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.NPC.Prototypes;
 /// <summary>
 /// Contains data about this faction's relations with other factions.
 /// </summary>
-[Prototype("npcFaction")]
+[Prototype]
 public sealed partial class NpcFactionPrototype : IPrototype
 {
     [ViewVariables]
index 25c5616bad176db22148b0b108a199eca8a59954..e3dceca4895420379073fcefe7816818ed33da06 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Content.Shared.NameIdentifier;
 
-[Prototype("nameIdentifierGroup")]
+[Prototype]
 public sealed partial class NameIdentifierGroupPrototype : IPrototype
 {
     [IdDataField]
index cb77ae72711f08bf6558c0f524f82a7b8c9764ae..5d70af8babb8f969318e781f8a034103a26f227a 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Nutrition;
 
-[Prototype("flavor")]
+[Prototype]
 public sealed partial class FlavorPrototype : IPrototype
 {
     [IdDataField]
index 931d8a35327a994fb5ba696436ccd1072952b412..f21dfefcead36271128eee6d92577d23c2ffbbcd 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Nutrition.Prototypes;
 /// <summary>
 /// Unique data storage block for different FoodSequence layers
 /// </summary>
-[Prototype("foodSequenceElement")]
+[Prototype]
 public sealed partial class FoodSequenceElementPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index bc2af0eb092a627999351d0d091f987ec6538a08..4be0a71f977b495e64c02aef740e9166246762cd 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Objectives;
 /// <summary>
 /// General data about a group of items, such as icon, description, name. Used for Steal objective
 /// </summary>
-[Prototype("stealTargetGroup")]
+[Prototype]
 public sealed partial class StealTargetGroupPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 691d0b81cce26169ec7e41aee586e8cb94c307a4..437ead63a7c8d6e48e01d9789553fd0096ae7002 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Parallax.Biomes;
 /// <summary>
 /// A preset group of biome layers to be used for a <see cref="BiomeComponent"/>
 /// </summary>
-[Prototype("biomeTemplate")]
+[Prototype]
 public sealed partial class BiomeTemplatePrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index ebbbb3123c443960a845d3bb3ae10150a70f3110..fbc3a04eb4337bb4c7942fd85e2686c3e22e5dcf 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Parallax.Biomes.Markers;
 /// <summary>
 /// Spawns entities inside of the specified area with the minimum specified radius.
 /// </summary>
-[Prototype("biomeMarkerLayer")]
+[Prototype]
 public sealed partial class BiomeMarkerLayerPrototype : IBiomeMarkerLayer
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 12d79b5a1d7f1940b905f9f514d7a2ce6c1328c1..5ffee9ffe527e137d81daabaa9dad8b96fa7726f 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Players.PlayTimeTracking;
 /// <summary>
 /// Given to a role to specify its ID for role-timer tracking purposes. That's it.
 /// </summary>
-[Prototype("playTimeTracker")]
+[Prototype]
 public sealed partial class PlayTimeTrackerPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 946d218cbce516bb37dac5259e5f89803a898dd4..990f1b74a2ee283780b8d85873fec29a66284bc6 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Preferences.Loadouts;
 /// <summary>
 /// Corresponds to a set of loadouts for a particular slot.
 /// </summary>
-[Prototype("loadoutGroup")]
+[Prototype]
 public sealed partial class LoadoutGroupPrototype : IPrototype
 {
     [IdDataField]
index e57c4c1d2b77c02a3e65656fc8a777377b1c051c..ad56104a6ce36c96d2acb5b448190e6ae80fe14a 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Procedural;
 
-[Prototype("dungeonPreset")]
+[Prototype]
 public sealed partial class DungeonPresetPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 8cd129d30a4985a263317ee9c84e24f75d263b4a..de83b88b763653e379550d2d0ebfe64d37265459 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Procedural;
 
-[Prototype("dungeonRoomPack")]
+[Prototype]
 public sealed partial class DungeonRoomPackPrototype : IPrototype
 {
     [IdDataField]
index 6636ac34b9a16d33baa0ff51c8a5d85619825dc0..c32d43f6e5645faaa3bc2ddbe92fce81c3966452 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Procedural;
 
-[Prototype("dungeonRoom")]
+[Prototype]
 public sealed partial class DungeonRoomPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index 8189066a4fee42ee36e2ca94bb3e1afbd31cb3d4..331c3fa7da3d12efd0dcaf61659cf32dbdb1bba7 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Procedural.Loot;
 /// <summary>
 /// Spawned inside of a salvage mission.
 /// </summary>
-[Prototype("salvageLoot")]
+[Prototype]
 public sealed partial class SalvageLootPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 220bb68066df7d28e7035280b3900f724c54a0d6..f78a953ced68aec71691eedadf121c747f60100a 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Procedural;
 
-[Prototype("salvageDifficulty")]
+[Prototype]
 public sealed partial class SalvageDifficultyPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index ede82d8e04d84b529ff47e20dd141f9b846a7e34..2fcb6c5ccb4976733c485893e7f51e20f9e07740 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Prototypes;
 
-[Prototype("navMapBlip")]
+[Prototype]
 public sealed partial class NavMapBlipPrototype : IPrototype
 {
     [ViewVariables]
index 500dfbd5f69543feabc0ad05f88ec3fbca906232..4787a54c0de4e7ef85d823140aa935cab0489085 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Radio;
 
-[Prototype("radioChannel")]
+[Prototype]
 public sealed partial class RadioChannelPrototype : IPrototype
 {
     /// <summary>
index 23a363e92eb43757481c0a2803b9814d4b15488d..218b4398b18db06a42c68d5dc3a4bd6df5a1c181 100644 (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;
index 01592ddf8ce0135e42e75c9a9570394021119cc4..a6b28eef43b39dbdfab5844cdfd4a3beecf807f0 100644 (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]
index c08ac27b9e004cbb7196b7e5798fb93ce62d224a..30c0a4b4c95936a9a029b86b56c831ed8a960e2d 100644 (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!;
index 7cd8bba514256ecedc60d968b9b8e26240543d6e..6c85d42a2b385810f167c3fb3402d8f10596d9c2 100644 (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]
index 1ef5df76ba5222c437be4ef07a23163f019c828d..e7f31bad12e0b4f8135e7509fb1dae90aff46689 100644 (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]
index 5d805847d3c1d90244c4f709a8c9a23cec789d90..a248927c83efb169d9d2e6c16b3f92fcef24c994 100644 (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]
index b48d8256b7310a70b99ae05fbf46feb917bc38b0..06245927de0dd07087eed835be03c1c7a88dfe27 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Research.Prototypes;
 /// This is a prototype for a research discipline, a category
 /// that governs how <see cref="TechnologyPrototype"/>s are unlocked.
 /// </summary>
-[Prototype("techDiscipline")]
+[Prototype]
 public sealed partial class TechDisciplinePrototype : IPrototype
 {
     /// <inheritdoc/>
index 93b30772b592f9e4e8e7d2c5dc0ebf1f288891c9..3e75969ccabacba3f977ada2cfc53c411f09e186 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Research.Prototypes;
 /// <summary>
 /// This is a prototype for a technology that can be unlocked.
 /// </summary>
-[Prototype("technology")]
+[Prototype]
 public sealed partial class TechnologyPrototype : IPrototype
 {
     /// <inheritdoc/>
index 3cb81d4f9c564d72303968cd466094ea551e824b..3f5b2a1bd60181f45367f35568e7b219eef61677 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Roles;
 /// <summary>
 ///     Describes information for a single antag.
 /// </summary>
-[Prototype("antag")]
+[Prototype]
 [Serializable, NetSerializable]
 public sealed partial class AntagPrototype : IPrototype
 {
index 20710ec11accd6e5982dc8051132967f96dd7d0b..e7e9328b8f89778e0caa5d2d71423a68af10d207 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Roles;
 
-[Prototype("department")]
+[Prototype]
 public sealed partial class DepartmentPrototype : IPrototype
 {
     [IdDataField]
index 2a814f21a1ee63442896ae3a884e016d8396f13a..54e5c1d525c8d96983f518f0ad626e64b4833e3a 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Shared.Roles
     /// <summary>
     ///     Describes information for a single job on the station.
     /// </summary>
-    [Prototype("job")]
+    [Prototype]
     public sealed partial class JobPrototype : IPrototype
     {
         [ViewVariables]
index 908d5830007470697408731f6ff4f63f52beeccd..e84223ed1feb364df6cad06810ff185b83cdbc2d 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
 /// <summary>
 /// Affects the biome to be used for salvage.
 /// </summary>
-[Prototype("salvageBiomeMod")]
+[Prototype]
 public sealed partial class SalvageBiomeModPrototype : IPrototype, ISalvageMod
 {
     [IdDataField] public string ID { get; private set; } = default!;
index f69ad1969ae269e92649060a673567308653aea9..c8fc22c2afd5af14a086fe142305766b0c994596 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.Salvage.Expeditions.Modifiers;
 
-[Prototype("salvageDungeonMod")]
+[Prototype]
 public sealed partial class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
 {
     [IdDataField] public string ID { get; private set; } = default!;
index b41784211066eb22dad0f16f0ba2e753508db81c..52d02927691fcfe36599815eac69f0c904461d6d 100644 (file)
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Salvage.Expeditions;
 
-[Prototype("salvageFaction")]
+[Prototype]
 public sealed partial class SalvageFactionPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index 5924c95cdc1c09c9dc79343263bb265e368187f5..434f80e16e6f7ab7f519e7483015ccf65712da63 100644 (file)
@@ -77,7 +77,7 @@ public partial class SiliconLaw : IComparable<SiliconLaw>, IEquatable<SiliconLaw
 /// <summary>
 /// This is a prototype for a law governing the behavior of silicons.
 /// </summary>
-[Prototype("siliconLaw")]
+[Prototype]
 [Serializable, NetSerializable]
 public sealed partial class SiliconLawPrototype : SiliconLaw, IPrototype
 {
index 7f1edd2dd1c682a38464d2ff84fdac5e95a636b3..49c618ef8cd7e4203272338fd72e771481758692 100644 (file)
@@ -61,7 +61,7 @@ public sealed partial class SiliconLawset
 /// This is a prototype for a <see cref="SiliconLawPrototype"/> list.
 /// Cannot be used directly since it is a list of prototype ids rather than List<Siliconlaw>.
 /// </summary>
-[Prototype("siliconLawset"), Serializable, NetSerializable]
+[Prototype, Serializable, NetSerializable]
 public sealed partial class SiliconLawsetPrototype : IPrototype
 {
     /// <inheritdoc/>
index 41cf0f8807e280c54282da5e417e1e2254de316e..2a5e4172fdc1a7c0d3c1a0adc9f228dbd3a7b256 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Speech
 {
-    [Prototype("speechSounds")]
+    [Prototype]
     public sealed partial class SpeechSoundsPrototype : IPrototype
     {
         [ViewVariables]
index 6cce52897713d7445ab54de42b09f66ebb364752..6400abfe5e09799393ab5cc3b27184d2906689f2 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Speech;
 ///     Handles replacing speech verbs and other conditional chat modifications like bolding or font type depending
 ///     on punctuation or by directly overriding the prototype.
 /// </summary>
-[Prototype("speechVerb")]
+[Prototype]
 public sealed partial class SpeechVerbPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index b61aa037cc93d861fbc80a4a209fbb5c58fbb7cd..8f98a1a3c7932f9f3d3688a357e72e647bff6fdd 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.SprayPainter.Prototypes;
 /// <summary>
 /// Maps airlock style names to department ids.
 /// </summary>
-[Prototype("airlockDepartments")]
+[Prototype]
 public sealed partial class AirlockDepartmentsPrototype : IPrototype
 {
     [IdDataField]
index b6570a0fc8d3f010272fdfcee5738583a3f212f4..177b69bd44db4da42d4a42a12ecaebe23d2d2b35 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Spreader;
 /// <summary>
 /// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
 /// </summary>
-[Prototype("edgeSpreader")]
+[Prototype]
 public sealed partial class EdgeSpreaderPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = string.Empty;
index 8b1f84e4d81a07ece0e7b6cc9fa7891b790e1b3b..f325103d0a9952f162b96ccfde7bafd7f40acee1 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 
 namespace Content.Shared.StatusEffect
 {
-    [Prototype("statusEffect")]
+    [Prototype]
     public sealed partial class StatusEffectPrototype : IPrototype
     {
         [IdDataField]
index 5dafbfd91fb1c47ae07eb97792e53f13d24fe983..03cc59d2df0b9bfe064be5864ca08371ac62fb44 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Shared.Store;
 ///     Mainly used for antags, such as traitors, nukies, and revenants
 ///     This is separate to the cargo ordering system.
 /// </summary>
-[Prototype("currency")]
+[Prototype]
 [DataDefinition, Serializable, NetSerializable]
 public sealed partial class CurrencyPrototype : IPrototype
 {
index e2339b72c67e25650db935137eb18179fd9cb3c7..b68c5ffa0dc857c5472e2eb6041a2836d104ee12 100644 (file)
@@ -241,7 +241,7 @@ public partial class ListingData : IEquatable<ListingData>
 /// <summary>
 ///     Defines a set item listing that is available in a store
 /// </summary>
-[Prototype("listing")]
+[Prototype]
 [Serializable, NetSerializable]
 [DataDefinition]
 public sealed partial class ListingPrototype : ListingData, IPrototype
@@ -422,7 +422,7 @@ public sealed partial class ListingDataWithCostModifiers : ListingData
 ///     Defines set of rules for category of discounts -
 ///     how <see cref="StoreDiscountComponent"/> will be filled by respective system.
 /// </summary>
-[Prototype("discountCategory")]
+[Prototype]
 [DataDefinition, Serializable, NetSerializable]
 public sealed partial class DiscountCategoryPrototype : IPrototype
 {
index c13eaf50626e50e3482a6bf2be9de5091f2d1cfb..5713ecd98abb459bc6ffd270811ccff3ad8da003 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Store;
 /// <summary>
 ///     Used to define different categories for a store.
 /// </summary>
-[Prototype("storeCategory")]
+[Prototype]
 [Serializable, NetSerializable, DataDefinition]
 public sealed partial class StoreCategoryPrototype : IPrototype
 {
index ce7f0312b60691ac5dedef809c35b9221d1cfbab..fb7da60d70b84f1d31ec48060f0605ff7a69fa77 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Store;
 /// <summary>
 ///     Specifies generic info for initializing a store.
 /// </summary>
-[Prototype("storePreset")]
+[Prototype]
 [DataDefinition]
 public sealed partial class StorePresetPrototype : IPrototype
 {
index fbae725c1018b4e81c98beb2163b4655f55c1f68..38dab902e24456210a698c76fa2a39d5998fb68b 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.StoryGen;
 /// <summary>
 /// Prototype for a story template that can be filled in with words chosen from <see cref="DatasetPrototype"/>s.
 /// </summary>
-[Serializable, Prototype("storyTemplate")]
+[Serializable, Prototype]
 public sealed partial class StoryTemplatePrototype : IPrototype
 {
     /// <summary>
index 571db09ebea3ddb020f3323b9ee10efb79c93fbc..d5a9a371d2de307ab69ff22449ca98d84f125c02 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Thief;
 /// <summary>
 /// A prototype that defines a set of items and visuals in a specific starter set for the antagonist thief
 /// </summary>
-[Prototype("thiefBackpackSet")]
+[Prototype]
 public sealed partial class ThiefBackpackSetPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index b8f1e2b13f894bb07521e2ce0a4fcb49cb36459c..b39e29aeadaf512716efcf1291a83fff03d12ad8 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 
 namespace Content.Shared.VendingMachines
 {
-    [Serializable, NetSerializable, Prototype("vendingMachineInventory")]
+    [Serializable, NetSerializable, Prototype]
     public sealed partial class VendingMachineInventoryPrototype : IPrototype
     {
         [ViewVariables]
index a5063e3ab5b656099a6a3dfc27d37462561852c4..3e0c15b879ad3258877e31fd21ff8e769d82cb64 100644 (file)
@@ -7,7 +7,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Weapons.Ranged;
 
-[Prototype("hitscan")]
+[Prototype]
 public sealed partial class HitscanPrototype : IPrototype, IShootable
 {
     [ViewVariables]
index f6959a5336966277df47b359b71872a7db97e7ec..246e929dcef93f13fbcfea516ef4780bc713d6e6 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
 
 namespace Content.Shared.Weather;
 
-[Prototype("weather")]
+[Prototype]
 public sealed partial class WeatherPrototype : IPrototype
 {
     [IdDataField] public string ID { get; private set; } = default!;
index f3c3e6d4701c7c92e2b851a15322a2b5efe04ff9..4ba4d0d43a4ccf0bf21038cbea8220020a684ce0 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Xenoarchaeology.XenoArtifacts;
 /// <summary>
 /// This is a prototype for...
 /// </summary>
-[Prototype("artifactEffect")]
+[Prototype]
 [DataDefinition]
 public sealed partial class ArtifactEffectPrototype : IPrototype
 {
index 3f831593d26fe1c5839b831e38645eeddc4b0e6c..53ade6a5c651335badd4b1809af8dd34d3d69567 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Xenoarchaeology.XenoArtifacts;
 /// <summary>
 /// This is a prototype for...
 /// </summary>
-[Prototype("artifactTrigger")]
+[Prototype]
 [DataDefinition]
 public sealed partial class ArtifactTriggerPrototype : IPrototype
 {