mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Removed New Beginning
quest requirement from prestige via code instead of manual json edit
This commit is contained in:
parent
0c459c3d17
commit
b1a2f2d2c5
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,21 @@
|
|||||||
"target": "5c51aac186f77432ea65c552",
|
"target": "5c51aac186f77432ea65c552",
|
||||||
"visibilityConditions": []
|
"visibilityConditions": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"availableAfter": 0,
|
||||||
|
"conditionType": "Quest",
|
||||||
|
"dispersion": 0,
|
||||||
|
"dynamicLocale": false,
|
||||||
|
"globalQuestCounterId": "",
|
||||||
|
"id": "6761fe66b41bc1e8222b5b6e",
|
||||||
|
"index": 2,
|
||||||
|
"parentId": "",
|
||||||
|
"status": [
|
||||||
|
4
|
||||||
|
],
|
||||||
|
"target": "6761f28a022f60bb320f3e95",
|
||||||
|
"visibilityConditions": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"compareMethod": ">=",
|
"compareMethod": ">=",
|
||||||
"conditionType": "Skill",
|
"conditionType": "Skill",
|
||||||
@ -244,7 +259,7 @@
|
|||||||
"isHidden": false,
|
"isHidden": false,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"_id": "6793f638fc630e99950ed5c7",
|
"_id": "67a5cccf9e8c49896c0a3fc4",
|
||||||
"_tpl": "6759bb94b8913ff13e049669",
|
"_tpl": "6759bb94b8913ff13e049669",
|
||||||
"upd": {
|
"upd": {
|
||||||
"SpawnedInSession": true,
|
"SpawnedInSession": true,
|
||||||
@ -252,7 +267,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"target": "6793f638fc630e99950ed5c7",
|
"target": "67a5cccf9e8c49896c0a3fc4",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"unknown": false,
|
"unknown": false,
|
||||||
"value": 1
|
"value": 1
|
||||||
@ -274,7 +289,7 @@
|
|||||||
"isHidden": false,
|
"isHidden": false,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"_id": "6793f638fc630e99950ed5c9",
|
"_id": "67a5cccf9e8c49896c0a3fc6",
|
||||||
"_tpl": "67614b542eb91250020f2b86",
|
"_tpl": "67614b542eb91250020f2b86",
|
||||||
"upd": {
|
"upd": {
|
||||||
"SpawnedInSession": true,
|
"SpawnedInSession": true,
|
||||||
@ -282,7 +297,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"target": "6793f638fc630e99950ed5c9",
|
"target": "67a5cccf9e8c49896c0a3fc6",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"unknown": false,
|
"unknown": false,
|
||||||
"value": 1
|
"value": 1
|
||||||
@ -680,7 +695,7 @@
|
|||||||
"isHidden": false,
|
"isHidden": false,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"_id": "6793f638fc630e99950ed5cb",
|
"_id": "67a5cccf9e8c49896c0a3fc8",
|
||||||
"_tpl": "674d90b55704568fe60bc8f5",
|
"_tpl": "674d90b55704568fe60bc8f5",
|
||||||
"upd": {
|
"upd": {
|
||||||
"SpawnedInSession": true,
|
"SpawnedInSession": true,
|
||||||
@ -688,7 +703,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"target": "6793f638fc630e99950ed5cb",
|
"target": "67a5cccf9e8c49896c0a3fc8",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"unknown": false,
|
"unknown": false,
|
||||||
"value": 1
|
"value": 1
|
||||||
@ -816,7 +831,7 @@
|
|||||||
"isHidden": false,
|
"isHidden": false,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"_id": "6793f638fc630e99950ed5cd",
|
"_id": "67a5cccf9e8c49896c0a3fca",
|
||||||
"_tpl": "6759e07e4ff23436160d7fed",
|
"_tpl": "6759e07e4ff23436160d7fed",
|
||||||
"upd": {
|
"upd": {
|
||||||
"SpawnedInSession": true,
|
"SpawnedInSession": true,
|
||||||
@ -824,7 +839,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"target": "6793f638fc630e99950ed5cd",
|
"target": "67a5cccf9e8c49896c0a3fca",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"unknown": false,
|
"unknown": false,
|
||||||
"value": 1
|
"value": 1
|
||||||
@ -880,7 +895,7 @@
|
|||||||
"isHidden": false,
|
"isHidden": false,
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"_id": "6793f638fc630e99950ed5cf",
|
"_id": "67a5cccf9e8c49896c0a3fcc",
|
||||||
"_tpl": "67614b6b47c71ea3d40256d7",
|
"_tpl": "67614b6b47c71ea3d40256d7",
|
||||||
"upd": {
|
"upd": {
|
||||||
"SpawnedInSession": true,
|
"SpawnedInSession": true,
|
||||||
@ -888,7 +903,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"target": "6793f638fc630e99950ed5cf",
|
"target": "67a5cccf9e8c49896c0a3fcc",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"unknown": false,
|
"unknown": false,
|
||||||
"value": 1
|
"value": 1
|
||||||
|
@ -112,6 +112,8 @@ export class PostDbLoadService {
|
|||||||
|
|
||||||
this.cloneExistingCraftsAndAddNew();
|
this.cloneExistingCraftsAndAddNew();
|
||||||
|
|
||||||
|
this.removeNewBeginningRequirementFromPrestige();
|
||||||
|
|
||||||
this.removePraporTestMessage();
|
this.removePraporTestMessage();
|
||||||
|
|
||||||
this.validateQuestAssortUnlocksExist();
|
this.validateQuestAssortUnlocksExist();
|
||||||
@ -132,6 +134,15 @@ export class PostDbLoadService {
|
|||||||
this.addCustomItemPresetsToGlobals();
|
this.addCustomItemPresetsToGlobals();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected removeNewBeginningRequirementFromPrestige() {
|
||||||
|
const prestigeDb = this.databaseService.getTemplates().prestige;
|
||||||
|
for (const prestige of prestigeDb.elements) {
|
||||||
|
prestige.conditions = prestige.conditions.filter(
|
||||||
|
(condition) => condition.target !== "6761ff17cdc36bd66102e9d0",
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected unlockHideoutLootCrateCrafts() {
|
protected unlockHideoutLootCrateCrafts() {
|
||||||
const hideoutLootBoxCraftIds = [
|
const hideoutLootBoxCraftIds = [
|
||||||
"66582be04de4820934746cea",
|
"66582be04de4820934746cea",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user