Server/project
Spoony e1a8f26507 Generate ammo box Ragfair offers with cartridges (!198)
#### TL;DR
Previously, Ragfair offers involving ammo boxes weren't generated with cartridges inside of them. This copies a lot of the logic from `InventoryHelper.hydrateAmmoBoxWithAmmo()` to add ammo to offers when they are generated. Made to fix #312.

#### Testing
Purchased various ammo boxes from Flea:

![image](/attachments/340fb349-2589-4b1a-81fa-f8d63f6f1a36)

Purchased ammo boxes are listed as full:

![image](/attachments/f52057d3-efe0-40e7-b64e-8d257a818fa5)

Unloading them produces correct ammunition:

![image](/attachments/33c71f7b-d452-473e-9705-cbad1ecc3f7d)

Co-authored-by: Spoony <Spoony@example.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/198
Co-authored-by: Spoony <spoony@noreply.dev.sp-tarkov.com>
Co-committed-by: Spoony <spoony@noreply.dev.sp-tarkov.com>
2024-01-16 10:26:48 +00:00
..
.vscode missed some node version refs 2023-12-15 14:06:02 +00:00
assets Items json changes 2024-01-15 23:14:15 +00:00
src Generate ammo box Ragfair offers with cartridges (!198) 2024-01-16 10:26:48 +00:00
tests Reworked LinkedList and Queue 2023-12-21 22:27:19 +00:00
.dockerignore Updated dependencies + A few other things (!150) 2023-10-14 09:01:41 +00:00
.editorconfig Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
.eslintignore Add Repo 2023-03-03 15:23:46 +00:00
.eslintrc.json Add customizable chat bots and chat commands (!179) 2023-12-24 19:54:27 +00:00
.nvmrc Updated to node v20.10.0 2023-12-15 13:59:45 +00:00
.swcrc Removed @tests path alias from .swcrc 2023-10-29 22:20:34 +00:00
biome.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
docker-compose.yml Add Repo 2023-03-03 15:23:46 +00:00
Dockerfile Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
Dockerfile.docs Update Dockerfile.docs (!174) 2023-12-12 09:50:46 +00:00
Dockerfile.pnpm Updated dependencies + A few other things (!150) 2023-10-14 09:01:41 +00:00
dprint.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
gulpfile.mjs Updated to node v20.10.0 2023-12-15 13:59:45 +00:00
package.json Updated dependencies 2023-12-21 19:02:07 +00:00
pkgconfig.json Fixed stacktraces and source maps on the built exe (!153) 2023-10-15 07:31:16 +00:00
Server.code-workspace Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
tsconfig.base.json Merge branch '3.8.0' into testing-redux 2023-11-06 15:06:46 -05:00
tsconfig.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
tsconfig.typedef.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
typedoc.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
vitest.config.ts Auto-formatting Sweep 2023-11-15 21:12:40 -05:00