Class TechnologyPrototype
This is a prototype for a technology that can be unlocked.
Inheritance
System.Object
TechnologyPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Research.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class TechnologyPrototype : object, IPrototype
Fields
| Improve this Doc View SourceCost
How much research is needed to unlock.
Declaration
public int Cost
Field Value
Type | Description |
---|---|
System.Int32 |
Discipline
What research discipline this technology belongs to.
Declaration
public string Discipline
Field Value
Type | Description |
---|---|
System.String |
GenericUnlocks
A list of non-standard effects that are done when this technology is unlocked.
Declaration
public IReadOnlyList<GenericUnlock> GenericUnlocks
Field Value
Type | Description |
---|---|
IReadOnlyList<Content.Shared.Research.Prototypes.GenericUnlock> |
Hidden
Hidden tech is not ever available at the research console.
Declaration
public bool Hidden
Field Value
Type | Description |
---|---|
System.Boolean |
Icon
An icon used to visually represent the technology in UI.
Declaration
public SpriteSpecifier Icon
Field Value
Type | Description |
---|---|
Robust.Shared.Utility.SpriteSpecifier |
Name
The name of the technology. Supports locale strings
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
RecipeUnlocks
A list of LatheRecipePrototypes that are unlocked by this technology
Declaration
public IReadOnlyList<string> RecipeUnlocks
Field Value
Type | Description |
---|---|
IReadOnlyList<System.String> |
TechnologyPrerequisites
A list of TechnologyPrototypes that need to be unlocked in order to unlock this technology.
Declaration
public IReadOnlyList<string> TechnologyPrerequisites
Field Value
Type | Description |
---|---|
IReadOnlyList<System.String> |
Tier
What tier research is this? The tier governs how much lower-tier technology needs to be unlocked before this one.
Declaration
public int Tier
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype