Commit Graph

162 Commits

Author SHA1 Message Date
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +01:00
chompDev 1b2b2c04f9 .NET Format Style Fixes 2025-07-15 09:38:23 +00:00
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
chompDev c8faa33b51 .NET Format Style Fixes 2025-07-14 21:30:15 +00: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 3aa13dd46b Removed reflection from AdjustBotAppearanceValues
More string to MongoId conversions
2025-07-14 18:42:42 +01:00
Chomp 0ec5aeab91 Removed FilterBlacklistedGear, same functionality can be done via editing the equipment's weighting to 0 2025-07-14 17:57:32 +01:00
Chomp 4d1ef0d326 Improved FilterBlacklistedGear logic 2025-07-14 17:41:25 +01:00
Chomp d99416a5a4 Removed use of reflection inside RemoveChristmasItemsFromBotInventory
Replaced more strings with mongoIds
2025-07-14 17:32:09 +01:00
Chomp 5d9a97ce5b Converted customisations ids to mongoIds 2025-07-09 17:24:12 +01:00
Chomp 4ba9a9f0d4 Correctly supply ID of voice not name of voice when generating bot 2025-07-09 17:16:17 +01:00
Chomp d5fc9be339 Removed Voice from profile.info
Added 'voice' to `profile.Customisation`
2025-07-09 17:02:31 +01:00
Chomp 7bda1b525f Updated acceptableFileExtensions to be a frozenSet
Removed more boxing
2025-07-07 13:31:39 +01:00
Chomp 0137af1838 String to MongoId changes 2025-07-07 12:42:10 +01:00
Chomp 61f62f191d Converted more strings to mongoIds and fixed issue with buying items from pmcs on flea 2025-07-07 11:56:19 +01:00
Chomp 266b6bcc10 Fixed build 2025-07-07 09:50:41 +01:00
Cj 448c258600 update mongoIds, remove underscores from injections in generators (#460) 2025-07-07 09:46:51 +01:00
Chomp 3d11031dc6 Converted sessionIds from strings to MongoId struct 2025-07-07 09:34:43 +01:00
chompDev 772fb40101 .NET Format Style Fixes 2025-07-06 21:23:01 +00: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 fa674d6add Converted RemapRootItemId into extension method 2025-07-05 17:46:58 +01:00
Chomp f140e1e106 Converted ReplaceIDs into extension method 2025-07-05 17:25:59 +01:00
chompDev 7dc5bb106d .NET Format Style Fixes 2025-07-05 11:35:33 +00:00
Chomp 4f5571c2d4 Converted more ids to MongoId 2025-07-05 12:35:03 +01:00
chompDev 1af4834336 .NET Format Style Fixes 2025-07-05 10:03:38 +00:00
Chomp 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +01:00
chompDev df3e7c9210 .NET Format Style Fixes 2025-07-04 18:30:22 +00:00
Chomp 01cd251b68 Moved more code into extension methods 2025-07-04 19:29:43 +01:00
Chomp 2609db2536 Removed unused injections 2025-07-04 09:40:22 +01:00
chompDev 973ea857f9 .NET Format Style Fixes 2025-07-03 22:06:04 +00:00
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Chomp f2cebc4f88 Pass correct mongo id as parameter 2025-07-03 16:37:45 +01:00
Chomp 4e2d4dc708 Rewrote container item space system to use 2 dimensional arrays (#442)
* Rewrote container item space system to use 2 dimensional arrays

* Moved container helper code into extension methods

* Reduced amount of parameters passed into `RowIsFull`

* Skip root trader items

* Remove debug

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-07-03 16:36:13 +01:00
Jesse ebe8f9ded5 Mongoid changes (#440)
* Remove old IsValidMongoId and Regex

* Convert more configs to MongoId, as well as BaseClasses

* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
chompDev 3afc1e3431 .NET Format Style Fixes 2025-07-02 22:37:51 +00:00
Chomp fefe9bcec5 Cleaned up property content 2025-07-02 23:37:16 +01:00
Chomp fb1a96c3bf Fixed AddCompatibleModsForProvidedMod not filtering mods correctly 2025-07-02 23:35:37 +01:00
Chomp 86295b68fb Added MongoId type to various places 2025-07-02 19:07:58 +01:00
Chomp a8308248d6 Replaced hashutil.generate with new MongoId() 2025-07-02 12:47:00 +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
chompDev abab349a0c .NET Format Style Fixes 2025-07-02 09:57:24 +00:00
Chomp 18bdd203dd Fixed invalid comparision of IDs 2025-07-02 10:56:39 +01:00
Chomp 5c26f47e2f Use correct new MongoId() instead of hashutil 2025-07-02 10:56:10 +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
Jesse 6ac747d18d Begin converting some id's to MongoId (#435)
* Begin converting some id's to MongoId

* Remove nullability on MongoId's

* Update trader MongoId's
2025-06-30 15:25:47 +01:00
chompDev 0ec544e6a3 .NET Format Style Fixes 2025-06-30 13:12:24 +00:00
Chomp 6baf8a9118 Fixed FilterModsByBlacklist not filtering before returning results 2025-06-30 14:11:20 +01:00
Chomp 62a9cc28d5 Fixed weekly boss elimination quest generation not finding a location 2025-06-30 12:41:49 +01:00
chompDev d628f738f4 .NET Format Style Fixes 2025-06-29 17:58:59 +00:00