forked from SpaceStation14-Shenanigans/Monolith
Makes more fields VV (#2026)
* Some more VV * Fixed build & some more gun vvs * Added VendingMachine Inventory & Items
This commit is contained in:
@@ -9,6 +9,7 @@ using Content.Shared.Interfaces.GameObjects.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using static Content.Shared.GameObjects.Components.Inventory.EquipmentSlotDefines;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Items.Clothing
|
||||
@@ -22,13 +23,16 @@ namespace Content.Server.GameObjects.Components.Items.Clothing
|
||||
public override string Name => "Clothing";
|
||||
public override uint? NetID => ContentNetIDs.CLOTHING;
|
||||
|
||||
[ViewVariables]
|
||||
public SlotFlags SlotFlags = SlotFlags.PREVENTEQUIP; //Different from None, NONE allows equips if no slot flags are required
|
||||
|
||||
private bool _quickEquipEnabled = true;
|
||||
private int _heatResistance;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public int HeatResistance => _heatResistance;
|
||||
|
||||
private string _clothingEquippedPrefix;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string ClothingEquippedPrefix
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user