Server/project
DrakiaXYZ 15257ea263 Fix daily reward budget not using preset prices for some items (!256)
- Switch item cost calculation to use a new helper that checks for a preset first, to more accurately keep track of the budget
- Subtract weapon price from reward budget
- Decrement reward counter for skipped ammo
- Add a new helper for filtering the reward pool by budget, so it's consistent in the two places it's done
- Add a metric boatload of debug output for daily generation

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/256
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-11 00:03:41 +00:00
..
.vscode missed some node version refs 2023-12-15 14:06:02 +00:00
assets Fixed wallets not having money stacks in them 2024-03-10 14:13:08 +00:00
src Fix daily reward budget not using preset prices for some items (!256) 2024-03-11 00:03:41 +00:00
tests Biome Linting Issues 2024-02-05 19:03:26 -05: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 Add --arch and --platform options to NPM build commands to support cross-compiling (!247) 2024-03-08 18:11:04 +00:00
package-lock.json Add --arch and --platform options to NPM build commands to support cross-compiling (!247) 2024-03-08 18:11:04 +00:00
package.json Add --arch and --platform options to NPM build commands to support cross-compiling (!247) 2024-03-08 18:11:04 +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