Skip to content

Commit 9c9bdd6

Browse files
committed
Merge tag '4.0.4'
2 parents fe04661 + 1cfe159 commit 9c9bdd6

File tree

24 files changed

+536
-185
lines changed

24 files changed

+536
-185
lines changed

Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<!-- SPT specific -->
4-
<SptVersion Condition="'$(SptVersion)' == ''">4.0.2</SptVersion>
4+
<SptVersion Condition="'$(SptVersion)' == ''">4.0.3</SptVersion>
55
<SptCommit Condition="'$(SptCommit)' == ''">a12b34</SptCommit>
66
<SptBuildTime Condition="'$(SptBuildTime)' == ''">0000000000</SptBuildTime>
77
<SptBuildType Condition="'$(SptBuildType)' == ''">LOCAL</SptBuildType>

Libraries/SPTarkov.Reflection/Patching/ModPatchCache.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ namespace SPTarkov.Reflection.Patching;
33
/// <summary>
44
/// Cache of active patches for mod developers to use for compatibility reasons
55
/// </summary>
6+
[Obsolete("Patches will be injectable through IEnumerable<IRuntimePatch> in SPT 4.1, making this redundant")]
67
public static class ModPatchCache
78
{
89
private static readonly List<AbstractPatch> _activePatches = [];
@@ -22,6 +23,7 @@ public static class ModPatchCache
2223
/// <remarks>
2324
/// This should never be called before PreSptLoad is completed, otherwise could be empty.
2425
/// </remarks>
26+
[Obsolete("Patches will be injectable through IEnumerable<IRuntimePatch> in SPT 4.1, making this redundant")]
2527
public static IReadOnlyList<AbstractPatch> GetActivePatches()
2628
{
2729
// We're not exposing _activePatches so it cant be altered outside of this class. Do NOT implement this as a property.
@@ -38,6 +40,7 @@ public static IReadOnlyList<AbstractPatch> GetActivePatches()
3840
/// <remarks>
3941
/// This should never be called before PreSptLoad is completed, otherwise could be empty.
4042
/// </remarks>
43+
[Obsolete("Patches will be injectable through IEnumerable<IRuntimePatch> in SPT 4.1, making this redundant")]
4144
public static List<string> GetActivePatchedMethodNames()
4245
{
4346
var result = new List<string>();

Libraries/SPTarkov.Server.Assets/SPT_Data/configs/bot.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,10 +2895,19 @@
28952895
"bossKilla",
28962896
"bossKojaniy",
28972897
"bossSanitar",
2898-
"bossKolontay",
2899-
"bossKnight"
2898+
"bossKolontay"
29002899
],
29012900
"resetDay": "Monday"
29022901
},
2902+
"goonSpawnSystem": {
2903+
"enabled": true,
2904+
"locationPool": [
2905+
"bigmap",
2906+
"woods",
2907+
"shoreline",
2908+
"lighthouse"
2909+
],
2910+
"spawnChance": 35
2911+
},
29032912
"replaceScavWith": "assault"
29042913
}

Libraries/SPTarkov.Server.Assets/SPT_Data/configs/item.json

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
"679baa2c61f588ae2b062a24",
6262
"679baa4f59b8961f370dd683",
6363
"679baa5a59b8961f370dd685",
64-
"679baa9091966fe40408f149"
64+
"679baa9091966fe40408f149",
65+
"67ab3d4b83869afd170fdd3f"
6566
],
6667
"bossItems": [
6768
"6275303a9f372d6ea97f9ec7",
@@ -475,6 +476,74 @@
475476
"_name": "FN SCAR-H X-17 762x51 default",
476477
"_parent": "679f5f42ca975ceee4001927",
477478
"_type": "Preset"
479+
},
480+
{
481+
"_changeWeaponName": false,
482+
"_encyclopedia": "67d0576f29f580ebc10efd08",
483+
"_id": "690a065b64b2a3bab0a986da",
484+
"_items": [
485+
{
486+
"_id": "690a06bc6c65be6d001b4cd1",
487+
"_tpl": "67d0576f29f580ebc10efd08",
488+
"upd": {
489+
"Repairable": {
490+
"Durability": 100,
491+
"MaxDurability": 100
492+
}
493+
}
494+
},
495+
{
496+
"_id": "690a06bc6c65be6d001b4d0a",
497+
"_tpl": "67d4178bffb910d21f04720a",
498+
"parentId": "690a06bc6c65be6d001b4cd1",
499+
"slotId": "mod_barrel"
500+
},
501+
{
502+
"_id": "690a06bc6c65be6d001b4d18",
503+
"_tpl": "67d417c023ec241bb70d4896",
504+
"parentId": "690a06bc6c65be6d001b4d0a",
505+
"slotId": "mod_gas_block"
506+
},
507+
{
508+
"_id": "690a06bc6c65be6d001b4d32",
509+
"_tpl": "67d41883f378a36c4706eeb7",
510+
"parentId": "690a06bc6c65be6d001b4d0a",
511+
"slotId": "mod_muzzle"
512+
},
513+
{
514+
"_id": "690a06bc6c65be6d001b4d3b",
515+
"_tpl": "67d416e19bd76ef20f0e743b",
516+
"parentId": "690a06bc6c65be6d001b4cd1",
517+
"slotId": "mod_reciever"
518+
},
519+
{
520+
"_id": "690a06bc6c65be6d001b4d43",
521+
"_tpl": "5aa66a9be5b5b0214e506e89",
522+
"parentId": "690a06bc6c65be6d001b4d3b",
523+
"slotId": "mod_scope"
524+
},
525+
{
526+
"_id": "690a06bc6c65be6d001b4d4b",
527+
"_tpl": "5aa66be6e5b5b0214e506e97",
528+
"parentId": "690a06bc6c65be6d001b4d43",
529+
"slotId": "mod_scope"
530+
},
531+
{
532+
"_id": "690a06bc6c65be6d001b4d5c",
533+
"_tpl": "6087e663132d4d12c81fd96b",
534+
"parentId": "690a06bc6c65be6d001b4cd1",
535+
"slotId": "mod_pistol_grip"
536+
},
537+
{
538+
"_id": "690a06bc6c65be6d001b4d65",
539+
"_tpl": "67d418d0ffb910d21f04720e",
540+
"parentId": "690a06bc6c65be6d001b4cd1",
541+
"slotId": "mod_magazine"
542+
}
543+
],
544+
"_name": "AK-50 .50 BMG sniper rifle default",
545+
"_parent": "690a06bc6c65be6d001b4cd1",
546+
"_type": "Preset"
478547
}
479548
],
480549
"handbookPriceOverride": {

Libraries/SPTarkov.Server.Assets/SPT_Data/configs/ragfair.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,14 @@
194194
},
195195
"5d650c3e815116009f6201d2": {
196196
"_name": "FUEL",
197-
"conditionChance": 0.12,
197+
"conditionChance": 0.23,
198198
"current": {
199199
"max": 1,
200200
"min": 1
201201
},
202202
"max": {
203203
"max": 1,
204-
"min": 0.7
204+
"min": 0.1
205205
}
206206
},
207207
"644120aa86ffbe10ee032b6f": {
@@ -323,7 +323,8 @@
323323
"57bef4c42459772e8d35a53b",
324324
"55802f4a4bdc2ddb688b4569",
325325
"616eb7aea207f41933308f46",
326-
"543be5cb4bdc2deb348b4568"
326+
"543be5cb4bdc2deb348b4568",
327+
"5d650c3e815116009f6201d2"
327328
],
328329
"showDefaultPresetsOnly": true,
329330
"stackablePercent": {

0 commit comments

Comments
 (0)