Skip to content

Commit

Permalink
added rate to remaining types of eat facts
Browse files Browse the repository at this point in the history
  • Loading branch information
levimhuillet committed May 23, 2024
1 parent f167ed7 commit a8d263a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/_Code/Data/Bestiary/Facts/Behavior/BFEat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static private BFDetails GenerateDetails(BFBase inFact, BFDiscoveredFlags inFlag
{
details.Description = Loc.Format(CatchSentence,
fact.Parent.CommonName(),
BestiaryUtils.FormatMass(fact.Amount),
BestiaryUtils.FormatMass(fact.Amount, "/t"),
fact.Critter.CommonName());
}
else if (fact.OnlyWhenStressed)
Expand All @@ -130,7 +130,7 @@ static private BFDetails GenerateDetails(BFBase inFact, BFDiscoveredFlags inFlag
{
details.Description = Loc.Format(EatRateSentenceStressed,
inFact.Parent.CommonName(),
BestiaryUtils.FormatMass(fact.Amount),
BestiaryUtils.FormatMass(fact.Amount, "/t"),
fact.Critter.CommonName());
}
else
Expand Down
4 changes: 4 additions & 0 deletions Assets/_Code/Data/WaterProperties/WaterPropertyDesc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ static public void FormatValue(StringBuilder sb, float valueF, int significantDi
sb.Append(unitPrefix);
}
sb.Append(units);
if (unitSuffix != null)
{
sb.Append(unitSuffix);
}
}

public float MinValue() { return m_MinValue; }
Expand Down

0 comments on commit a8d263a

Please sign in to comment.