Chomp
bf60770aa5
Comment improvements + deconstructed dictionary loop
2025-09-05 10:08:46 +01:00
Chomp
e5d0af3890
Formatting and naming consistency changes
2025-09-02 14:27:10 +01:00
Chomp
b563bf1feb
Improved method comments
...
Small type improvements
2025-09-02 11:01:16 +01:00
Chomp
0983748201
Improved safety of accessing static loot dictionary inside GetPossibleLootItemsForContainer
...
Moved code around for tiny optimisation
2025-09-02 10:50:00 +01:00
Chomp
561cb81c03
string to mongoID conversion
2025-09-02 10:45:10 +01:00
Chomp
440b63a5e0
Updated property nullability inside GenerateStaticMagazineItem
2025-09-02 10:39:58 +01:00
Chomp
c4297aa30c
MongoId conversion for GetPossibleLootItemsForContainer
2025-09-02 10:39:15 +01:00
Chomp
07504d406e
Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions
2025-08-15 11:24:10 +01:00
Chomp
6b297adf68
Replaced ProbabilityObjectArray.Draw() with DrawAndRemove Draw
...
Reduced overhead when drawing a large number of elements during loot generation
2025-08-06 17:52:49 +01:00
Chomp
8e961633d4
string > mongoId conversion
2025-08-06 15:22:37 +01:00
Archangel
d78e8af42c
Remove additional cloner
2025-08-06 15:34:21 +02:00
Archangel
8a4f2a297b
Remove loot cloners and make LazyLoad return a new result each request
2025-08-06 15:33:11 +02:00
Chomp
2a56f3811c
Updated LocationLootGenerator ctor parameter formatting
2025-07-28 23:02:35 +01:00
Chomp
a72860e33a
Small cleanup to loop inside GenerateStaticContainers
2025-07-28 22:24:27 +01:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +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
10ad2dfe9a
list to ienumerable changes
2025-07-23 22:07:56 +01:00
Chomp
a1e0dadd08
Part 2 of list to ienumerable
2025-07-23 15:55:28 +01:00
Chomp
1320f7d0ab
Ienumerable changes
2025-07-23 13:06:48 +01:00
Chomp
731b79519f
Rename method to GetItemWithChildren
2025-07-22 20:43:08 +01:00
Chomp
d7f7d6c3c6
Renamed variable to ensure consistency
2025-07-19 23:08:46 +01:00
Chomp
fa674d6add
Converted RemapRootItemId into extension method
2025-07-05 17:46:58 +01:00
Chomp
f140e1e106
Converted ReplaceIDs into extension method
2025-07-05 17:25:59 +01:00
Chomp
8253215410
Converted strings into MongoId type
2025-07-05 11:03:09 +01:00
Archangel
79489eadce
Handle ToLower neutrally across all locales ( #412 )
2025-07-03 18:28:36 +02:00
Chomp
4e2d4dc708
Rewrote container item space system to use 2 dimensional arrays ( #442 )
...
* Rewrote container item space system to use 2 dimensional arrays
* Moved container helper code into extension methods
* Reduced amount of parameters passed into `RowIsFull`
* Skip root trader items
* Remove debug
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-07-03 16:36:13 +01:00
Jesse
ebe8f9ded5
Mongoid changes ( #440 )
...
* Remove old IsValidMongoId and Regex
* Convert more configs to MongoId, as well as BaseClasses
* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
Chomp
a8308248d6
Replaced hashutil.generate with new MongoId()
2025-07-02 12:47:00 +01:00
Chomp
18bdd203dd
Fixed invalid comparision of IDs
2025-07-02 10:56:39 +01:00
Jesse
54f0d0779c
Convert TemplateItem to MongoId ( #436 )
...
* Convert TemplateItem to MongoId
* Push new extensions
* Handle null mongoid's being passed to regex
* Handle null strings, fixes item events
* Updated loot generation to work with new property `composedKey`
Fixed typo in `SlotId`
* Fix missing method after merge
* Remove duplicately named MongoIDExtensions?
* Fixed location loot generation to handle impending loot json changes
* Updated location JSONs with new properties (excluding lighthouse loose loot)
* Fixed build issue with ItemTplGenerator
* use correct handing for new mongo ids
* Added helper method to improve readability
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-07-02 10:14:04 +01:00
Jesse
6ac747d18d
Begin converting some id's to MongoId ( #435 )
...
* Begin converting some id's to MongoId
* Remove nullability on MongoId's
* Update trader MongoId's
2025-06-30 15:25:47 +01:00
Jesse
5686f4a486
Remove I18nService, migrate to renamed ServerLocalisationService ( #433 )
...
* Remove I18nService, migrate to renamed ServerLocalisationService
* Revert VS fuckup
* Update using
* Remove unused parameter, update comment
* Fix develop branch not building
2025-06-28 19:08:42 +01:00
chompDev
d4d2ed0403
.NET Format Style Fixes
2025-06-28 15:15:48 +00:00
Jesse
d0af6acbe6
Move MathUtil methods to extensions ( #432 )
...
* Begin moving MathUtil methods to Extensions
* Add missing extension
2025-06-28 16:15:11 +01:00
Chomp
42e79c981b
Converted FindAndReturnChildrenAsItems into extension method
2025-06-28 12:38:34 +01:00
chompDev
d7b61e857c
.NET Format Style Fixes
2025-06-22 08:12:25 +00:00
Chomp
8477cc6485
Refactored AddForcedDynamicLoot
2025-06-22 09:11:50 +01:00
chompDev
10880881b4
.NET Format Style Fixes
2025-06-22 07:43:05 +00:00
Chomp
a266556b3c
Rename method for better clarity as to its purpose
2025-06-22 08:42:30 +01:00
chompDev
81692bec65
.NET Format Style Fixes
2025-06-22 07:37:40 +00:00
Chomp
34d4de1d54
Fixed nullref in loot generation when Location has no item limits
2025-06-22 08:35:58 +01:00
chompDev
c3463098be
.NET Format Style Fixes
2025-06-21 14:16:39 +00:00
Chomp
1c207568a5
Moved loot generation logic from LocationLifecycleService into LocationLootGenerator
2025-06-21 15:16:01 +01:00
chompDev
203e30a637
.NET Format Style Fixes
2025-06-21 13:45:45 +00:00
Chomp
21bd868abe
Added ability to track loot items and prevent more than a pre-defined amount from spawning
...
Replaced `location.json` `forcedLootSingleSpawnById` with `lootMaxSpawnLimits`
Added 5 item limit to `Labrys research notes` #290
2025-06-21 14:45:08 +01:00
refringe
6e01428b2b
.NET Format Style Fixes
2025-06-18 17:09:20 +00:00
Chomp
039c1fe678
Minor cleanup of LocationLootGenerator
2025-06-15 11:20:07 +01:00
Chomp
1d5162c761
Various changes and fixes for things that have been bugging me
...
Removed/flagged unused props
Typo fixes
Use `FirstOrDefault` over direct index access
Log stacktrace on exception inside `CreateWeaponItems`
2025-06-08 10:40:40 +01:00
Alex
1499627d3c
DI completely reworked to keep status of singletons on multi type components
2025-05-06 10:52:22 +01:00
CWX
9bfd051725
dont calculate size twice
2025-05-03 13:06:46 +01:00