0740a84f6f
In relation to this QoL issue: https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/547 This PR allows us to prevent fence selling duplicate items by parentId. It adds a new property to `trader.json` `fence.preventDuplicateOffersOfCategory` its an array that takes parentIds. The scope of this PR only extends to ammo and ammo boxes. It can be expanded upon in the future with no code changes should the need arise. The reason for this change is because currently fence can have duplicate stacks of identical ammo with different prices, which makes no sense. If you have any questions feel free to ping me on discord. Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/245 Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com> Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com> |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
src | ||
tests | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.nvmrc | ||
.swcrc | ||
biome.json | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.docs | ||
Dockerfile.pnpm | ||
dprint.json | ||
gulpfile.mjs | ||
package-lock.json | ||
package.json | ||
pkgconfig.json | ||
Server.code-workspace | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.typedef.json | ||
typedoc.json | ||
vitest.config.ts |