Add maxPatrolValue route for module to pull data from. Added sandboxMaxPatrolvalue to location.json. linting on location.json

This commit is contained in:
Kaeno 2024-02-16 16:17:55 +00:00
parent f5cfadbe4d
commit 9d96f97b55
5 changed files with 208 additions and 91 deletions

View File

@ -39,7 +39,8 @@
}, },
"customWaves": { "customWaves": {
"boss": { "boss": {
"factory4_day": [{ "factory4_day": [
{
"sptId": "sptBearFactoryDayBossSpawn", "sptId": "sptBearFactoryDayBossSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 25, "BossChance": 25,
@ -50,7 +51,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -60,7 +62,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecFactoryDayBossSpawn", "sptId": "sptUsecFactoryDayBossSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 25, "BossChance": 25,
@ -71,7 +74,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -83,7 +87,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"bigmap": [{ "bigmap": [
{
"sptId": "sptBearCustomsScavBaseNormalSpawn", "sptId": "sptBearCustomsScavBaseNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 25, "BossChance": 25,
@ -94,7 +99,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -104,7 +110,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecCustomsScavBaseNormalSpawn", "sptId": "sptUsecCustomsScavBaseNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 25, "BossChance": 25,
@ -115,7 +122,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -127,7 +135,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"woods": [{ "woods": [
{
"sptId": "sptBearWoodScavBaseNormalSpawn", "sptId": "sptBearWoodScavBaseNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 25, "BossChance": 25,
@ -138,7 +147,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -148,7 +158,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecWoodScavBaseNormalSpawn", "sptId": "sptUsecWoodScavBaseNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 25, "BossChance": 25,
@ -159,7 +170,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -170,7 +182,7 @@
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, },
{ {
"sptId": "sptBearWoodRoadNormalSpawn", "sptId": "sptBearWoodRoadNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 25, "BossChance": 25,
@ -181,7 +193,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -191,7 +204,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecWoodRoadNormalSpawn", "sptId": "sptUsecWoodRoadNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 25, "BossChance": 25,
@ -202,7 +216,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -213,8 +228,7 @@
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, },
{
{
"sptId": "sptBearWoodVillageNormalSpawn", "sptId": "sptBearWoodVillageNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 25, "BossChance": 25,
@ -225,7 +239,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -235,7 +250,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecWoodVillageNormalSpawn", "sptId": "sptUsecWoodVillageNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 25, "BossChance": 25,
@ -246,7 +262,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -258,7 +275,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"shoreline": [{ "shoreline": [
{
"sptId": "sptBearShorelinePortNormalSpawn", "sptId": "sptBearShorelinePortNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 20, "BossChance": 20,
@ -269,7 +287,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -279,7 +298,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecShorelinePortNormalSpawn", "sptId": "sptUsecShorelinePortNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 20, "BossChance": 20,
@ -290,7 +310,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -300,7 +321,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecShorelineSanatorium1NormalSpawn", "sptId": "sptUsecShorelineSanatorium1NormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 10, "BossChance": 10,
@ -311,7 +333,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -321,7 +344,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptBearShorelineSanatorium1NormalSpawn", "sptId": "sptBearShorelineSanatorium1NormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 10, "BossChance": 10,
@ -332,7 +356,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -342,7 +367,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecShorelineSanatorium2NormalSpawn", "sptId": "sptUsecShorelineSanatorium2NormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 10, "BossChance": 10,
@ -353,7 +379,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -363,7 +390,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptBearShorelineSanatorium2NormalSpawn", "sptId": "sptBearShorelineSanatorium2NormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 10, "BossChance": 10,
@ -374,7 +402,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -386,7 +415,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"laboratory": [{ "laboratory": [
{
"sptId": "sptBearLabsZoneFloor1NormalSpawn", "sptId": "sptBearLabsZoneFloor1NormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 30, "BossChance": 30,
@ -397,7 +427,8 @@
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossPlayer": false, "BossPlayer": false,
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -407,7 +438,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptBearLabsZoneFloor2NormalSpawn", "sptId": "sptBearLabsZoneFloor2NormalSpawn",
"BossChance": 30, "BossChance": 30,
"BossName": "sptBear", "BossName": "sptBear",
@ -418,7 +450,8 @@
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossPlayer": false, "BossPlayer": false,
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -428,7 +461,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptBearLabsZoneBasementNormalSpawn", "sptId": "sptBearLabsZoneBasementNormalSpawn",
"BossChance": 30, "BossChance": 30,
"BossDifficult": "normal", "BossDifficult": "normal",
@ -439,7 +473,8 @@
"BossPlayer": false, "BossPlayer": false,
"BossZone": "BotZoneBasement", "BossZone": "BotZoneBasement",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -449,7 +484,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecLabsZoneFloor1NormalSpawn", "sptId": "sptUsecLabsZoneFloor1NormalSpawn",
"BossChance": 30, "BossChance": 30,
"BossDifficult": "normal", "BossDifficult": "normal",
@ -460,7 +496,8 @@
"BossPlayer": false, "BossPlayer": false,
"BossZone": "BotZoneFloor1", "BossZone": "BotZoneFloor1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -470,7 +507,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecLabsZoneFloor2NormalSpawn", "sptId": "sptUsecLabsZoneFloor2NormalSpawn",
"BossChance": 30, "BossChance": 30,
"BossDifficult": "normal", "BossDifficult": "normal",
@ -481,7 +519,8 @@
"BossPlayer": false, "BossPlayer": false,
"BossZone": "BotZoneFloor2", "BossZone": "BotZoneFloor2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -491,7 +530,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecLabsZoneBasementNormalSpawn", "sptId": "sptUsecLabsZoneBasementNormalSpawn",
"BossChance": 30, "BossChance": 30,
"BossDifficult": "normal", "BossDifficult": "normal",
@ -502,7 +542,8 @@
"BossPlayer": false, "BossPlayer": false,
"BossZone": "BotZoneBasement", "BossZone": "BotZoneBasement",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -514,7 +555,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"interchange": [{ "interchange": [
{
"sptId": "sptBearInterchangeNormalSpawn", "sptId": "sptBearInterchangeNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 15, "BossChance": 15,
@ -525,7 +567,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -535,7 +578,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecInterchangeNormalSpawn", "sptId": "sptUsecInterchangeNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 15, "BossChance": 15,
@ -546,7 +590,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -558,7 +603,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"lighthouse": [{ "lighthouse": [
{
"sptId": "sptBearLighthouseNormalSpawn", "sptId": "sptBearLighthouseNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 15, "BossChance": 15,
@ -569,7 +615,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -579,7 +626,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecLighthouseNormalSpawn", "sptId": "sptUsecLighthouseNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 15, "BossChance": 15,
@ -590,7 +638,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -602,7 +651,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"rezervbase": [{ "rezervbase": [
{
"sptId": "sptBearReserveNormalSpawn", "sptId": "sptBearReserveNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 15, "BossChance": 15,
@ -613,7 +663,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -623,7 +674,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecReserveNormalSpawn", "sptId": "sptUsecReserveNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 15, "BossChance": 15,
@ -634,7 +686,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "1", "BossEscortAmount": "1",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -646,7 +699,8 @@
"ChanceGroup": 0 "ChanceGroup": 0
} }
], ],
"sandbox": [{ "sandbox": [
{
"sptId": "sptBearSandboxNormalSpawn", "sptId": "sptBearSandboxNormalSpawn",
"BossName": "sptBear", "BossName": "sptBear",
"BossChance": 30, "BossChance": 30,
@ -657,7 +711,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptBear", "BossEscortType": "sptBear",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -667,7 +722,8 @@
], ],
"RandomTimeSpawn": false, "RandomTimeSpawn": false,
"ChanceGroup": 0 "ChanceGroup": 0
}, { },
{
"sptId": "sptUsecSandboxNormalSpawn", "sptId": "sptUsecSandboxNormalSpawn",
"BossName": "sptUsec", "BossName": "sptUsec",
"BossChance": 30, "BossChance": 30,
@ -678,7 +734,8 @@
"BossEscortDifficult": "normal", "BossEscortDifficult": "normal",
"BossEscortAmount": "2", "BossEscortAmount": "2",
"Time": -1, "Time": -1,
"Supports": [{ "Supports": [
{
"BossEscortType": "sptUsec", "BossEscortType": "sptUsec",
"BossEscortDifficult": [ "BossEscortDifficult": [
"normal" "normal"
@ -692,7 +749,8 @@
] ]
}, },
"normal": { "normal": {
"factory4_day": [{ "factory4_day": [
{
"sptId": "factoryDayScav1", "sptId": "factoryDayScav1",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -704,7 +762,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav2", "sptId": "factoryDayScav2",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -716,7 +775,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav3", "sptId": "factoryDayScav3",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -728,7 +788,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav4", "sptId": "factoryDayScav4",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -740,7 +801,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav5", "sptId": "factoryDayScav5",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -752,7 +814,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav6", "sptId": "factoryDayScav6",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -764,7 +827,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav7", "sptId": "factoryDayScav7",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -776,7 +840,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav8", "sptId": "factoryDayScav8",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -788,7 +853,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav9", "sptId": "factoryDayScav9",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -800,7 +866,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav10", "sptId": "factoryDayScav10",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -812,7 +879,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav11", "sptId": "factoryDayScav11",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -824,7 +892,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav12", "sptId": "factoryDayScav12",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -836,7 +905,8 @@
"BotPreset": "normal", "BotPreset": "normal",
"WildSpawnType": "assault", "WildSpawnType": "assault",
"isPlayers": true "isPlayers": true
}, { },
{
"sptId": "factoryDayScav13", "sptId": "factoryDayScav13",
"number": 1, "number": 1,
"time_min": 5, "time_min": 5,
@ -853,7 +923,9 @@
} }
}, },
"openZones": { "openZones": {
"bigmap": ["ZoneScavBase"] "bigmap": [
"ZoneScavBase"
]
}, },
"forcedLootSingleSpawnById": { "forcedLootSingleSpawnById": {
"bigmap": [ "bigmap": [
@ -910,7 +982,17 @@
}, },
"splitWaveIntoSingleSpawnsSettings": { "splitWaveIntoSingleSpawnsSettings": {
"enabled": true, "enabled": true,
"ignoreMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town", "factory4_day", "factory4_night"], "ignoreMaps": [
"base",
"develop",
"hideout",
"privatearea",
"suburbs",
"terminal",
"town",
"factory4_day",
"factory4_night"
],
"waveSizeThreshold": 4 "waveSizeThreshold": 4
}, },
"rogueLighthouseSpawnTimeSettings": { "rogueLighthouseSpawnTimeSettings": {
@ -919,26 +1001,37 @@
}, },
"fixEmptyBotWavesSettings": { "fixEmptyBotWavesSettings": {
"enabled": true, "enabled": true,
"ignoreMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"] "ignoreMaps": [
"base",
"develop",
"hideout",
"privatearea",
"suburbs",
"terminal",
"town"
]
}, },
"fitLootIntoContainerAttempts": 3, "fitLootIntoContainerAttempts": 3,
"addOpenZonesToAllMaps": true, "addOpenZonesToAllMaps": true,
"addCustomBotWavesToMaps": true, "addCustomBotWavesToMaps": true,
"enableBotTypeLimits": true, "enableBotTypeLimits": true,
"botTypeLimits": { "botTypeLimits": {
"tarkovstreets": [{ "tarkovstreets": [
{
"type": "marksman", "type": "marksman",
"min": 2, "min": 2,
"max": 4 "max": 4
} }
], ],
"woods": [{ "woods": [
{
"type": "marksman", "type": "marksman",
"min": 2, "min": 2,
"max": 5 "max": 5
} }
], ],
"bigmap": [{ "bigmap": [
{
"type": "marksman", "type": "marksman",
"min": 2, "min": 2,
"max": 4 "max": 4
@ -978,7 +1071,7 @@
"minFillStaticMagazinePercent": 50, "minFillStaticMagazinePercent": 50,
"makeWishingTreeAlwaysGiveGift": true, "makeWishingTreeAlwaysGiveGift": true,
"allowDuplicateItemsInStaticContainers": true, "allowDuplicateItemsInStaticContainers": true,
"magazineLootHasAmmoChancePercent": 50, "magazineLootHasAmmoChancePercent": 50,
"looseLootBlacklist": {}, "looseLootBlacklist": {},
"scavRaidTimeSettings": { "scavRaidTimeSettings": {
"settings": { "settings": {
@ -1059,7 +1152,6 @@
"minDynamicLootPercent": 50, "minDynamicLootPercent": 50,
"minStaticLootPercent": 40, "minStaticLootPercent": 40,
"reducedChancePercent": 95, "reducedChancePercent": 95,
"reductionPercentWeights": { "reductionPercentWeights": {
"20": 3, "20": 3,
"30": 3, "30": 3,
@ -1191,13 +1283,14 @@
"mod_nvg": 5, "mod_nvg": 5,
"front_plate": 100, "front_plate": 100,
"back_plate": 100, "back_plate": 100,
"left_side_plate": 25, "left_side_plate": 25,
"right_side_plate": 25, "right_side_plate": 25,
"mod_equipment_000": 5, "mod_equipment_000": 5,
"mod_equipment_001": 5, "mod_equipment_001": 5,
"mod_equipment_002": 5, "mod_equipment_002": 5,
"mod_mount": 5, "mod_mount": 5,
"mod_equipment": 5 "mod_equipment": 5
} }
} },
"sandboxMaxPatrolvalue": 10
} }

View File

@ -115,4 +115,9 @@ export class InraidCallbacks
{ {
return this.httpResponse.noBody(this.inraidController.getTraitorScavHostileChance(url, sessionId)); return this.httpResponse.noBody(this.inraidController.getTraitorScavHostileChance(url, sessionId));
} }
public getSandboxMaxPatrolValue(url: string, info: IEmptyRequestData, sessionId: string): string
{
return this.httpResponse.noBody(this.inraidController.getSandboxMaxPatrolValue(url, sessionId));
}
} }

View File

@ -23,6 +23,7 @@ import { Traders } from "@spt-aki/models/enums/Traders";
import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig"; import { IAirdropConfig } from "@spt-aki/models/spt/config/IAirdropConfig";
import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig"; import { IBTRConfig } from "@spt-aki/models/spt/config/IBTRConfig";
import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig"; import { IInRaidConfig } from "@spt-aki/models/spt/config/IInRaidConfig";
import { ILocationConfig } from "@spt-aki/models/spt/config/ILocationConfig";
import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig"; import { ITraderConfig } from "@spt-aki/models/spt/config/ITraderConfig";
import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel"; import { ITraderServiceModel } from "@spt-aki/models/spt/services/ITraderServiceModel";
import { ILogger } from "@spt-aki/models/spt/utils/ILogger"; import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
@ -48,6 +49,7 @@ export class InraidController
protected btrConfig: IBTRConfig; protected btrConfig: IBTRConfig;
protected inRaidConfig: IInRaidConfig; protected inRaidConfig: IInRaidConfig;
protected traderConfig: ITraderConfig; protected traderConfig: ITraderConfig;
protected locationConfig: ILocationConfig;
constructor( constructor(
@inject("WinstonLogger") protected logger: ILogger, @inject("WinstonLogger") protected logger: ILogger,
@ -76,6 +78,7 @@ export class InraidController
this.btrConfig = this.configServer.getConfig(ConfigTypes.BTR); this.btrConfig = this.configServer.getConfig(ConfigTypes.BTR);
this.inRaidConfig = this.configServer.getConfig(ConfigTypes.IN_RAID); this.inRaidConfig = this.configServer.getConfig(ConfigTypes.IN_RAID);
this.traderConfig = this.configServer.getConfig(ConfigTypes.TRADER); this.traderConfig = this.configServer.getConfig(ConfigTypes.TRADER);
this.locationConfig = this.configServer.getConfig(ConfigTypes.LOCATION);
} }
/** /**
@ -626,4 +629,9 @@ export class InraidController
{ {
return this.inRaidConfig.playerScavHostileChancePercent; return this.inRaidConfig.playerScavHostileChancePercent;
} }
public getSandboxMaxPatrolValue(url: string, sessionID: string): number
{
return this.locationConfig.sandboxMaxPatrolvalue;
}
} }

View File

@ -44,6 +44,8 @@ export interface ILocationConfig extends IBaseConfig
scavRaidTimeSettings: IScavRaidTimeSettings; scavRaidTimeSettings: IScavRaidTimeSettings;
/** Settings to adjust mods for lootable equipment in raid */ /** Settings to adjust mods for lootable equipment in raid */
equipmentLootSettings: IEquipmentLootSettings; equipmentLootSettings: IEquipmentLootSettings;
/** Sets the max Patrol Value of the Boxzone on the map Ground Zero*/
sandboxMaxPatrolvalue: number;
} }
export interface IEquipmentLootSettings export interface IEquipmentLootSettings
@ -88,7 +90,9 @@ export interface LootMultiplier
{ {
bigmap: number; bigmap: number;
develop: number; develop: number;
// eslint-disable-next-line @typescript-eslint/naming-convention
factory4_day: number; factory4_day: number;
// eslint-disable-next-line @typescript-eslint/naming-convention
factory4_night: number; factory4_night: number;
interchange: number; interchange: number;
laboratory: number; laboratory: number;

View File

@ -62,6 +62,13 @@ export class InraidStaticRouter extends StaticRouter
return this.inraidCallbacks.getTraitorScavHostileChance(url, info, sessionID); return this.inraidCallbacks.getTraitorScavHostileChance(url, info, sessionID);
}, },
), ),
new RouteAction(
"/singleplayer/sandbox/maxpatrol",
(url: string, info: any, sessionID: string, output: string): any =>
{
return this.inraidCallbacks.getSandboxMaxPatrolValue(url, info, sessionID);
},
),
]); ]);
} }
} }