DrakiaXYZ
e00dcc719c
Fix examining item in hideout upgrade panel exception
2025-10-11 21:19:32 -07:00
Chomp
e5d0af3890
Formatting and naming consistency changes
2025-09-02 14:27:10 +01:00
Archangel
7e2e3db3fd
Change property naming to be more consistent ( #578 )
2025-08-28 15:32:02 +02:00
Chomp
07504d406e
Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions
2025-08-15 11:24:10 +01:00
Lacyway
d468848b0c
Improve MongoIds ( #537 )
...
* Mongoid improvements pt1
* Format Style Fixes
* Fix incorrect string
* Fix != comparison
---------
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com >
2025-08-09 11:50:49 +01:00
Chomp
ec2cc78b2a
Inventory code cleanup
2025-08-05 23:48:10 +01:00
Chomp
8abb25f508
Improved AddItemsToStash
...
Create Add item request once and reassign `ItemWithModsToAdd` inside loop
2025-08-05 23:20:00 +01:00
Chomp
3b4bcaf910
Made use of AddUpd extension
2025-08-05 15:56:23 +01:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +00:00
Chomp
1d0f6ce105
Added logging around cult circle reward handling
2025-07-23 16:28:41 +01:00
Chomp
a1e0dadd08
Part 2 of list to ienumerable
2025-07-23 15:55:28 +01:00
Chomp
db34eaa501
Updated various methods to accept IEnumerable instead of List
2025-07-23 10:57:49 +01:00
Chomp
731b79519f
Rename method to GetItemWithChildren
2025-07-22 20:43:08 +01:00
Chomp
9a92440b31
Simplified IsVertical()
2025-07-19 22:33:37 +01:00
Chomp
d7f83e1b7d
Micro-optimisations
...
Moved `GetInventoryItemHash` to extensions and rewrote to make better use of linq
2025-07-19 11:11:59 +01:00
Chomp
38fb2454c7
Various micro-optimisations
2025-07-18 16:05:29 +01: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
61f62f191d
Converted more strings to mongoIds and fixed issue with buying items from pmcs on flea
2025-07-07 11:56:19 +01:00
Cj
3817d6cca4
Helpers Mongoid conversion + cleanup ( #458 )
...
* Start converting helper method ids to mongoids and remove underscore from injections...
* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Chomp
4f5571c2d4
Converted more ids to MongoId
2025-07-05 12:35:03 +01:00
Chomp
8837c26584
Fixed traders purchases not working
2025-07-04 14:10:12 +01:00
Chomp
c8b8669546
Cleaned up Inventory helper and improved readability
2025-07-04 09:23:41 +01:00
Archangel
79489eadce
Handle ToLower neutrally across all locales ( #412 )
2025-07-03 18:28:36 +02:00
Chomp
f2cebc4f88
Pass correct mongo id as parameter
2025-07-03 16:37:45 +01: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
020cfa7ab8
Cleaned up GetStashSlotMap and related sub functions
2025-07-03 13:13:59 +01:00
Chomp
83d35b4555
Fixed item deletion error - Use separate record for item deletions
2025-07-03 10:37:12 +01:00
Chomp
a8308248d6
Replaced hashutil.generate with new MongoId()
2025-07-02 12:47:00 +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
Chomp
42e79c981b
Converted FindAndReturnChildrenAsItems into extension method
2025-06-28 12:38:34 +01:00
Jesse
22c71bee5b
Helper methods extensions ( #431 )
...
* Remove unused model
* Start moving methods to extensions, cleanup code
2025-06-28 12:14:50 +01:00
Chomp
a3dbd3176e
Updated FindAndReturnChildrenByItems to be an extension method
2025-06-28 11:58:50 +01:00
Chomp
6126dc2394
Added item extensions
2025-06-28 10:04:52 +01:00
Chomp
8fbae0d090
Fixed Mod items with children that alter their size not having their size calculated correctly #430
...
Renamed variables to improved readability
2025-06-27 12:58:24 +01:00
refringe
6e01428b2b
.NET Format Style Fixes
2025-06-18 17:09:20 +00: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
Chomp
b904e18456
Improved GetContainerMap access of an array by index + some formatting issues
2025-05-03 15:44:40 +01:00
CWX
7d3833c27f
Update var naming to be easier to read
2025-05-03 13:07:05 +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
9fb8b62630
remove logs
2025-04-29 12:45:36 -05:00
Chris Adamson
de38f1fe88
try just the enum
2025-04-29 10:57:12 -05:00
Chomp
760f3e3c72
Revert "fixed error where itemlocation can be either a string or int"
2025-04-29 08:47:44 +01:00
Chris Adamson
723e616e80
fixes based on feedback
2025-04-28 12:43:11 -05:00
Chris Adamson
7ed081d305
fixed error where itemlocation can be either a string or int
2025-04-28 12:07:46 -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
7187ab999a
Dont flag ammo or currency as FiR
2025-03-28 11:56:35 +00:00
Chomp
df8ffa2b16
Replaced various instances of dictionaries and hashsets with their frozen counterparts
2025-03-09 17:12:07 +00:00