Commit Graph

3530 Commits

Author SHA1 Message Date
Dev
c7a44456bb Added tiered flea system with placeholder values - Allow items to be locked to a specific level - defaults to off
Unlocks have a priority order, it will be filtered by whatever is first in the dictionary
e.g.

pistol: unlock level 20
weapon: unlock  level 30

A pistol will be unlocked at level 20,
A shotgun will be unlocked at level 30

if the order was different:
weapon: unlock level 30
pistol: unlock level 20

The pistol would be unlocked at level 30 as its a weapon and gets picked up by the weapon filter first
2024-09-25 17:16:44 +01:00
Dev
4fbed1c191 Updated location data 2024-09-25 08:53:35 +01:00
Dev
99afff5a9b Added various additional mod items to PMC weapon pool 2024-09-24 23:31:09 +01:00
Dev
d38fe84ce2 Added mod_tactical001/mod_tactical002 to randomisation pool 2024-09-24 23:18:54 +01:00
Dev
07d1fbe19a Fixed factory night loot containers not working 2024-09-24 21:48:06 +01:00
Dev
3ba1d3839e Fixed incorrect usec hostilitySettings value 2024-09-24 18:45:22 +01:00
Dev
9b7602baa8 Fixed mannequin pocket items being lost on pmc death 2024-09-24 18:21:19 +01:00
Dev
4c2f93f219 Added extra PMC waves to sandbox_high 2024-09-24 17:29:50 +01:00
Dev
a57ce79b45 Fixed BTR not delivering items
Fixed player scav being unable to transfer items via BTR
2024-09-24 17:25:32 +01:00
Dev
8baac2cfad Fixed items added to wishlist in-raid not persisting to out of raid 2024-09-24 16:47:55 +01:00
Dev
be7e07fa4e Added coreConfig.features.chatbotFeatures.sptFriendGiftsEnabled, default true 2024-09-24 16:41:02 +01:00
Dev
4ea528c381 Hard-coded Entrypoints into scav lighthouse exits 2024-09-24 13:56:00 +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
Dev
63774da653 Added additional PMC waves to customs + woods 2024-09-24 11:04:28 +01:00
Dev
6610961025 Reduced bossBully to 35% spawn chance 2024-09-24 10:54:55 +01:00
Dev
e6ab51dc78 Reduced bossKnight to 25% spawn chance 2024-09-24 10:53:54 +01:00
Dev
b4e78d14f2 Improved bot vest filtering to not filter down to 0 vests 2024-09-24 10:09:58 +01:00
Dev
68297830ff Disabled forceOnlyArmoredRigWhenNoArmor for birdeye, he doesnt have any armored rigs 2024-09-24 09:43:23 +01:00
Dev
bf39ed957e Cleaned up duplication in bot generation system
Added optional parameter to `cacheHasBotWithKey`

Removed params needed for calling `rollToBePmc`

Created `getMostRecentRaidSettings`
2024-09-23 23:01:47 +01:00
Dev
a477b0b584 Added labs to pmc conversion system 2024-09-23 22:56:22 +01:00
Dev
12c602b578 Add key to the city quest icon 2024-09-23 14:53:21 +01:00
Dev
eaa5280569 Added Key to the City quest 2024-09-23 14:51:50 +01:00
Dev
b7101506df Added new gift code 2024-09-23 14:44:04 +01:00
Dev
22b661ac49 Moved mongo id validation into its own function 2024-09-23 14:33:47 +01:00
Dev
cabd17d2c9 Added config option forceRigWhenNoVest
Wired up to bot generation

Updated Raiders to use true value
2024-09-23 12:16:47 +01:00
Dev
53e0a74a1f Adjusted various bot types to always have armored rigs when generated without a vest 2024-09-23 11:19:04 +01:00
Dev
4cb901d592 Fixed issue with getPmcConversionMinMaxForLocation() 2024-09-23 10:45:25 +01:00
Dev
10c436cd7d made use of resetInterval inside of resetMoneyTransferLimit() calculation 2024-09-23 10:22:26 +01:00
Dev
dd9d018c82 Updated items JSON 2024-09-23 10:20:16 +01:00
Dev
218044d23b Renamed interfaces 2024-09-23 10:20:02 +01:00
Dev
6b6b791940 Updated JSONs 2024-09-23 10:15:01 +01:00
Dev
396f5220f7 Fixed server error on raid start 2024-09-22 15:18:08 +01:00
Dev
6de8740dcc Updated convertIntoPmcChance to work per map
Removed unused `shouldBotBePmc` function
2024-09-22 13:58:55 +01:00
Dev
35fb02c009 Added Sealed letter quest item for Postman Part part 1 to spawn once in a raid, (not has 4 possible spawns) 2024-09-22 13:45:13 +01:00
Dev
2ea51fec37 Refresh quest json 2024-09-22 13:17:27 +01:00
Dev
5b7945a501 Added missing traderId to conditionCounter interface 2024-09-22 12:30:38 +01:00
Dev
c1526a4ad3 Reset money transfer limit of player when they have reached/passed the nextResetTime value 2024-09-22 11:49:55 +01:00
Dev
1ba795cf66 Added first attempt at fixing Circulate item sale tracking
Doesnt update client until after restart
2024-09-22 11:33:49 +01:00
Dev
ff6746ebe9 Now include money transfer limits of server>client response 2024-09-22 10:56:39 +01:00
Dev
060b0bb2de Added code to insert SellitemToTrader condition counter to profile on quest start 2024-09-22 10:46:50 +01:00
Dev
98d4bcc8ae Added mongoid item validation to 39x profile migration 2024-09-21 19:00:14 +01:00
Dev
47a7ccdfdd Added logging when profile migration completes 2024-09-21 12:45:49 +01:00
Dev
acb6762181 Added ability to track profile migrations in profile
Stored when 39x profiles are migrated
2024-09-21 10:51:52 +01:00
Dev
0fa22f0349 Reworked hideout code to remove all buffs/debuffs from profile after completing hideout wall
Added code to be run when 39x profiles are migrated

Renamed `checkAndUpgradeWall` to `SetWallVisibleIfPrereqsMet`
2024-09-21 10:34:45 +01:00
DrakiaXYZ
5217f7caed Resolve issue where most bonuses are cleared on wall completion (!412)
- Resolves issue where the player stash template ends up being reset to base, resulting in an incorrect stash size calculation

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/412
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-09-21 08:56:04 +00:00
Dev
71711f0c0d Pass bitcoin production into updateBitcoinFarm() function for modification instead of returning it 2024-09-20 17:32:58 +01:00
Dev
f333d45d70 Do not progress bitcoin production when power is off
Small cleanup of function to reduce nesting and duplication
2024-09-20 17:24:22 +01:00
Dev
23570f4e2a Hmm 2024-09-20 16:43:00 +01:00
Dev
b6b147f439 Renamed function to clear up its purpose startPostRaidInsuranceLostProcess 2024-09-20 16:38:19 +01:00