Complete Remake of the Modpack

This commit is contained in:
2025-05-16 00:38:39 -04:00
parent db58ebbefb
commit a57e637d5f
10423 changed files with 13308 additions and 2630183 deletions
+5 -5
View File
@@ -1,21 +1,21 @@
[General]
gameName=spt
modid=0
version=d2024.12.21.0
version=d2025.5.14.0
newestVersion=
category="1,2"
category="-1,"
nexusFileStatus=1
installationFile=choccy-chinalake-1.0.0.zip
installationFile=choccy-chinalake-1.0.2.zip
repository=Nexus
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
hasCustomURL=true
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2024-12-22T03:57:43Z
nexusLastModified=2025-05-14T13:45:11Z
nexusCategory=0
converted=false
validated=false
@@ -1,227 +0,0 @@
{
"items": [
{
"_id": "66cf2a5d69fb0c98e6a9411b",
"_tpl": "66ce63fe2fce038160aa9ac6",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 7531
}
},
{
"_id": "66cf2a631e3685e558dce877",
"_tpl": "66ce64029424740723b70288",
"parentId": "66cf2a5d69fb0c98e6a9411b",
"slotId": "mod_magazine"
},
{
"_id": "66cf2a6538a0af9020433ac3",
"_tpl": "5bc09a18d4351e003562b68e",
"parentId": "66cf2a5d69fb0c98e6a9411b",
"slotId": "mod_sight_rear"
},
{
"_id": "66cf28bf10ea8b6a8a8eafb9",
"_tpl": "5bc09a30d4351e00367fb7c8",
"parentId": "66cf2a5d69fb0c98e6a9411b",
"slotId": "mod_sight_front"
},
{
"_id": "66cf2b200dd2c22301adbc21",
"_tpl": "66ce63fe2fce038160aa9ac6",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 5532
}
},
{
"_id": "66cf2b252936b5de9c70a136",
"_tpl": "66ce64029424740723b70288",
"parentId": "66cf2b200dd2c22301adbc21",
"slotId": "mod_magazine"
},
{
"_id": "66cf2b27e4995dc333ecfeda",
"_tpl": "584924ec24597768f12ae244",
"parentId": "66cf2b200dd2c22301adbc21",
"slotId": "mod_scope"
},
{
"_id": "66cf2b2883787f00d44d4ad4",
"_tpl": "5c87ca002e221600114cb150",
"parentId": "66cf2b200dd2c22301adbc21",
"slotId": "mod_foregrip"
},
{
"_id": "66cf2b2a62a0de6a3dceca0c",
"_tpl": "5bc09a18d4351e003562b68e",
"parentId": "66cf2b200dd2c22301adbc21",
"slotId": "mod_sight_rear"
},
{
"_id": "66cf2b2c6c10fa1a3dd89111",
"_tpl": "5bc09a30d4351e00367fb7c8",
"parentId": "66cf2b200dd2c22301adbc21",
"slotId": "mod_sight_front"
},
{
"_id": "66cf2b8b45d73907343924a3",
"_tpl": "66ce63fe2fce038160aa9ac6",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 7531
}
},
{
"_id": "66cf2b95febcdccef1464156",
"_tpl": "66ce64029424740723b70288",
"parentId": "66cf2b8b45d73907343924a3",
"slotId": "mod_magazine"
},
{
"_id": "66cf2b96986c2ebac83a61dc",
"_tpl": "5bc09a18d4351e003562b68e",
"parentId": "66cf2b8b45d73907343924a3",
"slotId": "mod_sight_rear"
},
{
"_id": "66cf2b9813dd1fd762131ae9",
"_tpl": "5bc09a30d4351e00367fb7c8",
"parentId": "66cf2b8b45d73907343924a3",
"slotId": "mod_sight_front"
},
{
"_id": "66cf2bde82ea790ad007f1fa",
"_tpl": "66ce63fe2fce038160aa9ac6",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 5532
}
},
{
"_id": "66cf2bf9ca5b96982f9b5972",
"_tpl": "66ce64029424740723b70288",
"parentId": "66cf2bde82ea790ad007f1fa",
"slotId": "mod_magazine"
},
{
"_id": "66cf2bfb0940e8d0c47ae35d",
"_tpl": "57c69dd424597774c03b7bbc",
"parentId": "66cf2bde82ea790ad007f1fa",
"slotId": "mod_scope"
},
{
"_id": "66cf2c00bb4ecab519ef6fdd",
"_tpl": "5c1cd46f2e22164bef5cfedb",
"parentId": "66cf2bde82ea790ad007f1fa",
"slotId": "mod_foregrip"
},
{
"_id": "66cf2c02db06cff9e183f17c",
"_tpl": "5bc09a18d4351e003562b68e",
"parentId": "66cf2bde82ea790ad007f1fa",
"slotId": "mod_sight_rear"
},
{
"_id": "66cf2c047b59010a035f8f0d",
"_tpl": "5bc09a30d4351e00367fb7c8",
"parentId": "66cf2bde82ea790ad007f1fa",
"slotId": "mod_sight_front"
},
{
"_id": "66cf2c062e771cc14c56c1c7",
"_tpl": "5b2388675acfc4771e1be0be",
"parentId": "66cf2bfb0940e8d0c47ae35d",
"slotId": "mod_scope"
},
{
"_id": "66cf3512f8e69a857c1ef843",
"_tpl": "66ce64029424740723b70288",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 8722
}
}
],
"barter_scheme": {
"66cf2a5d69fb0c98e6a9411b": [
[
{
"_tpl": "5d1c819a86f774771b0acd6c",
"count": 2
},
{
"_tpl": "590a386e86f77429692b27ab",
"count": 2
},
{
"_tpl": "59e35cbb86f7741778269d83",
"count": 1
}
]
],
"66cf2b200dd2c22301adbc21": [
[
{
"_tpl": "5672cb724bdc2dc2088b456b",
"count": 2
},
{
"_tpl": "590c5c9f86f77477c91c36e7",
"count": 1
}
]
],
"66cf2b8b45d73907343924a3": [
[
{
"_tpl": "5696686a4bdc2da3298b456a",
"count": 563
}
]
],
"66cf2bde82ea790ad007f1fa": [
[
{
"_tpl": "590c645c86f77412b01304d9",
"count": 2
},
{
"_tpl": "5733279d245977289b77ec24",
"count": 1
}
]
],
"66cf3512f8e69a857c1ef843": [
[
{
"_tpl": "5696686a4bdc2da3298b456a",
"count": 23
}
]
]
},
"loyal_level_items":{
"66cf2a5d69fb0c98e6a9411b": 1,
"66cf2b200dd2c22301adbc21": 2,
"66cf2b8b45d73907343924a3": 2,
"66cf2bde82ea790ad007f1fa": 1,
"66cf3512f8e69a857c1ef843": 2
}
}
@@ -1,319 +0,0 @@
{
"spawnsRezerv": [
{
"locationId": "(78.797 2.4313 -13.9751|37.4873 226.9819 316.1582)",
"probability": 0.345273,
"template": {
"Id": "6651567375381abb786f3a5b",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": 78.797,
"y": 2.4313,
"z": -13.9751
},
"Rotation": {
"x": 37.4873,
"y": 226.9819,
"z": 316.1582
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "6651567738f38ab0f6c52bc2",
"Items": [
{
"_id": "6651567ed962a5b792248fa6",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156862404d5899b738021",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "6651567ed962a5b792248fa6",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "6651567ed962a5b792248fa6"
},
"relativeProbability": 8
}
]
},
{
"locationId": "(11.5916 -0.7892 4.6904|353.6969 48.8262 41.7712)",
"probability": 0.044532,
"template": {
"Id": "66515689253af484c5f1303a",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": 11.5916,
"y": -0.7892,
"z": 4.6904
},
"Rotation": {
"x": 353.6969,
"y": 48.8262,
"z": 41.7712
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "6651568ca4b26f481f19cda6",
"Items": [
{
"_id": "66515693328c890700469175",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156918928bd149c60e827",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "66515693328c890700469175",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "66515693328c890700469175"
},
"relativeProbability": 8
}
]
},
{
"locationId": "(-57.1463 2.6746 20.5125|332.6287 14.0353 93.8348)",
"probability": 0.007432,
"template": {
"Id": "6651569a10759cb0de48342f",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": -57.1463,
"y": 2.6746,
"z": 20.5125
},
"Rotation": {
"x": 332.6287,
"y": 14.0353,
"z": 93.8348
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "6651569d1466068c6cf8b2b2",
"Items": [
{
"_id": "665156a3b260a8bf5125a4b7",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156a05ac9ddcd5afa52d2",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "665156a3b260a8bf5125a4b7",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "665156a3b260a8bf5125a4b7"
},
"relativeProbability": 8
}
]
},
{
"locationId": "(-40.0311 19.3493 182.6263|359.9928 29.7891 272.4274)",
"probability": 0.115632,
"template": {
"Id": "665156b386eb1fb0aa4423d8",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": -40.0311,
"y": 19.3493,
"z": 182.6263
},
"Rotation": {
"x": 359.9928,
"y": 29.7891,
"z": 272.4274
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "665156b6e05850fe3e39d38e",
"Items": [
{
"_id": "665156bcf71631770429e3ad",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156b953844543601b15ca",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "665156bcf71631770429e3ad",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "665156bcf71631770429e3ad"
},
"relativeProbability": 8
}
]
}
],
"spawnsWoods":[
{
"locationId": "(54.0311 -1.9997 -47.0143|1.7769 44.5448 93.2316)",
"probability": 0.15673,
"template": {
"Id": "665156c6e89a63667409ae9b",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": 54.0311,
"y": -1.9997,
"z": -47.0143
},
"Rotation": {
"x": 1.7769,
"y": 44.5448,
"z": 93.2316
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "665156ca4aeb42ea90e12402",
"Items": [
{
"_id": "665156d18439fd78ee89f7fa",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156cdfbc726f414d55e81",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "665156d18439fd78ee89f7fa",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "665156d18439fd78ee89f7fa"
},
"relativeProbability": 8
}
]
},
{
"locationId": "(-203.8976 -1.006 217.1824|359.8936 156.5553 49.0165)",
"probability": 0.24673,
"template": {
"Id": "665156d66283b8245a51ee10",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": -203.8976,
"y": -1.006,
"z": 217.1824
},
"Rotation": {
"x": 359.8936,
"y": 156.5553,
"z": 49.0165
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "665156d92118013ac5fc6364",
"Items": [
{
"_id": "665156e00c98d72dd4cde0f9",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156ddb836ed40339d2688",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "665156e00c98d72dd4cde0f9",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "665156e00c98d72dd4cde0f9"
},
"relativeProbability": 8
}
]
}
],
"spawnsFactory": [
{
"locationId": "(25.5145 8.6044 40.7727|0.1531 106.4753 158.1044)",
"probability": 0.07643,
"template": {
"Id": "665156e757dec8b8d7dd5f0b",
"IsContainer": false,
"useGravity": true,
"randomRotation": false,
"Position": {
"x": 25.5145,
"y": 8.6044,
"z": 40.7727
},
"Rotation": {
"x": 0.1531,
"y": 106.4753,
"z": 158.1044
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "665156eac2285ec483385e8d",
"Items": [
{
"_id": "665156ef5ddfea15aa6e1b1b",
"_tpl": "665152810b4c784f2258d7d0"
},
{
"_id": "665156edbf39d6a24be36ec7",
"_tpl": "665154c4019e9e7d5ad6d0cc",
"parentId": "665156ef5ddfea15aa6e1b1b",
"slotId": "mod_magazine"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "665156ef5ddfea15aa6e1b1b"
},
"relativeProbability": 4
}
]
}
],
"spawnsLight": [],
"spawnsShore": [],
"spawnsCustom": []
}
File diff suppressed because one or more lines are too long
@@ -22,13 +22,15 @@
{
"key": "china lake/mod_magazine_china_lake_3_rnd_tube.bundle",
"dependencyKeys": [
"china lake/client_assets.bundle"
"china lake/client_assets.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "china lake/mod_scope_leaf_sight.bundle",
"dependencyKeys": [
"china lake/client_assets.bundle"
"china lake/client_assets.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
@@ -42,7 +44,8 @@
"assets/systems/effects/muzzleflash/muzzleflash.bundle",
"assets/systems/effects/smoke.bundle",
"china lake/client_assets.bundle",
"china lake/china_lake_bank.bundle"
"china lake/china_lake_bank.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
}
]
@@ -1,11 +1,11 @@
{
"name": "China Lake",
"version": "1.0.0",
"version": "1.0.2",
"main": "src/mod.js",
"license": "CC-BY 3.0",
"author": "Choccy",
"isBundleMod": true,
"sptVersion": "~3.10",
"sptVersion": "~3.11",
"scripts": {
"setup": "npm i",
"build": "node ./build.mjs",
@@ -20,7 +20,7 @@
"fs-extra": "11.2",
"ignore": "^5.2",
"tsyringe": "4.8.0",
"typescript": "5.4",
"typescript": "5.8",
"winston": "3.12"
}
}
@@ -0,0 +1,53 @@
{
"items": [
{
"_id": "6769f3a5c38da6c6af15afe0",
"_tpl": "6745d112eb0900ac53e5f356",
"parentId": "hideout",
"slotId": "hideout",
"upd": {
"UnlimitedCount": true,
"StackObjectsCount": 7531,
"BuyRestrictionMax": 5,
"BuyRestrictionCurrent": 0
}
},
{
"_id": "6769f3c6718238efd9f96888",
"_tpl": "6745d11b2fe0e0c66e2ac8e9",
"parentId": "6769f3a5c38da6c6af15afe0",
"slotId": "mod_magazine"
},
{
"_id": "6769f3c5c6274ab7c76e4fed",
"_tpl": "6745f1c80545a067a6838681",
"parentId": "6769f3a5c38da6c6af15afe0",
"slotId": "mod_scope"
}
],
"barter_scheme": {
"6769f3a5c38da6c6af15afe0": [
[
{
"_tpl": "6275303a9f372d6ea97f9ec7",
"count": 1
},
{
"_tpl": "5e81ebcd8e146c7080625e15",
"count": 1
},
{
"_tpl": "62e7e7bbe6da9612f743f1e0",
"count": 1
},
{
"_tpl": "6357c98711fb55120211f7e1",
"count": 1
}
]
]
},
"loyal_level_items":{
"6769f3a5c38da6c6af15afe0": 3
}
}
@@ -0,0 +1,65 @@
{
"spawnsRezerv": [],
"spawnsWoods":[],
"spawnsFactory": [],
"spawnsLight": [],
"spawnsShore": [],
"spawnsCustom": [
{
"locationId": "(183.3899 5.8721 183.5211|0.0001 11.1897 270.0164)",
"probability": 0.2722,
"template": {
"Id": "6651567375381abb786f3a5b",
"IsContainer": false,
"useGravity": true,
"randomRotation": true,
"Position": {
"x": 183.3899,
"y": 5.8721,
"z": 183.5211
},
"Rotation": {
"x": 0.0001,
"y": 11.1897,
"z": 270.0164
},
"IsGroupPosition": false,
"GroupPositions": [],
"IsAlwaysSpawn": false,
"Root": "6769f50c366b207c0f2310e2",
"Items": [
{
"_id": "6769f529295f5301ac314c10",
"_tpl": "6745d112eb0900ac53e5f356",
"upd": {
"Repairable": {
"Durability": 100,
"MaxDurability": 100
}
}
},
{
"_id": "6769f537d1b31c5fba8a3101",
"_tpl": "6745d11b2fe0e0c66e2ac8e9",
"parentId": "6769f529295f5301ac314c10",
"slotId": "mod_magazine"
},
{
"_id": "6769f5352be59161b2746efd",
"_tpl": "6745f1c80545a067a6838681",
"parentId": "6769f529295f5301ac314c10",
"slotId": "mod_scope"
}
]
},
"itemDistribution": [
{
"composedKey": {
"key": "6769f529295f5301ac314c10"
},
"relativeProbability": 4
}
]
}
]
}
@@ -4,8 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.mod = exports.HandbookTPL = exports.WeaponIds = void 0;
const Item_Preset_json_1 = __importDefault(require("../src/Item_Preset.json"));
const global_item_preset_json_1 = __importDefault(require("../src/global_item_preset.json"));
//import spawnPoints from "../src/loot/Spawns.json";
const Spawns_json_1 = __importDefault(require("../src/loot/Spawns.json"));
const ItemTpl_1 = require("C:/snapshot/project/obj/models/enums/ItemTpl");
const Traders_1 = require("C:/snapshot/project/obj/models/enums/Traders");
const ConfigTypes_1 = require("C:/snapshot/project/obj/models/enums/ConfigTypes");
@@ -52,10 +53,10 @@ class Mod {
Height: 2,
Ergonomics: 64,
CanSellOnRagfair: false,
CanRequireOnRagfair: true,
CanRequireOnRagfair: false,
ExaminedByDefault: false,
ExamineExperience: 20,
SightingRange: 100,
SightingRange: 250,
IronSightRange: 50,
LootExperience: 15,
RecoilAngle: 94,
@@ -162,7 +163,7 @@ class Mod {
parentId: "5447b6094bdc2dc3278b4567",
newId: WeaponIds.CHLK,
handbookParentId: "5b5f79eb86f77447ed5636b7",
handbookPriceRoubles: 268334,
handbookPriceRoubles: 25334,
fleaPriceRoubles: 388421,
locales: {
"en": {
@@ -230,33 +231,44 @@ class Mod {
};
customitem.createItemFromClone(china_Lake_tube);
const china_Lake_sight = {
itemTplToClone: ItemTpl_1.ItemTpl.COLLIMATOR_MILKOR_M2A1_GRENADE_LAUNCHER_REFLEX_SIGHT,
itemTplToClone: ItemTpl_1.ItemTpl.COMPACTCOLLIMATOR_BELOMO_PK06_REFLEX_SIGHT,
overrideProperties: {
SightingRange: 100,
SightingRange: 50,
CalibrationDistances: [
[
50
]
],
Ergonomics: -10,
Ergonomics: -7,
Slots: [],
Weight: 0.08,
sightModType: "ironsight",
sightModType: "reflex",
ExamineExperience: 7,
ExaminedByDefault: false,
Name: "mod_scope_china_lake",
ShortName: "mod_scope_china_lake",
Description: "mod_scope_china_lake",
ModesCount: [5],
AimSensitivity: [
[
0.9
]
],
Zooms: [
[
1
]
],
Width: 1,
Height: 1,
ExtraSizeLeft: 0,
IsAnimated: true,
IsAnimated: false,
Prefab: {
path: "china lake/mod_scope_leaf_sight.bundle",
rcid: ""
}
},
parentId: "55818ad54bdc2ddc698b4569",
parentId: "55818acf4bdc2dde698b456b",
newId: WeaponIds.CHLK_SIGHT,
handbookParentId: "5b5f73ec86f774093e6cb4fd",
handbookPriceRoubles: 876,
@@ -265,7 +277,7 @@ class Mod {
"en": {
name: "China Lake leaf iron sight",
shortName: "China Lake",
description: "Standard issue adjustable iron sight for the China Lake."
description: "Standard issue iron sight for the China Lake."
}
}
};
@@ -283,10 +295,11 @@ class Mod {
hideout.cultistCircle.directRewards.push(cultist_Recipe) */
const cultist_Recipes = {
"6275303a9f372d6ea97f9ec7": { rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960 },
"6357c98711fb55120211f7e1": { rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960 },
"62e7e7bbe6da9612f743f1e0": { rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960 },
"5e81ebcd8e146c7080625e15": { rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960 }
"6275303a9f372d6ea97f9ec7": { reward: [WeaponIds.CHLK], requiredItems: ["6275303a9f372d6ea97f9ec7"], craftTimeSeconds: 39960, repeatable: true },
"6357c98711fb55120211f7e1": { reward: [WeaponIds.CHLK], requiredItems: ["6357c98711fb55120211f7e1"], craftTimeSeconds: 39960, repeatable: true },
"62e7e7bbe6da9612f743f1e0": { reward: [WeaponIds.CHLK], requiredItems: ["62e7e7bbe6da9612f743f1e0"], craftTimeSeconds: 39960, repeatable: true },
"5e81ebcd8e146c7080625e15": { reward: [WeaponIds.CHLK], requiredItems: ["5e81ebcd8e146c7080625e15"], craftTimeSeconds: 39960, repeatable: true },
"5fc22d7c187fea44d52eda44": { reward: [WeaponIds.CHLK], requiredItems: ["5fc22d7c187fea44d52eda44"], craftTimeSeconds: 399960, repeatable: true }
};
for (const recipeToAddKey in cultist_Recipes) {
productionConfig.cultistCircle.directRewards[recipeToAddKey] = cultist_Recipes[recipeToAddKey];
@@ -305,17 +318,13 @@ class Mod {
globals.ItemPresets[itemPreset] = global_item_preset_json_1.default.ItemPresets[itemPreset];
}
//trader push
/* PK.items.push(...preset_file.items);
for (const bsc in preset_file.barter_scheme)
{
PK.barter_scheme[bsc] = preset_file.barter_scheme[bsc];
PK.items.push(...Item_Preset_json_1.default.items);
for (const bsc in Item_Preset_json_1.default.barter_scheme) {
PK.barter_scheme[bsc] = Item_Preset_json_1.default.barter_scheme[bsc];
}
for (const llv in Item_Preset_json_1.default.loyal_level_items) {
PK.loyal_level_items[llv] = Item_Preset_json_1.default.loyal_level_items[llv];
}
for (const llv in preset_file.loyal_level_items)
{
PK.loyal_level_items[llv] = preset_file.loyal_level_items[llv];
} */
//push loot
/* const weaponcrateloot =
{
@@ -323,8 +332,8 @@ class Mod {
"relativeProbability": 17
} */
const locations = db.locations;
/* locations.rezervbase.looseLoot.spawnpoints.push(...spawnPoints.spawnsRezerv);
locations.woods.looseLoot.spawnpoints.push(...spawnPoints.spawnsWoods);
locations.bigmap.looseLoot.spawnpoints.push(...Spawns_json_1.default.spawnsCustom);
/* locations.woods.looseLoot.spawnpoints.push(...spawnPoints.spawnsWoods);
locations.factory4_day.looseLoot.spawnpoints.push(...spawnPoints.spawnsFactory);
locations.factory4_night.looseLoot.spawnpoints.push(...spawnPoints.spawnsFactory); */
/* for (const locationKey in locations)
@@ -344,7 +353,7 @@ class Mod {
scav.inventory.mods[WeaponIds.CHLK] =
{
mod_magazine: [
WeaponIds.CHLK_SIGHT
WeaponIds.CHLK_MAG
],
mod_scope: [
WeaponIds.CHLK_SIGHT
File diff suppressed because one or more lines are too long
@@ -10,7 +10,7 @@ import { ILocation } from "@spt/models/eft/common/ILocation";
import preset_file from "../src/Item_Preset.json";
import global_preset_file from "../src/global_item_preset.json";
//import spawnPoints from "../src/loot/Spawns.json";
import spawnPoints from "../src/loot/Spawns.json";
import { ItemTpl } from "@spt/models/enums/ItemTpl";
import { Traders } from "@spt/models/enums/Traders";
import { ConfigServer } from "@spt/servers/ConfigServer";
@@ -65,10 +65,10 @@ class Mod implements IPostDBLoadMod
Height: 2,
Ergonomics: 64,
CanSellOnRagfair: false,
CanRequireOnRagfair: true,
CanRequireOnRagfair: false,
ExaminedByDefault: false,
ExamineExperience: 20,
SightingRange: 100,
SightingRange: 250,
IronSightRange: 50,
LootExperience: 15,
RecoilAngle: 94,
@@ -178,7 +178,7 @@ class Mod implements IPostDBLoadMod
parentId: "5447b6094bdc2dc3278b4567",
newId: WeaponIds.CHLK,
handbookParentId: "5b5f79eb86f77447ed5636b7",
handbookPriceRoubles: 268334,
handbookPriceRoubles: 25334,
fleaPriceRoubles: 388421,
locales: {
"en": {
@@ -250,27 +250,40 @@ class Mod implements IPostDBLoadMod
customitem.createItemFromClone(china_Lake_tube);
const china_Lake_sight: NewItemFromCloneDetails = {
itemTplToClone: ItemTpl.COLLIMATOR_MILKOR_M2A1_GRENADE_LAUNCHER_REFLEX_SIGHT,
itemTplToClone: ItemTpl.COMPACTCOLLIMATOR_BELOMO_PK06_REFLEX_SIGHT,
overrideProperties: {
SightingRange: 100,
SightingRange: 50,
CalibrationDistances: [
[
50
]
],
Ergonomics: -10,
Ergonomics: -7,
Slots: [],
Weight: 0.08,
sightModType: "ironsight",
sightModType: "reflex",
ExamineExperience: 7,
ExaminedByDefault: false,
Name: "mod_scope_china_lake",
ShortName: "mod_scope_china_lake",
Description: "mod_scope_china_lake",
ModesCount: [5],
AimSensitivity:
[
[
0.9
]
],
Zooms:
[
[
1
]
],
Width: 1,
Height: 1,
ExtraSizeLeft: 0,
IsAnimated: true,
IsAnimated: false,
Prefab:
{
path: "china lake/mod_scope_leaf_sight.bundle",
@@ -278,7 +291,7 @@ class Mod implements IPostDBLoadMod
}
},
parentId: "55818ad54bdc2ddc698b4569",
parentId: "55818acf4bdc2dde698b456b",
newId: WeaponIds.CHLK_SIGHT,
handbookParentId: "5b5f73ec86f774093e6cb4fd",
handbookPriceRoubles: 876,
@@ -287,7 +300,7 @@ class Mod implements IPostDBLoadMod
"en": {
name: "China Lake leaf iron sight",
shortName: "China Lake",
description: "Standard issue adjustable iron sight for the China Lake."
description: "Standard issue iron sight for the China Lake."
}
}
}
@@ -308,10 +321,11 @@ class Mod implements IPostDBLoadMod
hideout.cultistCircle.directRewards.push(cultist_Recipe) */
const cultist_Recipes: Record<string, IDirectRewardSettings> = {
"6275303a9f372d6ea97f9ec7": {rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960},
"6357c98711fb55120211f7e1": {rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960},
"62e7e7bbe6da9612f743f1e0": {rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960},
"5e81ebcd8e146c7080625e15": {rewardTpls: [WeaponIds.CHLK], craftTimeSeconds: 39960}
"6275303a9f372d6ea97f9ec7": {reward: [WeaponIds.CHLK], requiredItems: ["6275303a9f372d6ea97f9ec7"], craftTimeSeconds: 39960, repeatable: true},
"6357c98711fb55120211f7e1": {reward: [WeaponIds.CHLK], requiredItems: ["6357c98711fb55120211f7e1"], craftTimeSeconds: 39960, repeatable: true},
"62e7e7bbe6da9612f743f1e0": {reward: [WeaponIds.CHLK], requiredItems: ["62e7e7bbe6da9612f743f1e0"], craftTimeSeconds: 39960, repeatable: true},
"5e81ebcd8e146c7080625e15": {reward: [WeaponIds.CHLK], requiredItems: ["5e81ebcd8e146c7080625e15"], craftTimeSeconds: 39960, repeatable: true},
"5fc22d7c187fea44d52eda44": {reward: [WeaponIds.CHLK], requiredItems: ["5fc22d7c187fea44d52eda44"], craftTimeSeconds: 399960, repeatable: true}
}
for (const recipeToAddKey in cultist_Recipes)
@@ -336,7 +350,7 @@ class Mod implements IPostDBLoadMod
}
//trader push
/* PK.items.push(...preset_file.items);
PK.items.push(...preset_file.items);
for (const bsc in preset_file.barter_scheme)
{
@@ -346,7 +360,7 @@ class Mod implements IPostDBLoadMod
for (const llv in preset_file.loyal_level_items)
{
PK.loyal_level_items[llv] = preset_file.loyal_level_items[llv];
} */
}
//push loot
/* const weaponcrateloot =
@@ -356,8 +370,8 @@ class Mod implements IPostDBLoadMod
} */
const locations = db.locations;
/* locations.rezervbase.looseLoot.spawnpoints.push(...spawnPoints.spawnsRezerv);
locations.woods.looseLoot.spawnpoints.push(...spawnPoints.spawnsWoods);
locations.bigmap.looseLoot.spawnpoints.push(...spawnPoints.spawnsCustom);
/* locations.woods.looseLoot.spawnpoints.push(...spawnPoints.spawnsWoods);
locations.factory4_day.looseLoot.spawnpoints.push(...spawnPoints.spawnsFactory);
locations.factory4_night.looseLoot.spawnpoints.push(...spawnPoints.spawnsFactory); */
@@ -380,7 +394,7 @@ class Mod implements IPostDBLoadMod
scav.inventory.mods[WeaponIds.CHLK] =
{
mod_magazine: [
WeaponIds.CHLK_SIGHT
WeaponIds.CHLK_MAG
],
mod_scope: [
WeaponIds.CHLK_SIGHT