26 lines
684 B
C#
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;
|
|
}
|
|
}
|