Commit Graph

3034 Commits

Author SHA1 Message Date
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
CWX 51430d55c9 Update EditorConfig for max length of 140 2025-07-28 20:38:35 +01:00
Chomp 9db4f65002 forgot a file 2025-07-28 15:11:05 +01:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp 85b47f494e Made ammo not require Found in Raid for daily quests #401 2025-07-27 16:31:29 +01:00
Chomp b1fb8ab57a Updated MongoId to implement IComparable<MongoId> 2025-07-27 14:19:38 +01:00
Chomp a1b1c6d815 Updated string to mongoId 2025-07-27 13:31:46 +01:00
Chomp 773966240f Fixed GenerateWeaponByTpl_generate_m4_pmc 2025-07-27 13:11:31 +01:00
Chomp 7711af53f4 Remove unnecessary conversion to mongoid 2025-07-27 12:57:51 +01:00
Chomp 680ab40499 Inverted if check to reduce nesting 2025-07-27 12:56:45 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
Chomp e0ae465bac Merge pull request #522 from R3ality/json-adjustments
Json adjustments (spelling/grammar, key name refactor)
2025-07-27 11:14:42 +00:00
R3ality a5c2fb08e6 Style: Satisfy csharpier 2025-07-27 13:54:54 +03:00
R3ality 82efbfc7db Refactor Json key name to offerCurrencyChancePercent 2025-07-27 13:36:38 +03:00
R3ality 7733d2df96 Fix typo in locationMultipler 2025-07-27 13:15:37 +03:00
R3ality b5b24b2003 Fix typo in traderPriceMultipler 2025-07-27 13:04:50 +03:00
Chomp 26dcc6320d Merge pull request #521 from R3ality/json-adjustments
Json adjustments (spelling, grammar)
2025-07-27 09:11:55 +00:00
R3ality 6dc35d732d Rebase onto formatted Jsons (conflict resolve) 2025-07-27 11:41:08 +03:00
R3ality 765adcac5e Fix typo in priceThreshholdRub 2025-07-27 11:38:54 +03:00
R3ality 8c52c15d6e Fix typo in handbookPriceMultipier 2025-07-27 11:38:53 +03:00
R3ality 9eaa46e024 Fix typo in skillGainMultiplers 2025-07-27 11:38:35 +03:00
R3ality 08a279c4e4 Fix typo in cultistCircle.craftTimeThreshholds 2025-07-27 11:38:12 +03:00
R3ality 8e20a97d5d Fix typo in cultistCircle.rewardPriceMultiplerMinMax 2025-07-27 11:38:11 +03:00
sp-tarkov-bot b45d5befb1 Format Style Fixes 2025-07-27 08:06:42 +00:00
Chomp f1a46de6f2 Merge pull request #520 from sp-tarkov/json-formatting
Automatic JSON Formatting Workflow
2025-07-27 08:05:53 +00:00
Refringe c5198ccd22 Automatic JSON Formatting Workflow
This change alters the existing format workflow to include another job that handles formatting JSON files. The JSON files are formatted using BiomeJS. The BiomeJS config file is dynamically created before Biome runs and removed after. This uses the existing `.editorconfig` settings as defaults, allowing overwrites and additional Biome configurations within the workflow file.

Current JSON formatting rules:
- end_of_line = lf
- insert_final_newline = true
- indent_style = space
- trim_trailing_whitespace = true
- charset = utf-8
- indent_size = 2
- trailingCommas = none
- bracketSpacing = true
- expand = always

The existing Csharpier job runs at the same time as the new Biome job. The results (changes made) in each job are compressed into an artifact and downloaded into a final job that combines them and commits them back into the project (if there are changes, and if the workflow is not triggered within a PR).
2025-07-26 19:21:15 -04:00
Chomp b74adca201 Merge pull request #519 from R3ality/json-adjustments
Json adjustments (duplicate entries, minor file rename)
2025-07-26 21:44:36 +00:00
R3ality 2280d0db3e File name capitalization change for consistency 2025-07-26 22:52:50 +03:00
R3ality 5f252f8a46 Remove duplicate K/V in lootMaxSpawnLimits.bigmap 2025-07-26 22:52:50 +03:00
R3ality 6d43e46814 Remove duplicate assignment for laboratory in mapInfectionAmount 2025-07-26 22:52:49 +03:00
Chomp 96be35d2c1 FIxed skill check error in GetCompleteProfile 2025-07-26 12:54:46 +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 8aff434933 Merge pull request #517 from CJ-SPT/skill-fix
Fix sending invalid skill information to client
2025-07-26 09:32:56 +00:00
Chomp 56a6bde1e1 Refactored how fence assorts are generated
Removed root items from pool as they're picked
Removed unnecessary ToList()
Added exit when there's no more root items to pick
2025-07-26 10:29:15 +01:00
Chomp 26d17d7413 Added AR-15 5.56x45 Magpul PMAG D-60 STANAG 60-round magazine to fence single stack list 2025-07-26 10:24:58 +01:00
Cj a9c20e57a3 Check skills when sending profile to client 2025-07-26 00:24:48 -04:00
Chomp 40b478b08c Revert debug logging 2025-07-25 22:33:35 +01:00
Chomp 526c3f6c44 string > mongoid
added nullguard
2025-07-25 21:12:37 +01:00
Chomp 68c89fcc00 Added ak50 to PMCs level 50+ 2025-07-25 21:11:13 +01:00
Chomp b1cdf99688 Flagged effects as possibly null 2025-07-25 20:23:39 +01:00
Chomp 1cf5a6283c Improved MongoId Equals logic 2025-07-25 20:22:15 +01:00
Chomp 6209f55baf Simplified .Contains/.Add use 2025-07-25 20:19:29 +01:00
Chomp ef50c3fea1 Condensed code with use of ?? 2025-07-25 20:15:52 +01:00
Chomp 5cfb1421c7 Removed unnecessary ?? 2025-07-25 20:13:50 +01:00
Chomp b1aa8f0942 Removed unnecessary ?? 2025-07-25 20:09:07 +01:00
Chomp 8a7690e13b Improved performance of GetRandomElement when processing IEnnumerables 2025-07-25 18:26:09 +01:00
Chomp 834666a403 Created overload of ItemHasBaseClass that accepts one base type input, faster for 70% of use cases 2025-07-25 17:22:59 +01:00
Chomp 457a135a91 Improved performance of root node check by caching root nodes as hashset 2025-07-25 15:58:52 +01:00
Chomp 856fa0633d List to IEnumerable changes
Removed use of tolist()
2025-07-25 15:57:57 +01:00
Chomp 4d35f639ef Merge pull request #515 from sp-tarkov/converter-fixes
Converter fixes
2025-07-25 14:45:20 +00:00