Files
tbd-station-14/Content.Server/Clothing/Components/ClothingComponent.cs
2022-03-13 02:05:11 +11:00

26 lines
684 B
C#

using Content.Shared.Item;
using Robust.Shared.GameStates;
namespace Content.Server.Clothing.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedItemComponent))]
[Virtual]
public class ItemComponent : SharedItemComponent{}
[RegisterComponent]
[NetworkedComponent]
[ComponentReference(typeof(SharedItemComponent))]
public sealed class ClothingComponent : ItemComponent
{
[DataField("HeatResistance")]
private int _heatResistance = 323;
[DataField("quickEquip")]
public bool QuickEquip = true;
[ViewVariables(VVAccess.ReadWrite)]
public int HeatResistance => _heatResistance;
}
}