* loadout hiding
* department of redundancy department
if (!protoManager.TryIndex(group, out var groupProto))
continue;
+ if (groupProto.Hidden)
+ continue;
+
var container = new LoadoutGroupContainer(profile, loadout, protoManager.Index(group), session, collection);
LoadoutGroupsContainer.AddTab(container, Loc.GetString(groupProto.Name));
_groups.Add(container);
[DataField]
public int MaxLimit = 1;
+ /// <summary>
+ /// Hides the loadout group from the player.
+ /// </summary>
+ [DataField]
+ public bool Hidden;
+
[DataField(required: true)]
public List<ProtoId<LoadoutPrototype>> Loadouts = new();
}