randomize iconSmoothing (#28158)
* randomize iconSmoothing * Revert "randomize iconSmoothing" This reverts commit 094356f975737c0af24ce39d849aec7852b9af6e. * try 2 * trying work with client-server communication * still dont work * Tayrtahn good suggestion * remove outdated code * Fix! * move data to Appearance * Update RandomIconSmoothComponent.cs
This commit is contained in:
16
Content.Shared/IconSmoothing/RandomIconSmoothComponent.cs
Normal file
16
Content.Shared/IconSmoothing/RandomIconSmoothComponent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.IconSmoothing;
|
||||
|
||||
/// <summary>
|
||||
/// Allow randomize StateBase of IconSmoothComponent for random visual variation
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class RandomIconSmoothComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// StateBase will be randomly selected from this list. Allows to randomize the visual.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public List<string> RandomStates = new();
|
||||
}
|
||||
Reference in New Issue
Block a user