Server/project
DanW 1994832281 Improved check for disabling train extracts in Scav raids (!170)
Made the following changes for determining if train extracts should be disabled in Scav raids:
* When determining at what time the train will leave, include the extraction time and the delay between the train extract activating and it becoming available to board
* Fixed the variable used for determining if the extract should be disabled
* Ensure `MinTime` and `MaxTime` for extracts are never negative

Also, trains are hard, and my brain hurts.

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/170
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-12-01 08:37:52 +00:00
..
.vscode Removes Old Jest Tests (!169) 2023-11-16 22:12:51 +00:00
assets Add 15% chance bear/usec spawn on reserve raid start 2023-11-30 15:22:10 +00:00
src Improved check for disabling train extracts in Scav raids (!170) 2023-12-01 08:37:52 +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 Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
.nvmrc 0.13.5.0 (!147) 2023-10-10 11:03:20 +00:00
.swcrc Import path alias on the whole project (!157) 2023-10-19 17:21:17 +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 Updated dependencies + A few other things (!150) 2023-10-14 09:01:41 +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 Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
package.json Removes Old Jest Tests (!169) 2023-11-16 22:12:51 +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 fix/profiler (!166) 2023-11-06 19:39:13 +00: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