Class TechDisciplinePrototype
This is a prototype for a research discipline, a category that governs how TechnologyPrototypes are unlocked.
Inheritance
System.Object
TechDisciplinePrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Research.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class TechDisciplinePrototype : object, IPrototype
Fields
| Improve this Doc View SourceColor
A color used for UI
Declaration
public Color Color
Field Value
Type | Description |
---|---|
Color |
Icon
An icon used to visually represent the discipline in UI.
Declaration
public SpriteSpecifier Icon
Field Value
Type | Description |
---|---|
Robust.Shared.Utility.SpriteSpecifier |
LockoutTier
Purchasing this tier of technology causes a server to become "locked" to this discipline.
Declaration
public int LockoutTier
Field Value
Type | Description |
---|---|
System.Int32 |
Name
Player-facing name. Supports locale strings.
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
TierPrerequisites
For each tier a discipline supports, what percentage of the previous tier must be unlocked for it to become available
Declaration
public Dictionary<int, float> TierPrerequisites
Field Value
Type | Description |
---|---|
Dictionary<System.Int32, System.Single> |
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype