Class PickRandomComponent
Adds a verb to pick a random item from a container. Only picks items that match the whitelist.
Inheritance
System.Object
PickRandomComponent
Namespace: Content.Server.Storage.Components
Assembly: Content.Server.dll
Syntax
public sealed class PickRandomComponent : Component
Fields
| Improve this Doc View SourceEmptyText
Locale id for the empty storage message.
Declaration
public string EmptyText
Field Value
Type | Description |
---|---|
System.String |
VerbText
Locale id for the pick verb text.
Declaration
public string VerbText
Field Value
Type | Description |
---|---|
System.String |
Whitelist
Whitelist for potential picked items.
Declaration
public EntityWhitelist Whitelist
Field Value
Type | Description |
---|---|
EntityWhitelist |