only show flavor above 0.1u (#17169)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-06-07 04:29:23 +00:00
committed by GitHub
parent b57c0a2118
commit f5d2b0e284
5 changed files with 20 additions and 3 deletions

View File

@@ -63,6 +63,12 @@ namespace Content.Shared.Chemistry.Reagent
[DataField("flavor")]
public string Flavor { get; } = default!;
/// <summary>
/// There must be at least this much quantity in a solution to be tasted.
/// </summary>
[DataField("flavorMinimum")]
public FixedPoint2 FlavorMinimum = FixedPoint2.New(0.1f);
[DataField("color")]
public Color SubstanceColor { get; } = Color.White;