More borg tweaks (#19143)
* borg tweaks but i'm gonna go code fun stuff first * werkin' on it * a ton of tweaks * fuck everyone and then myself
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Content.Shared.Stacks
|
||||
[DataField("lingering"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Lingering;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("throwIndividually"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool ThrowIndividually { get; set; } = false;
|
||||
|
||||
[ViewVariables]
|
||||
@@ -84,12 +84,15 @@ namespace Content.Shared.Stacks
|
||||
public sealed class StackComponentState : ComponentState
|
||||
{
|
||||
public int Count { get; }
|
||||
public int MaxCount { get; }
|
||||
public int? MaxCount { get; }
|
||||
|
||||
public StackComponentState(int count, int maxCount)
|
||||
public bool Lingering;
|
||||
|
||||
public StackComponentState(int count, int? maxCount, bool lingering)
|
||||
{
|
||||
Count = count;
|
||||
MaxCount = maxCount;
|
||||
Lingering = lingering;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user