using System.Diagnostics.CodeAnalysis;
using System.Linq;
-using System.Numerics;
using Content.Client.DisplacementMap;
using Content.Client.Inventory;
using Content.Shared.Clothing;
using Content.Shared.Clothing.Components;
using Content.Shared.Clothing.EntitySystems;
-using Content.Shared.DisplacementMap;
using Content.Shared.Humanoid;
using Content.Shared.Inventory;
using Content.Shared.Inventory.Events;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.ResourceManagement;
-using Robust.Shared.Serialization.Manager;
using Robust.Shared.Serialization.TypeSerializers.Implementations;
using Robust.Shared.Utility;
using static Robust.Client.GameObjects.SpriteComponent;
var layer = new PrototypeLayerData();
layer.RsiPath = rsi.Path.ToString();
layer.State = state;
+ layer.Scale = clothing.Scale;
layers = new() { layer };
return true;
using System.Diagnostics.CodeAnalysis;
+using System.Numerics;
using Content.Shared.Clothing.EntitySystems;
using Content.Shared.DoAfter;
using Content.Shared.Inventory;
/// </summary>
[DataField]
public TimeSpan StripDelay = TimeSpan.Zero;
+
+ /// <summary>
+ /// A scale applied to all layers.
+ /// </summary>
+ ///
+ [DataField]
+ public Vector2 Scale = Vector2.One;
}
public enum ClothingMask : byte