Show / Hide Table of Contents

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 Source

Rules

Declaration
public List<RulesRule> Rules
Field Value
Type Description
List<RulesRule>

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾