Show / Hide Table of Contents

Class ReagentPrototype

Inheritance
System.Object
ReagentPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Robust.Shared.Prototypes.IInheritingPrototype
Namespace: Content.Shared.Chemistry.Reagent
Assembly: Content.Shared.dll
Syntax
public sealed class ReagentPrototype : object, IPrototype, IInheritingPrototype

Fields

| Improve this Doc View Source

Flavor

Declaration
public string? Flavor
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

FlavorMinimum

There must be at least this much quantity in a solution to be tasted.

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

FootstepSound

Declaration
public SoundSpecifier FootstepSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

Metabolisms

Declaration
public Dictionary<string, ReagentEffectsEntry>? Metabolisms
Field Value
Type Description
System.Nullable<Dictionary<System.String, ReagentEffectsEntry>>
| Improve this Doc View Source

PlantMetabolisms

Declaration
public List<ReagentEffect> PlantMetabolisms
Field Value
Type Description
List<ReagentEffect>
| Improve this Doc View Source

PricePerUnit

Declaration
public float PricePerUnit
Field Value
Type Description
System.Single
| Improve this Doc View Source

ReactiveEffects

Declaration
public Dictionary<string, ReactiveReagentEffectEntry>? ReactiveEffects
Field Value
Type Description
System.Nullable<Dictionary<System.String, ReactiveReagentEffectEntry>>
| Improve this Doc View Source

Recognizable

Is this reagent recognizable to the average spaceman (water, welding fuel, ketchup, etc)?

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

Slippery

If this reagent is part of a puddle is it slippery.

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

TileReactions

Declaration
public List<ITileReaction> TileReactions
Field Value
Type Description
List<ITileReaction>
| Improve this Doc View Source

Viscosity

How much reagent slows entities down if it's part of a puddle. 0 - no slowdown; 1 - can't move.

Declaration
public float Viscosity
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

Abstract

Declaration
public bool Abstract { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

BoilingPoint

Declaration
public float? BoilingPoint { get; }
Property Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

Group

Declaration
public string Group { 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

LocalizedDescription

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

LocalizedName

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

LocalizedPhysicalDescription

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

MeltingPoint

Declaration
public float? MeltingPoint { get; }
Property Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

MetamorphicSprite

Declaration
public SpriteSpecifier MetamorphicSprite { get; }
Property Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

Parents

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

SpecificHeat

The specific heat of the reagent. How much energy it takes to heat one unit of this reagent by one Kelvin.

Declaration
public float SpecificHeat { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SubstanceColor

Declaration
public Color SubstanceColor { get; }
Property Value
Type Description
Color

Methods

| Improve this Doc View Source

ReactionPlant(Nullable<EntityUid>, ReagentQuantity, Solution)

Declaration
public void ReactionPlant(EntityUid? plantHolder, ReagentQuantity amount, Solution solution)
Parameters
Type Name Description
System.Nullable<EntityUid> plantHolder
ReagentQuantity amount
Solution solution
| Improve this Doc View Source

ReactionTile(TileRef, FixedPoint2)

Declaration
public FixedPoint2 ReactionTile(TileRef tile, FixedPoint2 reactVolume)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tile
FixedPoint2 reactVolume
Returns
Type Description
FixedPoint2

Implements

Robust.Shared.Prototypes.IPrototype
Robust.Shared.Prototypes.IInheritingPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾