This commit is contained in:
Swept
2020-07-30 01:22:26 +00:00
committed by GitHub
parent a772b505ac
commit 1ec90599fa
4 changed files with 15 additions and 15 deletions

View File

@@ -103,7 +103,7 @@
"EmergencyClosetFill",
"Tool",
"TilePrying",
"RandomToolColor",
"RandomSpriteColor",
"ConditionalSpawner",
"PottedPlantHide",
"SecureEntityStorage",

View File

@@ -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;

View File

@@ -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:

View File

@@ -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"