Show / Hide Table of Contents

Class SatiateHunger

Attempts to find a HungerComponent on the target, and to update it's hunger values.

Inheritance
System.Object
ReagentEffect
SatiateHunger
Namespace: Content.Server.Chemistry.ReagentEffects
Assembly: Content.Server.dll
Syntax
public sealed class SatiateHunger : ReagentEffect

Properties

| Improve this Doc View Source

NutritionFactor

How much hunger is satiated when 1u of the reagent is metabolized

Declaration
public float NutritionFactor { get; set; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Effect(ReagentEffectArgs)

Declaration
public override void Effect(ReagentEffectArgs args)
Parameters
Type Name Description
Content.Shared.Chemistry.Reagent.ReagentEffectArgs args
| Improve this Doc View Source

ReagentEffectGuidebookText(IPrototypeManager, IEntitySystemManager)

Declaration
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
Parameters
Type Name Description
Robust.Shared.Prototypes.IPrototypeManager prototype
IEntitySystemManager entSys
Returns
Type Description
System.Nullable<System.String>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾