Show / Hide Table of Contents

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 Source

ApplyMaterialDiscount

Declaration
public bool ApplyMaterialDiscount
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

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

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 Source

CompleteTime

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

Description

Short description displayed in the lathe GUI.

Declaration
public string Description { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Name

Name displayed in the lathe GUI.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾