Makes more fields VV (#2026)
* Some more VV * Fixed build & some more gun vvs * Added VendingMachine Inventory & Items
This commit is contained in:
@@ -40,9 +40,9 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
private string _useSound;
|
||||
[ViewVariables]
|
||||
private bool _defaultToOpened;
|
||||
[ViewVariables]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public ReagentUnit TransferAmount { get; private set; } = ReagentUnit.New(2);
|
||||
[ViewVariables]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Opened { get; protected set; }
|
||||
[ViewVariables]
|
||||
public bool Empty => _contents.CurrentVolume.Float() <= 0;
|
||||
|
||||
Reference in New Issue
Block a user