Class RulesPrototype
Rules-based item selection. Can be used for any sort of conditional selection Every single condition needs to be true for this to be selected. e.g. "choose maintenance audio if 90% of tiles nearby are maintenance tiles"
Inheritance
System.Object
RulesPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Random
Assembly: Content.Shared.dll
Syntax
public sealed class RulesPrototype : object, IPrototype
Fields
| Improve this Doc View SourceRules
Declaration
public List<RulesRule> Rules
Field Value
Type | Description |
---|---|
List<RulesRule> |
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype