Server/project/src
Brent df93245e9d Fix incompatible default mods being used in required slots (!299)
This prevents weapons from getting the default mods for their base preset when they won't fit other required mods.

This was observed on the AK-74M, where the weapon generator would choose the VDM CS gas tube, which is incompatible with the default AK-74 polymer handguard (6P20 Sb.9).

When this occurs, the generator will bypass the default mod selection and instead choose from the loot pool assigned to the handguard in the bot configs.

https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/596

Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/299
Co-authored-by: Brent <wiggyvidyadev@gmail.com>
Co-committed-by: Brent <wiggyvidyadev@gmail.com>
2024-04-18 14:29:16 +00:00
..
callbacks Add endpoint to allow getting all bot difficulty data in one call 2024-04-06 16:57:01 +01:00
context Formatting 2024-02-02 15:00:21 -05:00
controllers Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00
di Added new service ProfileActivityService 2024-04-13 12:46:43 +01:00
generators Fix incompatible default mods being used in required slots (!299) 2024-04-18 14:29:16 +00:00
helpers Add missing weapons to WeaponType enum, fix assort comments (!292) 2024-04-16 07:34:08 +00:00
ide Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00
loaders Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00
models Add currency to generation configuration for each bot 2024-04-18 11:56:45 +01:00
routers Add endpoint to allow getting all bot difficulty data in one call 2024-04-06 16:57:01 +01:00
servers Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00
services Add currency to generation configuration for each bot 2024-04-18 11:56:45 +01:00
utils Bake build data directly into the executable (!297) 2024-04-18 07:54:16 +00:00
ErrorHandler.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
Program.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00