Class LatheRecipePrototype
Inheritance
System.Object
LatheRecipePrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Research.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class LatheRecipePrototype : object, IPrototype
Fields
| Improve this Doc View SourceApplyMaterialDiscount
Declaration
public bool ApplyMaterialDiscount
Field Value
Type | Description |
---|---|
System.Boolean |
Icon
An entity whose sprite is displayed in the ui in place of the actual recipe result.
Declaration
public SpriteSpecifier Icon
Field Value
Type | Description |
---|---|
Robust.Shared.Utility.SpriteSpecifier |
Result
The prototype name of the resulting entity when the recipe is printed.
Declaration
public string Result
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceCompleteTime
How many milliseconds it'll take for the lathe to finish this recipe. Might lower depending on the lathe's upgrade level.
Declaration
public TimeSpan CompleteTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Description
Short description displayed in the lathe GUI.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
ID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Name displayed in the lathe GUI.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RequiredMaterials
The materials required to produce this recipe. Takes a material ID as string.
Declaration
public Dictionary<string, int> RequiredMaterials { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Int32> |
Implements
Robust.Shared.Prototypes.IPrototype