Commit Graph

26 Commits

Author SHA1 Message Date
Chomp 737776c99d Made use of Math.Clamp to simplify logic across server
Made all fence rep clamping use min/max values from config instead of magic values
2025-07-20 10:29:34 +01:00
Chomp fdfbf66c1b Removed unncessary nulls 2025-07-16 13:26:09 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

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

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 5ef2271a29 Converted collections to their frozen counterparts for improved lookup speed 2025-07-14 19:56:20 +01:00
Chomp 0137af1838 String to MongoId changes 2025-07-07 12:42:10 +01:00
Cj 090d7b6494 change vars to MongoId, remove underscore from injections, fix bug introduced from last PR 2025-07-06 16:40:08 -04:00
Chomp 4f5571c2d4 Converted more ids to MongoId 2025-07-05 12:35:03 +01:00
Chomp 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +01:00
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Chomp 86295b68fb Added MongoId type to various places 2025-07-02 19:07:58 +01:00
Cj 371c9d58f0 Repeatable quest generation MongoID conversion (#439)
* Update repeatable quest generation for mongoid, add new server localizations, switch `Traders` to MongoId

* Give error default value
2025-07-02 12:44:49 +01:00
Jesse 54f0d0779c Convert TemplateItem to MongoId (#436)
* Convert TemplateItem to MongoId

* Push new extensions

* Handle null mongoid's being passed to regex

* Handle null strings, fixes item events

* Updated loot generation to work with new property `composedKey`

Fixed typo in `SlotId`

* Fix missing method after merge

* Remove duplicately named MongoIDExtensions?

* Fixed location loot generation to handle impending loot json changes

* Updated location JSONs with new properties (excluding lighthouse loose loot)

* Fixed build issue with ItemTplGenerator

* use correct handing for new mongo ids

* Added helper method to improve readability

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-07-02 10:14:04 +01:00
Chomp 62a9cc28d5 Fixed weekly boss elimination quest generation not finding a location 2025-06-30 12:41:49 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
chompDev d4d2ed0403 .NET Format Style Fixes 2025-06-28 15:15:48 +00:00
Jesse d0af6acbe6 Move MathUtil methods to extensions (#432)
* Begin moving MathUtil methods to Extensions

* Add missing extension
2025-06-28 16:15:11 +01:00
chompDev 4909a80b32 .NET Format Style Fixes 2025-06-24 08:24:39 +00:00
Cj c6d5638057 Move RepeatableQuestRewardGenerator.cs and update some reward generation data 2025-06-24 02:59:37 -04:00
chompDev 321fdd9ace .NET Format Style Fixes 2025-06-23 13:56:14 +00:00
Cj 524fa65c29 Repeatable quest generation (Part 3) (#420)
* clean up EliminationQuestGenerator.cs

* add locales
2025-06-23 14:54:43 +01:00
chompDev 60324bc4e1 .NET Format Style Fixes 2025-06-23 10:39:01 +00:00
Chomp e0975c6958 Localised various error and warning messages 2025-06-23 11:38:26 +01:00
chompDev d4f9e38169 .NET Format Style Fixes 2025-06-23 09:04:32 +00:00
Cj b3dca61ac0 Break rest of repeatable quest generation code into components. Fix nullability of exploration generation and improve error handling, make new helper method, add pick random quest type method to controller (#419) 2025-06-23 10:03:56 +01:00
chompDev 6820d7b8be .NET Format Style Fixes 2025-06-22 19:51:53 +00:00
Cj 811791f7d3 Repeatable quest generation (Part 1) (#417)
* Refactor and breakout CompletionQuestGenerator.cs

* make `GenerateAvailableForFinish` protected
2025-06-22 20:51:18 +01:00