Price of food depends on its nutritional capacity (#11752)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
fixes https://github.com/space-wizards/space-station-14/issues/11464
This commit is contained in:
corentt
2022-11-15 12:51:30 +01:00
committed by GitHub
parent 172e8eb931
commit f9bf24f903
5 changed files with 29 additions and 1 deletions

View File

@@ -84,6 +84,9 @@ namespace Content.Shared.Chemistry.Reagent
[DataField("plantMetabolism", serverOnly: true)]
public readonly List<ReagentEffect> PlantMetabolisms = new(0);
[DataField("pricePerUnit")]
public float PricePerUnit { get; }
/// <summary>
/// If the substance color is too dark we user a lighter version to make the text color readable when the user examines a solution.
/// </summary>