Chomp
952544f5d3
Revert "Improved ability for modders to adjust active seasonal events - Active events can be set via pre-db load event"
...
This reverts commit 4cd868aeb302515b879ed204397b567c73d2fcd2.
2024-12-24 19:09:51 +00:00
Chomp
4cd868aeb3
Improved ability for modders to adjust active seasonal events - Active events can be set via pre-db load event
2024-12-24 18:54:12 +00:00
Chomp
bb6c4cae6a
Made SeasonalEventService.cacheActiveEvents()
public
2024-12-24 09:10:27 +00:00
Chomp
7caec6efad
Added system to insert items into bot storage areas during seasonal events - Used to add Christmas items to scavs
2024-12-18 23:51:25 +00:00
Chomp
ccc9a8ba5b
Removed unused imports
...
(cherry picked from commit cdd1831f46005825913ca7a4d8ed89428b568528)
2024-12-13 17:06:53 +00:00
Chomp
07699e4144
Removed unused varaible
2024-12-07 11:42:09 +00:00
Chomp
6562d05142
Fixed configureZombies()
incorrectly handling location ids
2024-12-01 10:21:47 +00:00
Chomp
063d1eaea8
Added forceSnow
to seasonal mod event
...
Moved majority of code into `handleModEvent` to help modders handle custom events via method overriding
2024-11-30 14:13:18 +00:00
Chomp
dd88571e29
Flagged christmas gifts as being part of christmas event
2024-11-30 12:23:43 +00:00
Dev
75caa6d989
Fixed casing issue with getLocationFromInfectedLocation()
2024-11-21 13:16:13 +00:00
Dev
59eb80f29b
Fixed configureZombies()
not correctly handling factory or sandbox maps
2024-11-19 19:15:25 +00:00
Dev
ef7ed5870a
Added spt friend code VERYSPOOKY
to enable halloween/zombies
2024-11-15 19:01:27 +00:00
Dev
060c7f0988
Added system to replace hostility settings for an event
2024-11-11 21:18:41 +00:00
Dev
6ea51ce365
Updated JSONs with post-halloween data
2024-11-11 10:40:15 +00:00
Dev
5ed4802d9e
Fixed infection rate value not applying
2024-11-04 20:35:35 +00:00
Dev
574300d8cb
Improved logic used inside addEventBossesToMaps()
2024-11-04 09:47:12 +00:00
Dev
7159f3cca3
Pass infection rate into addEventBossesToMaps()
so only maps with value > 0 spawn zombies
2024-11-03 23:25:49 +00:00
Dev
abc317b862
Added ability to disable access requirements for event
2024-11-01 20:25:18 +00:00
Dev
5534406449
Further progress on zombie spawning
2024-11-01 15:51:03 +00:00
Dev
edaec549c9
Expanded zombies configuration
2024-11-01 15:19:54 +00:00
Dev
8055a00fc8
Fixed addEventWavesToMaps()
not adding waves to correct location + now wipes out existing wave data
2024-11-01 13:22:16 +00:00
Dev
140b4b4619
groundwork for Halloween zombies event
2024-10-31 23:24:49 +00:00
Dev
8863053786
Rename bitcoin for April 1st event
2024-10-29 16:04:54 +00:00
Dev
3c3877d753
Added call to handleModEvent()
inside updateGlobalEvents()
to allow modders to override with their own implementation
2024-10-27 17:25:11 +00:00
Dev
bc3ac3d3e6
Added ability to enable/disable certain sub-events during seasonal events
2024-10-27 15:37:18 +00:00
Dev
22b6ee2741
Added new april 1st event
2024-10-26 16:39:31 +01:00
Dev
5a6dd6f5df
Removed unnecessary SNOW seasonal event, handled by seasons instead
2024-10-26 16:12:15 +01:00
Dev
731d9f3f0b
Added enabled
property to events config + wire up
2024-10-25 11:53:18 +01:00
Dev
9eba62d5e2
Moved code from gameStart()
into server start via new class PostDbLoadService
...
Fixed player adding their name multiple times to PMCs inside `addPlayerToPMCNames()`
Updated `enableSeasonalEvents()` to not require a session id, moved player-specific code into new function `givePlayerSeasonalGifts()`
2024-10-22 13:33:07 +01:00
Dev
0b729fba11
Improvements to how weather temperature is calculated - takes into account current season
...
Centralised the season override into `getActiveWeatherSeason()`
Adjusted weather values based on client data
2024-10-17 13:05:01 +01:00
Dev
8114271faf
Added method comments
2024-10-13 12:09:47 +01:00
Dev
ab1422bc40
Updated interfaces to follow correct naming convention
...
Removed some interface duplication
2024-09-24 12:47:29 +01:00
Dev
5fd9271491
Updated various interfaces to use correct naming scheme
...
Added `IGroupPostion`
2024-09-24 11:26:45 +01:00
5740774a46
Apply Biome Formatting
...
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00
edfe995c52
Initial implementation of an ItemTpl and Weapon enum generator ( !364 )
...
ItemTplGenerator will create a full ItemTpl.ts and Weapons.ts file with all items and weapons respectively
Renamed WeaponTypes to Weapons to better indicate its new format
Updated all references to these enums to use the new names
New npm command `npm run gen:items` to run this tool
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#364
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-06-16 08:33:01 +00:00
Dev
f8bd65ed90
Replaced various array.find()
with array.some()
...
Rewrote `tagItem()` to use `.find()`
2024-06-13 13:41:29 +01:00
Dev
8c05345b85
Replaced various magic strings with enum values
...
Added `itemHelper.getItemFromPool()`
2024-06-13 10:53:07 +01:00
Dev
ca642b94a7
Reworked gift sending/storage sytem to not store the max sends in profile and use the existing gift data
...
Fixed `sendPraporStartingGift()` not sending gifts
Expanded `GiftService` to include methods to get gift by id / all gifts / all gift ids
2024-06-09 09:13:38 +01:00
Dev
75a34f5ca2
Expanded gift system used by spt bot
...
Gifts can be given multiple times
stash expansions are limited to 5 max by default
dev balaclava can be given 5 times, majority of gifts are 1 use still
Updated data structure to persist gifts received, this will break profiles
2024-06-08 17:54:05 +01:00
Dev
0574392f28
Added new lootable item blacklist and added checks to bot and map loot generator code
...
Remove event quest item from global blacklist and move to loot item blacklist
2024-06-04 18:57:36 +01:00
8727f6150e
primery-dependencies ( !355 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT/Server#355
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-28 14:04:20 +00:00
Dev
fdb7a2b7d8
Updated various classes to use DatabaseService
instead of DatabaseServer
2024-05-28 13:59:19 +01:00
aee391ec1d
Null checks first pass ( !353 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT/Server#353
2024-05-27 16:05:16 +00:00
Dev
612b1b7940
Localized more warnings
2024-05-24 16:42:42 +01:00
d13e86ba46
Rebranding to SPT ( !345 )
...
Rebranded src code and scripts to SPT
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT-AKI/Server#345
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-21 17:59:04 +00:00
Dev
a48e130f1b
Localized various warning messages
2024-05-21 14:28:52 +01:00
cb169a18b9
Project Code Format
...
Ran the `npm run format` command to bring the entire project in-line with the formatting rules.
2024-05-17 15:32:41 -04:00
ba1ac09b0b
Merge branch '3.8.2-DEV' into 3.9.0-DEV
...
# Conflicts:
# project/src/callbacks/ItemEventCallbacks.ts
# project/src/models/eft/common/IGlobals.ts
# project/src/models/eft/common/ILocation.ts
# project/src/models/eft/common/ILocationBase.ts
# project/src/models/eft/common/tables/ILootBase.ts
# project/src/models/eft/common/tables/ITemplateItem.ts
# project/src/models/eft/weather/IWeatherData.ts
# project/src/models/spt/bots/BotGenerationDetails.ts
# project/src/models/spt/config/IPmcConfig.ts
# project/src/models/spt/config/IWeatherConfig.ts
# project/src/models/spt/server/IDatabaseTables.ts
# project/src/models/spt/server/ILocations.ts
# project/src/servers/http/IHttpListener.ts
2024-05-08 00:21:12 -04:00
50c7a26a58
ESLint Pass
...
This is the first pass of ESLint on the codebase.
ESLint formatting is less strict when it comes to line-length and line-breaks then dprint/biome, so if you see formatting that you don't like... fix it! It shouldn't require a configuration change.
- This should merge clean into master (when the time comes).
- This will not merge clean into `3.9.0-DEV`, but the conflicts aren't that bad.
2024-05-07 23:57:08 -04:00
Dev
7f56cee388
29862
2024-04-25 21:37:22 +01:00