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
Chomp
ab7cdd63ba
Use same item size method as airdrop loot
2025-05-02 19:53:57 +01:00
Chomp
344ea6de35
Moved container methods around
...
Added code to validate items fit into airdrop crate
Updated `CreateForcedLoot` and `CreateRandomLoot` to return items with their children
Updated `SetFoundInRaid` to not add a upd to money/currency if it doesn't already have one
2025-05-02 19:48:28 +01:00
Chris Adamson
de38f1fe88
try just the enum
2025-04-29 10:57:12 -05:00
CWX
7c7297f63c
Code cleanup and format
2025-04-22 14:49:05 +01:00
Chomp
6faa69964d
Improved comments inside GetSizeByInventoryItemHash and string comparisons
2025-04-20 19:00:52 +01:00
Chomp
b281254bff
Cleaned up AddLootToContainer
2025-04-20 16:31:14 +01:00
Chomp
d1bdb7b99d
Added early exit to AddLootToContainer when 0 loot item count is picked
2025-04-20 15:12:06 +01:00
Chomp
34cd52454d
Made GetLooseLootMultiplierForLocation and GetStaticLootMultiplierForLocation safer
2025-03-28 16:14:35 +00:00
Chomp
0fa2c827e5
Simplified logic
2025-03-28 16:09:43 +00:00
Chomp
b85a9eeb86
Fixed GenerateStaticContainers failure when checking if map has randomised container settings
2025-03-28 16:02:46 +00:00
Chomp
69e841e52c
Correctly pass a double into FillMagazineWithRandomCartridge
2025-03-08 10:05:08 +00:00
clodan
270f095413
renamed projects and namespaces
2025-03-07 13:16:43 +00:00