Commit Graph

281 Commits

Author SHA1 Message Date
Yui 9cedaeec2e Checks missing LoyalLevelItems for trader item on flea offer generation 2025-11-06 14:13:14 -03:00
Chomp ca7733246d Fixed fuel listings being either min or max, now chooses variable amount 2025-11-04 10:11:44 +00:00
Chomp b92aedbc0c Fixed player scav not having correct HP values on limbs #642 2025-10-31 18:24:30 +00:00
Chomp ab882617d7 Generate weapon/armor price based on the child item price total 2025-10-30 22:13:53 +00:00
sp-tarkov-bot 331162e141 Format Style Fixes 2025-10-10 11:27:26 +00:00
Chomp 57a1b16505 Improved handling of ammo pick when data not found in bot json 2025-10-10 12:26:34 +01:00
Cj cf29c7bde3 Merge pull request #601 from sp-tarkov/repeatable-completion-quests
Repeatable completion quest level ranges
2025-10-02 19:02:05 +00:00
Chomp 192d157f2a Correctly set pmc Aid to 0 on generation 2025-10-01 10:35:26 +01:00
Cj 040b4cd618 Repeatable quest warning fixes 2025-10-01 05:12:20 -04:00
Cj b5448ccf09 Fix another bad refactor... 2025-10-01 03:54:58 -04:00
Cj a7eeda3aa6 Fix bad refactor - Thanks rider 2025-10-01 03:48:22 -04:00
Chomp 586128aab8 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 07:35:43 +00:00
Cj c95446bb20 Implement level ranged Exploration objective generation 2025-10-01 02:58:20 -04:00
Lacyway f083cfe3b0 Fix missing culture invariant in parse 2025-10-01 08:24:09 +02:00
Cj e57f03bd28 - Add min extract requirement property
- Fix warnings
- Convert string to mongoId
2025-10-01 01:51:57 -04:00
Chomp 836112dc50 Weather refactor (#596)
* First pass at Weather generation refactor

* Moved generation logic around

* Added seasonal variability support

* Expanded weather generation to use DI system and allow easier modding

* Updated weather weight values

Converted records into classes

* Added fallback when generator isn't found

* Fixed colliding lambda

Added method comments

* Cleanup of weather code

* Adjusted `weatherPresetWeight` values

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-09-30 12:23:46 +00:00
Chomp 4a1061d183 Cleaned up if check inside GetWeatherValuesBySeason 2025-09-29 13:31:25 +01:00
sp-tarkov-bot f2eb062c0c Format Style Fixes 2025-09-26 12:39:38 +00:00
Chomp ecc0ba8406 Cleanup of warnings 2025-09-26 13:38:47 +01:00
Cj 35b595cff0 Prefer Count over Any() 2025-09-18 14:19:11 -04:00
Chomp 45237693f8 Fixed issue with GenerateExtraPropertiesForItem not returning Upd object 2025-09-14 16:39:47 +01:00
Chomp ee1cca6330 Force StackObjectCount property to be added to:
Bot equipment
Bot loot
Player scav additional loot items

Emulates what we see in live data
2025-09-14 10:20:24 +01:00
sp-tarkov-bot a61738b7f3 Format Style Fixes 2025-09-08 15:42:24 +00:00
Chomp 3af494317c Reduced number of params throughout bot generation process 2025-09-08 16:41:25 +01:00
Chomp 4830f1e2b2 Removed filledContainerIds system as its handled by botInventoryContainerService 2025-09-08 15:52:36 +01:00
sp-tarkov-bot 49ec6c2b9a Format Style Fixes 2025-09-06 18:06:50 +00:00
Chomp 495660bec3 Expanded UBGL ammo placement to try pockets if rig placement fails - fixes partisan not having any ubgl ammo 2025-09-06 19:05:54 +01:00
Chomp bf60770aa5 Comment improvements + deconstructed dictionary loop 2025-09-05 10:08:46 +01:00
sp-tarkov-bot bb625f76aa Format Style Fixes 2025-09-02 13:28:01 +00: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
Archangel 6dacfde715 Change prop method naming to be more consistent 2025-08-28 15:38:36 +02:00
sp-tarkov-bot db8af3c88f Format Style Fixes 2025-08-28 13:33:02 +00:00
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
Chomp b5ff9106ae Reduced logging to debug: GetAggressorBonusByDifficulty and GetStandingChangeForKillByDifficulty + improved message text
Inverted logic so happy path is first
2025-08-27 14:13:14 +01:00
Chomp fd7a576b0c use voiceId value directly when generating a bot + updated type to use mongoid 2025-08-23 18:23:17 +01:00
Chomp 1df80171eb Added new property to profiles 2025-08-23 14:34:53 +01:00
Chomp 100c3a7b47 Cleaned up SetScavCooldownTimer 2025-08-19 12:04:35 +01:00
Chomp 7eb88646f2 Second attempt at fixing prestige issue #558 2025-08-19 12:04:15 +01:00
Chomp bb566e32ad Fixed pscav generation failure during prestige #556 2025-08-19 10:28:50 +01:00
Chomp 8573e6ae02 Use string.empty and MongoId.Empty() where appropriate 2025-08-17 21:35:34 +01:00
sp-tarkov-bot ab114352ea Format Style Fixes 2025-08-16 23:31:11 +00:00
Chomp 3c8634edd7 Improved saftey of adjusting values when using randomistionDetails.NighttimeChanges.EquipmentModsModifiers 2025-08-16 14:38:02 +01:00
Chomp d94490b52f Added functionality to force PMCs to wear specific armband - default enabled
usec = blue
bear = red
2025-08-16 14:37:06 +01:00
Chomp 07504d406e Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions 2025-08-15 11:24:10 +01:00
Chomp b061200803 Refactor of how bot loot has its position picked to improve performance (#548)
* Initial work on moving container space checks into new class

* Updated tests

Wired up service to save item into inventory when space is found

Updated `FillContainerMapWithItem` to return outcome and not throw exception on failure

Add containers to bot when generating bot equipment

Clean bot cache after completion of loot generation

Removed redundant code from `AddItemWithChildrenToEquipmentSlot`

Removed unnecessary Singleton status from `BotInventoryContainerService`

* Clean-up of service

* Add botId xml docs

* Updated documentation for `FillContainerMapWithItem`

* Code review fixes and improvements

* Remove TODO

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-08-13 15:35:57 +00:00