Show / Hide Table of Contents

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 Source

Color

A color used for UI

Declaration
public Color Color
Field Value
Type Description
Color
| Improve this Doc View Source

Icon

An icon used to visually represent the discipline in UI.

Declaration
public SpriteSpecifier Icon
Field Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

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
| Improve this Doc View Source

Name

Player-facing name. Supports locale strings.

Declaration
public string Name
Field Value
Type Description
System.String
| Improve this Doc View Source

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 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
☀
☾