Trading content (#1010)

* reroll positions

* more trading content

* bugfixes

* more content

* guidebook uodate

* Update buy.yml
This commit is contained in:
Ed
2025-03-12 00:51:58 +03:00
committed by GitHub
parent 56f4012a49
commit 93ed28d34c
53 changed files with 827 additions and 157 deletions

View File

@@ -45,7 +45,7 @@ public sealed class CP14CurrencyCollectConditionSystem : EntitySystem
if (mind.OwnedEntity is null)
return 0;
count += _currency.GetTotalCurrency(mind.OwnedEntity.Value);
count += _currency.GetTotalCurrencyRecursive(mind.OwnedEntity.Value);
var result = count / (float)condition.Currency;
result = Math.Clamp(result, 0, 1);