Adding sorting to chem master (#34763)
* Adding sorting to chem master * Chem Master can now sort based on following categories - Alphabetical - Quantity - Time Added to Machine * Sorting is disabled by default and persist in the machine for everyone * Removed some pointless code from Chem Master's UI * Changed None and Time Added's text to reflect what they do better * Minor adjustments to the code requested by maintainers
This commit is contained in:
@@ -18,6 +18,9 @@ namespace Content.Server.Chemistry.Components
|
||||
[DataField("mode"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public ChemMasterMode Mode = ChemMasterMode.Transfer;
|
||||
|
||||
[DataField]
|
||||
public ChemMasterSortingType SortingType = ChemMasterSortingType.None;
|
||||
|
||||
[DataField("pillDosageLimit", required: true), ViewVariables(VVAccess.ReadWrite)]
|
||||
public uint PillDosageLimit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user