From 9954764c588d37f71f2598fcae7b7fb1eed696d5 Mon Sep 17 00:00:00 2001 From: SweptWasTaken Date: Fri, 21 May 2021 11:56:15 -0700 Subject: [PATCH] Adds a light code comment to StorageFillComponent.cs --- .../Items/Storage/StorageFillComponent.cs | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Items/Storage/StorageFillComponent.cs b/Content.Server/GameObjects/Components/Items/Storage/StorageFillComponent.cs index 2a160c575a..4a7c8b037e 100644 --- a/Content.Server/GameObjects/Components/Items/Storage/StorageFillComponent.cs +++ b/Content.Server/GameObjects/Components/Items/Storage/StorageFillComponent.cs @@ -66,7 +66,27 @@ namespace Content.Server.GameObjects.Components.Items.Storage [DataField("prob")] public float SpawnProbability; - + /// + /// orGroup signifies to pick between multiple entities on spawn. + /// + /// + /// To define an orGroup in a StorageFill component + /// you need to add it to the entities you want to choose between. + /// + /// + /// - type: StorageFill + /// contents: + /// - name: X + /// - name: Y + /// orGroup: YOrZ + /// - name: Z + /// orGroup: YOrZ + /// + /// + /// + /// + /// + /// [DataField("orGroup")] public string GroupId;