More strings to MongoIds

Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
This commit is contained in:
Chomp
2025-07-14 22:29:41 +01:00
parent 26afa19387
commit 040be2feaa
150 changed files with 482 additions and 631 deletions
@@ -805,7 +805,7 @@ public class RepeatableQuestController(
protected bool PlayerHasDailyScavQuestsUnlocked(PmcData pmcData)
{
return pmcData
?.Hideout?.Areas?.FirstOrDefault(hideoutArea =>
.Hideout?.Areas?.FirstOrDefault(hideoutArea =>
hideoutArea.Type == HideoutAreas.IntelligenceCenter
)
?.Level >= 1;