Commit Graph

253 Commits

Author SHA1 Message Date
Chomp 85b47f494e Made ammo not require Found in Raid for daily quests #401 2025-07-27 16:31:29 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
Chomp bfd616e7c3 Converted rewards data into dictionary - reduced need for reflection
Moved clone outside of `UpdateQuestsForGameEdition`
2025-07-26 12:53:56 +01:00
Chomp b1aa8f0942 Removed unnecessary ?? 2025-07-25 20:09:07 +01:00
Chomp ab770e795f Improved stale offer processing
Pass offer creation info into methods for quicker checking

Removed unused methods
2025-07-25 12:41:41 +01:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
Archangel 384381f57e Make ItemLacksSlotsCartridgesAndChambers more robust, migrate to extension 2025-07-24 22:46:23 +02:00
Chomp 1f6231ce6b Improved readability of GetRelativePmcBotLevelRange 2025-07-24 18:16:13 +01:00
sp-tarkov-bot 68f95db26a .NET Format Style Fixes 2025-07-24 15:05:49 +00:00
Chomp 2c5420f3db list to ienumerable 2025-07-24 16:05:14 +01:00
sp-tarkov-bot 99a4b7cbba .NET Format Style Fixes 2025-07-24 12:27:13 +00:00
Chomp f562c634a7 Converted lists to hashsets where appropriate
Removed unnecessary uses of  ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp 6079e282f5 List to ienumerable conversions 2025-07-24 11:36:42 +01:00
sp-tarkov-bot 95420acd3d .NET Format Style Fixes 2025-07-24 08:40:50 +00:00
Chomp e77e910cd4 Cleaned up ItemFilterService:
Removed dupe methods
Removed use of clone
Added `AddItemToBlacklistCache` and `AddItemToLootableBlacklistCache`
2025-07-24 09:40:17 +01:00
Chomp 10ad2dfe9a list to ienumerable changes 2025-07-23 22:07:56 +01:00
sp-tarkov-bot cc68af0511 .NET Format Style Fixes 2025-07-23 14:56:02 +00:00
Chomp a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
sp-tarkov-bot 0faa65a560 .NET Format Style Fixes 2025-07-23 12:07:24 +00:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +01:00
Chomp db34eaa501 Updated various methods to accept IEnumerable instead of List 2025-07-23 10:57:49 +01:00
Chomp 829f227579 Improved null check against mongoId 2025-07-23 08:51:38 +01:00
Chomp 731b79519f Rename method to GetItemWithChildren 2025-07-22 20:43:08 +01:00
Alex 5bbf671acd Refactored unit tests to use NUnit and added DI usage 2025-07-22 19:41:34 +01:00
Chomp 02b0c23cba Created CreateFleaOfferDetails 2025-07-21 14:38:00 +01:00
Chomp 3901a91f45 Improved how ragfair offer creator status is checked - store creator type in offer
Converted `IsTraderOffer` into extension method
string to mongoid conversions
2025-07-21 13:36:51 +01:00
Chomp 776c5454ad Fixed pmc loot overrides from bear/usec.json not applying correctly 2025-07-20 11:35:07 +01:00
Chomp 80e0637b26 string to mongoid conversion
Removed unnecessary nulls

Cleaned up access levels for methods in `BotGenerator`
2025-07-20 11:33:25 +01:00
Chomp 737776c99d Made use of Math.Clamp to simplify logic across server
Made all fence rep clamping use min/max values from config instead of magic values
2025-07-20 10:29:34 +01:00
Chomp d7f7d6c3c6 Renamed variable to ensure consistency 2025-07-19 23:08:46 +01:00
Chomp 5142f6b689 Reduce allocations inside AddAmmoToSecureContainer 2025-07-19 22:51:21 +01:00
Chomp 02d079985f Updated pmc dogtag generation systems to use weights + prestige tags 2025-07-19 22:26:22 +01:00
Chomp 43cc325da2 Removed unnecessary clone of db when generating flea offers 2025-07-19 14:08:29 +01:00
Chomp 0e72f9e21c Generate player scav items using "assault" randomisation settings 2025-07-18 16:21:54 +01:00
chompDev 67b886127c .NET Format Style Fixes 2025-07-18 15:06:05 +00:00
Chomp 38fb2454c7 Various micro-optimisations 2025-07-18 16:05:29 +01:00
Chomp 50f684537d Expanded max loot in pmc container systems
Now allows for per-map multipliers + pocket + vest loot uses same level-based value as backpack

labs multiplier = 2
labyrinth = 4

Removed nullability from some properties
2025-07-17 18:25:31 +01:00
Chomp b94d625362 string to mongoId + Various small refactors 2025-07-16 21:29:35 +01:00
chompDev 4393feaafa .NET Format Style Fixes 2025-07-16 13:57:00 +00:00
Chomp dfe39a0395 Fixed typo + use FirstOrDefault instead of direct index access 2025-07-16 14:56:24 +01:00
Chomp fdfbf66c1b Removed unncessary nulls 2025-07-16 13:26:09 +01:00
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +01:00
chompDev 1b2b2c04f9 .NET Format Style Fixes 2025-07-15 09:38:23 +00:00
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
chompDev c8faa33b51 .NET Format Style Fixes 2025-07-14 21:30:15 +00:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 5ef2271a29 Converted collections to their frozen counterparts for improved lookup speed 2025-07-14 19:56:20 +01:00
Chomp 3aa13dd46b Removed reflection from AdjustBotAppearanceValues
More string to MongoId conversions
2025-07-14 18:42:42 +01:00
Chomp 0ec5aeab91 Removed FilterBlacklistedGear, same functionality can be done via editing the equipment's weighting to 0 2025-07-14 17:57:32 +01:00
Chomp 4d1ef0d326 Improved FilterBlacklistedGear logic 2025-07-14 17:41:25 +01:00