Commit (#1541)
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
"EmergencyClosetFill",
|
"EmergencyClosetFill",
|
||||||
"Tool",
|
"Tool",
|
||||||
"TilePrying",
|
"TilePrying",
|
||||||
"RandomToolColor",
|
"RandomSpriteColor",
|
||||||
"ConditionalSpawner",
|
"ConditionalSpawner",
|
||||||
"PottedPlantHide",
|
"PottedPlantHide",
|
||||||
"SecureEntityStorage",
|
"SecureEntityStorage",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
using Robust.Server.Interfaces.GameObjects;
|
using Robust.Server.Interfaces.GameObjects;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
@@ -11,9 +11,9 @@ using Robust.Shared.Serialization;
|
|||||||
namespace Content.Server.GameObjects.Components
|
namespace Content.Server.GameObjects.Components
|
||||||
{
|
{
|
||||||
[RegisterComponent]
|
[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 _selectedColor;
|
||||||
private string _baseState;
|
private string _baseState;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
meta:
|
meta:
|
||||||
format: 2
|
format: 2
|
||||||
name: DemoStation
|
name: DemoStation
|
||||||
author: Space-Wizards
|
author: Space-Wizards
|
||||||
@@ -28670,7 +28670,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#FFA500FF'
|
yellow: '#FFA500FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3017
|
- uid: 3017
|
||||||
type: Wrench
|
type: Wrench
|
||||||
components:
|
components:
|
||||||
@@ -28700,7 +28700,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#D58C18FF'
|
yellow: '#D58C18FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3021
|
- uid: 3021
|
||||||
type: UtilityBeltClothing
|
type: UtilityBeltClothing
|
||||||
components:
|
components:
|
||||||
@@ -28747,7 +28747,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#FFA500FF'
|
yellow: '#FFA500FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3026
|
- uid: 3026
|
||||||
type: Welder
|
type: Welder
|
||||||
components:
|
components:
|
||||||
@@ -28772,7 +28772,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#D58C18FF'
|
yellow: '#D58C18FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3029
|
- uid: 3029
|
||||||
type: GlovesYellow
|
type: GlovesYellow
|
||||||
components:
|
components:
|
||||||
@@ -28797,7 +28797,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#FFA500FF'
|
yellow: '#FFA500FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3032
|
- uid: 3032
|
||||||
type: Crowbar
|
type: Crowbar
|
||||||
components:
|
components:
|
||||||
@@ -28817,7 +28817,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#D58C18FF'
|
yellow: '#D58C18FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3034
|
- uid: 3034
|
||||||
type: CableStack
|
type: CableStack
|
||||||
components:
|
components:
|
||||||
@@ -28865,7 +28865,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#FFA500FF'
|
yellow: '#FFA500FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3040
|
- uid: 3040
|
||||||
type: Wrench
|
type: Wrench
|
||||||
components:
|
components:
|
||||||
@@ -28895,7 +28895,7 @@ entities:
|
|||||||
green: '#0E7F1BFF'
|
green: '#0E7F1BFF'
|
||||||
cyan: '#18A2D5FF'
|
cyan: '#18A2D5FF'
|
||||||
yellow: '#D58C18FF'
|
yellow: '#D58C18FF'
|
||||||
type: RandomToolColor
|
type: RandomSpriteColor
|
||||||
- uid: 3044
|
- uid: 3044
|
||||||
type: BreathMaskClothing
|
type: BreathMaskClothing
|
||||||
components:
|
components:
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
qualities:
|
qualities:
|
||||||
- Cutting
|
- Cutting
|
||||||
useSound: /Audio/Items/wirecutter.ogg
|
useSound: /Audio/Items/wirecutter.ogg
|
||||||
- type: RandomToolColor
|
- type: RandomSpriteColor
|
||||||
state: cutters
|
state: cutters
|
||||||
colors:
|
colors:
|
||||||
blue: "#1861d5"
|
blue: "#1861d5"
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
qualities:
|
qualities:
|
||||||
- Screwing
|
- Screwing
|
||||||
useSoundCollection: Screwdriver
|
useSoundCollection: Screwdriver
|
||||||
- type: RandomToolColor
|
- type: RandomSpriteColor
|
||||||
state: screwdriver
|
state: screwdriver
|
||||||
colors:
|
colors:
|
||||||
blue: "#1861d5"
|
blue: "#1861d5"
|
||||||
|
|||||||
Reference in New Issue
Block a user