Skip to content

Commit

Permalink
Style Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
refringe committed Jan 9, 2025
1 parent 26ad939 commit 42a4b5c
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 62 deletions.
86 changes: 43 additions & 43 deletions project/assets/configs/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@
"6707d13e4e617ec94f0e5631",
"675dc9d37ae1a8792107ca96",
"675dcb0545b1a2d108011b2b",
"66d9f8744827a77e870ecaf1",
"6707d0804e617ec94f0e562f",
"67449b6c89d5e1ddc603f504",
"6740987b89d5e1ddc603f4f0",
"6707d0bdaab679420007e01a"
"66d9f8744827a77e870ecaf1",
"6707d0804e617ec94f0e562f",
"67449b6c89d5e1ddc603f504",
"6740987b89d5e1ddc603f4f0",
"6707d0bdaab679420007e01a"
],
"bossItems": [
"6275303a9f372d6ea97f9ec7",
Expand Down Expand Up @@ -387,43 +387,43 @@
"_parent": "677d14a27757dcc54a3054fb",
"_type": "Preset"
},
{
"_changeWeaponName": false,
"_encyclopedia": "6759af0f9c8a538dd70bfae6",
"_id": "677e90e191de7ae4136e3967",
"_items": [
{
"_id": "677e90d1fc28426ede1448bd",
"_tpl": "6759af0f9c8a538dd70bfae6"
},
{
"_id": "677e90e71b6c92662b1b5cce",
"_tpl": "6571133d22996eaf11088200",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_top"
},
{
"_id": "677e90ef6b6b559c36d31485",
"_tpl": "6571138e818110db4600aa71",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_back"
},
{
"_id": "677e90f2e2de53f5b48dd35d",
"_tpl": "657112fa818110db4600aa6b",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_ears"
},
{
"_id": "677e90f61cc7ed9f89331cac",
"_tpl": "5c0e842486f77443a74d2976",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "mod_equipment"
}
],
"_name": "Maska-1SCh bulletproof helmet (Christmas Edition) default",
"_parent": "677e90d1fc28426ede1448bd",
"_type": "Preset"
}
{
"_changeWeaponName": false,
"_encyclopedia": "6759af0f9c8a538dd70bfae6",
"_id": "677e90e191de7ae4136e3967",
"_items": [
{
"_id": "677e90d1fc28426ede1448bd",
"_tpl": "6759af0f9c8a538dd70bfae6"
},
{
"_id": "677e90e71b6c92662b1b5cce",
"_tpl": "6571133d22996eaf11088200",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_top"
},
{
"_id": "677e90ef6b6b559c36d31485",
"_tpl": "6571138e818110db4600aa71",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_back"
},
{
"_id": "677e90f2e2de53f5b48dd35d",
"_tpl": "657112fa818110db4600aa6b",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "Helmet_ears"
},
{
"_id": "677e90f61cc7ed9f89331cac",
"_tpl": "5c0e842486f77443a74d2976",
"parentId": "677e90d1fc28426ede1448bd",
"slotId": "mod_equipment"
}
],
"_name": "Maska-1SCh bulletproof helmet (Christmas Edition) default",
"_parent": "677e90d1fc28426ede1448bd",
"_type": "Preset"
}
]
}
12 changes: 6 additions & 6 deletions project/assets/configs/location.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,11 @@
"nonTriggered": 80,
"triggered": 90
},
"tplsToStripChildItemsFrom": [
"63a8970d7108f713591149f5",
"63a897c6b1ff6e29734fcc95",
"63a898a328e385334e0640a5",
"634959225289190e5e773b3b"
],
"tplsToStripChildItemsFrom": [
"63a8970d7108f713591149f5",
"63a897c6b1ff6e29734fcc95",
"63a898a328e385334e0640a5",
"634959225289190e5e773b3b"
],
"nonMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"]
}
18 changes: 9 additions & 9 deletions project/assets/configs/pmc.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@
"67408903268737ef6908d432",
"67499b9b909d2013670a5029",
"6638a5474e92f038531e210e",
"66d9f8744827a77e870ecaf1",
"6707d0804e617ec94f0e562f",
"67449b6c89d5e1ddc603f504",
"6740987b89d5e1ddc603f4f0",
"6707d0bdaab679420007e01a"
"66d9f8744827a77e870ecaf1",
"6707d0804e617ec94f0e562f",
"67449b6c89d5e1ddc603f504",
"6740987b89d5e1ddc603f4f0",
"6707d0bdaab679420007e01a"
],
"useDifficultyOverride": false,
"difficulty": "AsOnline",
Expand Down Expand Up @@ -730,11 +730,11 @@
"min": 5000,
"max": 0
},
"pocket": {
"pocket": {
"min": 5000,
"max": 0
},
"vest": {
"vest": {
"min": 5000,
"max": 0
}
Expand All @@ -746,11 +746,11 @@
"min": 10000,
"max": 0
},
"pocket": {
"pocket": {
"min": 10000,
"max": 0
},
"vest": {
"vest": {
"min": 10000,
"max": 0
}
Expand Down
5 changes: 1 addition & 4 deletions project/src/controllers/HealthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ export class HealthController {
// Update medkit used (hpresource)
const healingItemToUse = pmcData.Inventory.items.find((item) => item._id === request.item);
if (!healingItemToUse) {
const errorMessage = this.localisationService.getText(
"health-healing_item_not_found",
request.item,
);
const errorMessage = this.localisationService.getText("health-healing_item_not_found", request.item);
this.logger.error(errorMessage);

return this.httpResponse.appendErrorToOutput(output, errorMessage);
Expand Down

0 comments on commit 42a4b5c

Please sign in to comment.