diff --git a/Content.Client/IgnoredComponents.cs b/Content.Client/IgnoredComponents.cs index d6afdbfc3c..919667338d 100644 --- a/Content.Client/IgnoredComponents.cs +++ b/Content.Client/IgnoredComponents.cs @@ -103,7 +103,7 @@ "EmergencyClosetFill", "Tool", "TilePrying", - "RandomToolColor", + "RandomSpriteColor", "ConditionalSpawner", "PottedPlantHide", "SecureEntityStorage", diff --git a/Content.Server/GameObjects/Components/RandomToolColorComponent.cs b/Content.Server/GameObjects/Components/RandomSpriteColorComponent.cs similarity index 90% rename from Content.Server/GameObjects/Components/RandomToolColorComponent.cs rename to Content.Server/GameObjects/Components/RandomSpriteColorComponent.cs index ff761ea4bd..1f59a971c0 100644 --- a/Content.Server/GameObjects/Components/RandomToolColorComponent.cs +++ b/Content.Server/GameObjects/Components/RandomSpriteColorComponent.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using Robust.Server.GameObjects; using Robust.Server.Interfaces.GameObjects; using Robust.Shared.GameObjects; @@ -11,9 +11,9 @@ using Robust.Shared.Serialization; namespace Content.Server.GameObjects.Components { [RegisterComponent] - public class RandomToolColorComponent : Component, IMapInit + public class RandomSpriteColorComponent : Component, IMapInit { - public override string Name => "RandomToolColor"; + public override string Name => "RandomSpriteColor"; private string _selectedColor; private string _baseState; diff --git a/Resources/Maps/saltern.yml b/Resources/Maps/saltern.yml index 405b34af97..57dd0128ad 100644 --- a/Resources/Maps/saltern.yml +++ b/Resources/Maps/saltern.yml @@ -1,4 +1,4 @@ -meta: +meta: format: 2 name: DemoStation author: Space-Wizards @@ -28670,7 +28670,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#FFA500FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3017 type: Wrench components: @@ -28700,7 +28700,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#D58C18FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3021 type: UtilityBeltClothing components: @@ -28747,7 +28747,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#FFA500FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3026 type: Welder components: @@ -28772,7 +28772,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#D58C18FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3029 type: GlovesYellow components: @@ -28797,7 +28797,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#FFA500FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3032 type: Crowbar components: @@ -28817,7 +28817,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#D58C18FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3034 type: CableStack components: @@ -28865,7 +28865,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#FFA500FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3040 type: Wrench components: @@ -28895,7 +28895,7 @@ entities: green: '#0E7F1BFF' cyan: '#18A2D5FF' yellow: '#D58C18FF' - type: RandomToolColor + type: RandomSpriteColor - uid: 3044 type: BreathMaskClothing components: diff --git a/Resources/Prototypes/Entities/Objects/Tools/tools.yml b/Resources/Prototypes/Entities/Objects/Tools/tools.yml index f56c6f2264..b3ef7a4d07 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/tools.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/tools.yml @@ -18,7 +18,7 @@ qualities: - Cutting useSound: /Audio/Items/wirecutter.ogg - - type: RandomToolColor + - type: RandomSpriteColor state: cutters colors: blue: "#1861d5" @@ -55,7 +55,7 @@ qualities: - Screwing useSoundCollection: Screwdriver - - type: RandomToolColor + - type: RandomSpriteColor state: screwdriver colors: blue: "#1861d5"