0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 02:10:44 -05:00

Add currency to generation configuration for each bot

Fix various missing properties in some bot jsons
This commit is contained in:
Dev 2024-04-18 11:56:45 +01:00
parent 0d553e8ea6
commit b305ffdc24
46 changed files with 4026 additions and 2453 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2126,12 +2126,20 @@
"2": 2
},
"whitelist": []
},
"currency": {
"weights": {
"0": 10,
"1": 5,
"2": 1
},
"whitelist": []
},
"grenades": {
"weights": {
"0": 1,
"1": 2,
"2": 1,
"2": 3,
"3": 1,
"4": 0,
"5": 0
@ -2159,8 +2167,8 @@
"pocketLoot": {
"weights": {
"0": 1,
"1": 6,
"2": 3,
"1": 4,
"2": 4,
"3": 1,
"4": 1
},

View File

@ -2343,6 +2343,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2513,7 +2513,7 @@
},
"food": {
"weights": {
"0": 6,
"0": 5,
"1": 5,
"2": 2
},
@ -2521,11 +2521,18 @@
},
"drink": {
"weights": {
"0": 6,
"0": 5,
"1": 5,
"2": 1
},
"whitelist": []
},
"currency": {
"weights": {
"0": 5,
"1": 1
},
"whitelist": []
},
"grenades": {
"weights": {

View File

@ -2302,6 +2302,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2038,6 +2038,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2029,6 +2029,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2317,6 +2317,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2019,6 +2019,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2167,6 +2167,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2070,6 +2070,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2322,6 +2322,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2114,6 +2114,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2113,6 +2113,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2024,6 +2024,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2348,25 +2348,24 @@
"backpackLoot": {
"weights": {
"0": 1,
"1": 1,
"2": 2,
"1": 6,
"2": 6,
"3": 1,
"4": 1,
"5": 1,
"6": 1,
"7": 0
"6": 1
},
"whitelist": []
},
"drugs": {
"currency": {
"weights": {
"0": 1,
"1": 2,
"2": 0
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"food": {
"drink": {
"weights": {
"0": 10,
"1": 5,
@ -2374,7 +2373,15 @@
},
"whitelist": []
},
"drink": {
"drugs": {
"weights": {
"0": 30,
"1": 9,
"2": 1
},
"whitelist": []
},
"food": {
"weights": {
"0": 10,
"1": 5,
@ -2413,8 +2420,8 @@
},
"pocketLoot": {
"weights": {
"0": 1,
"1": 6,
"0": 2,
"1": 9,
"2": 3,
"3": 1,
"4": 1
@ -2439,8 +2446,8 @@
"vestLoot": {
"weights": {
"0": 1,
"1": 1,
"2": 2,
"1": 3,
"2": 4,
"3": 1,
"4": 0,
"5": 0,
@ -3073,6 +3080,7 @@
"5a144bdb86f7741d374bbde0": 1,
"5a1452ee86f7746f33111763": 3,
"5a26abfac4a28232980eabff": 1,
"5a26ac06c4a282000c5a90a8": 1,
"5a26ac0ec4a28200741e1e18": 3,
"5a27b281c4a28200741e1e52": 1,
"5a27bad7c4a282000b15184b": 1,
@ -3109,6 +3117,7 @@
"5ab3afb2d8ce87001660304d": 1,
"5ac66bea5acfc43b321d4aec": 1,
"5ad5ccd186f774446d5706e9": 4,
"5ad5cfbd86f7742c825d6104": 1,
"5ad5d20586f77449be26d877": 2,
"5ad5d49886f77455f9731921": 5,
"5ad5d64486f774079b080af8": 1,
@ -3126,6 +3135,7 @@
"5b1fb3e15acfc4001637f068": 1,
"5b31163c5acfc400153b71cb": 1,
"5b363dd25acfc4001a598fd2": 1,
"5b363dea5acfc4771e1c5e7e": 1,
"5b39ffbd5acfc47a8773fb06": 1,
"5b3a337e5acfc4704b4a19a0": 1,
"5b3f7bf05acfc433000ecf6b": 1,
@ -3149,8 +3159,8 @@
"5bbdb870d4351e00367fb67d": 2,
"5bc09a18d4351e003562b68e": 2,
"5bc5a351d4351e003477a414": 1,
"5bc9b156d4351e00367fbce9": 10,
"5bc9c29cd4351e003562b8a3": 31,
"5bc9b156d4351e00367fbce9": 12,
"5bc9c29cd4351e003562b8a3": 32,
"5be4038986f774527d3fae60": 3,
"5beec8b20db834001961942a": 1,
"5bfea7ad0db834001c38f1ee": 1,
@ -3169,7 +3179,7 @@
"5c0e531286f7747fa54205c2": 13,
"5c0e531d86f7747fa23f4d42": 40,
"5c0e533786f7747fa23f4d47": 21,
"5c0e534186f7747fa1419867": 11,
"5c0e534186f7747fa1419867": 13,
"5c0fa877d174af02a012e1cf": 35,
"5c0fafb6d174af02a96260ba": 1,
"5c10c8fd86f7743d7d706df3": 11,
@ -3305,6 +3315,7 @@
"5efb0e16aeb21837e749c7ff": 2,
"5f2aa43ba9b91d26f20ae6d2": 1,
"5f6331e097199b7db2128dc2": 1,
"5f647f31b6238e5dd066e196": 1,
"5fb653962b1b027b1f50bd03": 1,
"5fb6567747ce63734e3fa1dc": 1,
"5fbcc429900b1d5091531dd7": 1,
@ -3416,17 +3427,19 @@
"64c196ad26a15b84aa07132f": 2,
"64ccc1d4a0f13c24561edf27": 1,
"64ccc1ec1779ad6ba200a137": 1,
"64ccc206793ca11c8f450a38": 1,
"64ccc2111779ad6ba200a139": 1,
"64ccc246ff54fb38131acf29": 2,
"64ccc24de61ea448b507d34d": 2,
"64ccc268c41e91416064ebc7": 1,
"6516b129609aaf354b34b3a8": 1,
"6516e91f609aaf354b34b3e2": 2,
"651a8e529829226ceb67c319": 1,
"6529370c405a5f51dd023db8": 1,
"65293c38fc460e50a509cb25": 1,
"65293c7a17e14363030ad308": 1,
"653ecef836fae5a82f02b869": 1,
"656df4fec921ad01000481a2": 72,
"656df4fec921ad01000481a2": 73,
"6576f96220d53a5b8f3e395e": 1,
"65815f0e647e3d7246384e14": 31,
"6581998038c79576a2569e11": 4,
@ -3557,6 +3570,7 @@
"65815f0e647e3d7246384e14": 37
},
"SecuredContainer": {
"5448be9a4bdc2dfd2f8b456a": 22,
"54527a984bdc2d4e668b4567": 1,
"54527ac44bdc2d36668b4567": 11,
"560d5e524bdc2d25448b4571": 12211,

View File

@ -1,59 +1,59 @@
{
"appearance": {
"body": {
"5cc2e59214c02e000f16684e": 443,
"5cde9f337d6c8b0474535da8": 485,
"5d28ad6986f77429275dba22": 479,
"5d28ad7286f7742926686182": 475,
"5df8a10486f77412672a1e3a": 424,
"5e4bb3ee86f77406975c934e": 486,
"5e9da1d086f774054a667134": 455,
"5fd1eb3fbe3b7107d66cb645": 482,
"5fd22d311add82653b5a704c": 488,
"618d1af10a5a59657e5f56f3": 470,
"619238266c614e6d15792bca": 455,
"637df28ac22da5bb8d046935": 494,
"64a2edba08d26f8d62049c06": 476
"5cc2e59214c02e000f16684e": 54,
"5cde9f337d6c8b0474535da8": 56,
"5d28ad6986f77429275dba22": 55,
"5d28ad7286f7742926686182": 41,
"5df8a10486f77412672a1e3a": 34,
"5e4bb3ee86f77406975c934e": 52,
"5e9da1d086f774054a667134": 52,
"5fd1eb3fbe3b7107d66cb645": 52,
"5fd22d311add82653b5a704c": 50,
"618d1af10a5a59657e5f56f3": 55,
"619238266c614e6d15792bca": 59,
"637df28ac22da5bb8d046935": 50,
"64a2edba08d26f8d62049c06": 49
},
"feet": {
"5cc2e5d014c02e15d53d9c03": 234,
"5cde9fb87d6c8b0474535da9": 219,
"5d28af3486f774292364a6e7": 200,
"5df8a15186f77412640e2e6a": 224,
"5f5e410c6bdad616ad46d60b": 222,
"5f5e41366760b4138443b343": 243,
"5f5e41576760b4138443b344": 230,
"61922589bb2cea6f7a22d964": 246,
"6193be546e5968395b260157": 221,
"637df25a1e688345e1097bd4": 223,
"64a2e970a74bb33d140e6dc5": 218
"5cc2e5d014c02e15d53d9c03": 65,
"5cde9fb87d6c8b0474535da9": 72,
"5d28af3486f774292364a6e7": 57,
"5df8a15186f77412640e2e6a": 50,
"5f5e410c6bdad616ad46d60b": 56,
"5f5e41366760b4138443b343": 61,
"5f5e41576760b4138443b344": 64,
"61922589bb2cea6f7a22d964": 62,
"6193be546e5968395b260157": 53,
"637df25a1e688345e1097bd4": 66,
"64a2e970a74bb33d140e6dc5": 53
},
"hands": {
"5cc2e68f14c02e28b47de290": 467,
"5df8eac086f77412640e2ea7": 106,
"5e4bb49586f77406a313ec5a": 120,
"5e9da2dd86f774054e7d0f63": 113,
"5fd78fe9e3bfcf6cab4c9f54": 117,
"5fd7901bdd870108a754c0e6": 121,
"618cf9540a5a59657e5f5677": 114,
"6197aca964ae5436d76c1f98": 107,
"6391c6205dbbdb3b1b049840": 119,
"64ac23c449d74fd5ec0a124e": 120
"5cc2e68f14c02e28b47de290": 187,
"5df8eac086f77412640e2ea7": 32,
"5e4bb49586f77406a313ec5a": 48,
"5e9da2dd86f774054e7d0f63": 49,
"5fd78fe9e3bfcf6cab4c9f54": 48,
"5fd7901bdd870108a754c0e6": 46,
"618cf9540a5a59657e5f5677": 49,
"6197aca964ae5436d76c1f98": 52,
"6391c6205dbbdb3b1b049840": 46,
"64ac23c449d74fd5ec0a124e": 45
},
"head": {
"5cc2e4d014c02e000d0115f8": 9,
"5cde9ff17d6c8b0474535daa": 8,
"5d28afe786f774292668618d": 7,
"5f68c4a7c174a17c0f4c8945": 7,
"5f68c4c217d579077152a252": 8
"5cc2e4d014c02e000d0115f8": 20,
"5cde9ff17d6c8b0474535daa": 21,
"5d28afe786f774292668618d": 21,
"5f68c4a7c174a17c0f4c8945": 27,
"5f68c4c217d579077152a252": 19
},
"voice": {
"Scav_1": 24,
"Scav_2": 17,
"Scav_3": 19,
"Scav_4": 26,
"Scav_5": 22,
"Scav_6": 18
"Scav_1": 8,
"Scav_2": 7,
"Scav_3": 8,
"Scav_4": 11,
"Scav_5": 5,
"Scav_6": 5
}
},
"chances": {
@ -2375,8 +2375,8 @@
"backpackLoot": {
"weights": {
"0": 1,
"1": 2,
"2": 2,
"1": 6,
"2": 6,
"3": 1,
"4": 1,
"5": 1,
@ -2384,15 +2384,15 @@
},
"whitelist": []
},
"drugs": {
"currency": {
"weights": {
"0": 1,
"1": 2,
"2": 0
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"food": {
"drink": {
"weights": {
"0": 10,
"1": 5,
@ -2400,7 +2400,15 @@
},
"whitelist": []
},
"drink": {
"drugs": {
"weights": {
"0": 30,
"1": 9,
"2": 1
},
"whitelist": []
},
"food": {
"weights": {
"0": 10,
"1": 5,
@ -2410,8 +2418,8 @@
},
"grenades": {
"weights": {
"0": 3,
"1": 4,
"0": 8,
"1": 6,
"2": 2,
"3": 1,
"4": 0,
@ -2421,8 +2429,8 @@
},
"healing": {
"weights": {
"0": 1,
"1": 2,
"0": 5,
"1": 6,
"2": 1
},
"whitelist": []
@ -2430,17 +2438,17 @@
"magazines": {
"weights": {
"0": 0,
"1": 0,
"2": 1,
"3": 3,
"1": 5,
"2": 4,
"3": 2,
"4": 1
},
"whitelist": []
},
"pocketLoot": {
"weights": {
"0": 1,
"1": 6,
"0": 2,
"1": 9,
"2": 3,
"3": 1,
"4": 1
@ -2456,7 +2464,7 @@
},
"stims": {
"weights": {
"0": 15,
"0": 45,
"1": 3,
"2": 1
},
@ -2465,8 +2473,8 @@
"vestLoot": {
"weights": {
"0": 1,
"1": 1,
"2": 2,
"1": 3,
"2": 4,
"3": 1,
"4": 0,
"5": 0,
@ -2854,15 +2862,15 @@
"items": {
"Backpack": {
"5448ba0b4bdc2d02308b456c": 2,
"5448fee04bdc2dbc018b4567": 312,
"5448fee04bdc2dbc018b4567": 315,
"5448ff904bdc2d6f028b456e": 44,
"544a3a774bdc2d3a388b4567": 1,
"544fb25a4bdc2dfb738b4567": 121,
"544fb3364bdc2d34748b456a": 103,
"544fb37f4bdc2dee738b4567": 45,
"544fb3f34bdc2d03748b456a": 10,
"544fb45d4bdc2dee738b4568": 44,
"544fb62a4bdc2dfb738b4568": 58,
"544fb3f34bdc2d03748b456a": 11,
"544fb45d4bdc2dee738b4568": 46,
"544fb62a4bdc2dfb738b4568": 59,
"544fb6cc4bdc2d34748b456e": 44,
"54527a984bdc2d4e668b4567": 1,
"54527ac44bdc2d36668b4567": 4,
@ -2878,7 +2886,7 @@
"5649ab884bdc2ded0b8b457f": 1,
"5649ae4a4bdc2d1b2b8b4588": 1,
"5649b2314bdc2d79388b4576": 1,
"5649d9a14bdc2d79388b4580": 2,
"5649d9a14bdc2d79388b4580": 1,
"564ca99c4bdc2d16268b4589": 1,
"5656d7c34bdc2d9d198b4587": 5,
"5656eb674bdc2d35148b457c": 2,
@ -2898,22 +2906,23 @@
"56dff4a2d2720bbd668b456a": 3,
"56e05a6ed2720bd0748b4567": 1,
"56ea70acd2720b844b8b4594": 1,
"56ea7165d2720b6e518b4583": 1,
"570fd6c2d2720bc6458b457f": 1,
"570fd79bd2720bc7458b4583": 1,
"573475fb24597737fb1379e1": 1,
"573476d324597737da2adc13": 1,
"5734770f24597738025ee254": 1,
"5734773724597737fd047c14": 35,
"5734773724597737fd047c14": 36,
"57347c77245977448d35f6e2": 1,
"57347cd0245977445a2d6ff1": 1,
"57347d3d245977448f7b7f61": 61,
"57347d5f245977448b40fa81": 52,
"57347d692459774491567cf1": 57,
"57347d7224597744596b4e72": 56,
"57347d8724597744596b4e76": 56,
"57347d8724597744596b4e76": 59,
"57347d90245977448f7b7f65": 56,
"57347d9c245977448b40fa85": 47,
"57347da92459774491567cf5": 47,
"57347d9c245977448b40fa85": 48,
"57347da92459774491567cf5": 49,
"5735ff5c245977640e39ba7e": 5,
"573601b42459776410737435": 5,
"573719df2459775a626ccbc2": 5,
@ -2925,17 +2934,17 @@
"574eb85c245977648157eec3": 2,
"57505f6224597709a92585a9": 42,
"575062b524597720a31c09a1": 43,
"57513f07245977207e26a311": 402,
"57513f07245977207e26a311": 407,
"57513f9324597720a7128161": 38,
"57513fcc24597720a31c09a6": 64,
"57513fcc24597720a31c09a6": 66,
"5751435d24597720a27126d1": 33,
"57514643245977207f2c2d09": 34,
"575146b724597720a27126d5": 58,
"5751487e245977207e26a315": 61,
"5751496424597720a27126da": 85,
"5751a25924597722c463c472": 123,
"57514643245977207f2c2d09": 35,
"575146b724597720a27126d5": 59,
"5751487e245977207e26a315": 62,
"5751496424597720a27126da": 86,
"5751a25924597722c463c472": 122,
"5751a89d24597722aa0e8db0": 5,
"5755356824597772cb798962": 59,
"5755356824597772cb798962": 61,
"5755383e24597772cb798966": 17,
"57616a9e2459773c7a400234": 1,
"576a5ed62459771e9c2096cb": 1,
@ -2943,16 +2952,16 @@
"576fd4ec2459777f0b518431": 1,
"577d141e24597739c5255e01": 1,
"5780cf692459777de4559321": 1,
"5780cf722459777a5108b9a1": 2,
"5780cf722459777a5108b9a1": 3,
"5780cf7f2459777de4559322": 1,
"5780cf942459777df90dcb72": 12,
"5780cf9e2459777df90dcb73": 2,
"5780cfa52459777dfb276eb1": 22,
"5780cfa52459777dfb276eb1": 24,
"5780d0532459777a5108b9a2": 2,
"5780d0652459777df90dcb74": 2,
"5780d07a2459777de4559324": 2,
"57838f0b2459774a256959b2": 1,
"5783c43d2459774bbe137486": 32,
"5783c43d2459774bbe137486": 33,
"5798a2832459774b53341029": 3,
"57a0dfb82459774d3078b56c": 1,
"57a0e5022459774d1673f889": 4,
@ -2975,7 +2984,7 @@
"588226d124597767ad33f787": 1,
"588226dd24597767ad33f789": 1,
"588226e62459776e3e094af7": 1,
"58864a4f2459770fcc257101": 3,
"58864a4f2459770fcc257101": 2,
"5887431f2459777e1612938f": 2,
"5888945a2459774bf43ba385": 1,
"5888988e24597752fe43a6fa": 2,
@ -2984,7 +2993,7 @@
"5894a2c386f77427140b8342": 1,
"58c157c886f774032749fb06": 1,
"58d2912286f7744e27117493": 1,
"58dd3ad986f77403051cba8f": 1,
"58dd3ad986f77403051cba8f": 2,
"5909e99886f7740c983b9984": 1,
"590a386e86f77429692b27ab": 1,
"590a391c86f774385a33c404": 1,
@ -2994,14 +3003,14 @@
"590c5c9f86f77477c91c36e7": 1,
"590c5d4b86f774784e1b9c45": 52,
"590c5f0d86f77413997acfab": 60,
"590c621186f774138d11ea29": 34,
"590c657e86f77412b013051d": 18,
"590c621186f774138d11ea29": 35,
"590c657e86f77412b013051d": 19,
"590c661e86f7741e566b646a": 37,
"590c678286f77426c9660122": 16,
"590c695186f7741e566b64a2": 13,
"590c695186f7741e566b64a2": 14,
"5913611c86f77479e0084092": 8,
"5913651986f774432f15d132": 1,
"59136a4486f774447a1ed172": 4,
"59136a4486f774447a1ed172": 5,
"59136e1e86f774432f15d133": 1,
"59136f6f86f774447a1ed173": 4,
"591382d986f774465a6413a7": 1,
@ -3016,9 +3025,9 @@
"5938144586f77473c2087145": 3,
"5938504186f7740991483f30": 6,
"593858c486f774253a24cb52": 7,
"5938603e86f77435642354f4": 50,
"5938603e86f77435642354f4": 52,
"5938994586f774523a425196": 7,
"593aa4be86f77457f56379f8": 34,
"593aa4be86f77457f56379f8": 36,
"593d1fa786f7746da62d61ac": 1,
"593d489686f7745c6255d58a": 2,
"5943ee5a86f77413872d25ec": 1,
@ -3083,6 +3092,7 @@
"5a144bdb86f7741d374bbde0": 1,
"5a1452ee86f7746f33111763": 3,
"5a26abfac4a28232980eabff": 1,
"5a26ac06c4a282000c5a90a8": 1,
"5a26ac0ec4a28200741e1e18": 3,
"5a27b281c4a28200741e1e52": 1,
"5a27bad7c4a282000b15184b": 1,
@ -3119,6 +3129,7 @@
"5ab3afb2d8ce87001660304d": 1,
"5ac66bea5acfc43b321d4aec": 1,
"5ad5ccd186f774446d5706e9": 4,
"5ad5cfbd86f7742c825d6104": 1,
"5ad5d20586f77449be26d877": 2,
"5ad5d49886f77455f9731921": 5,
"5ad5d64486f774079b080af8": 1,
@ -3136,6 +3147,7 @@
"5b1fb3e15acfc4001637f068": 1,
"5b31163c5acfc400153b71cb": 1,
"5b363dd25acfc4001a598fd2": 1,
"5b363dea5acfc4771e1c5e7e": 1,
"5b39ffbd5acfc47a8773fb06": 1,
"5b3a337e5acfc4704b4a19a0": 1,
"5b3f7bf05acfc433000ecf6b": 1,
@ -3159,8 +3171,8 @@
"5bbdb870d4351e00367fb67d": 2,
"5bc09a18d4351e003562b68e": 2,
"5bc5a351d4351e003477a414": 1,
"5bc9b156d4351e00367fbce9": 10,
"5bc9c29cd4351e003562b8a3": 31,
"5bc9b156d4351e00367fbce9": 12,
"5bc9c29cd4351e003562b8a3": 32,
"5be4038986f774527d3fae60": 3,
"5beec8b20db834001961942a": 1,
"5bfea7ad0db834001c38f1ee": 1,
@ -3179,7 +3191,7 @@
"5c0e531286f7747fa54205c2": 13,
"5c0e531d86f7747fa23f4d42": 40,
"5c0e533786f7747fa23f4d47": 21,
"5c0e534186f7747fa1419867": 11,
"5c0e534186f7747fa1419867": 13,
"5c0fa877d174af02a012e1cf": 35,
"5c0fafb6d174af02a96260ba": 1,
"5c10c8fd86f7743d7d706df3": 11,
@ -3216,7 +3228,7 @@
"5cc80f38e4a949001152b560": 1,
"5cc80f53e4a949000e1ea4f8": 1,
"5cc80f67e4a949035e43bbba": 2,
"5cc80f8fe4a949033b0224a2": 6,
"5cc80f8fe4a949033b0224a2": 7,
"5cc86840d7f00c002412c56c": 4,
"5cc9ad73d7f00c000e2579d4": 1,
"5cdeaca5d7f00c00b61c4b70": 1,
@ -3246,7 +3258,7 @@
"5d40407c86f774318526545a": 17,
"5d4406a8a4b9361e4f6eb8b7": 2,
"5d44334ba4b9362b346d1948": 1,
"5d6e6806a4b936088465b17e": 3,
"5d6e6806a4b936088465b17e": 4,
"5d6e6869a4b9361c140bcfde": 2,
"5d6e689ca4b9361bc8618956": 1,
"5d6e68b3a4b9361bca7e50b5": 2,
@ -3276,8 +3288,8 @@
"5da743f586f7744014504f72": 2,
"5dcbe965e4ed22586443a79d": 1,
"5de8ea8ffd6b4e6e2276dc35": 1,
"5df8a6a186f77412640e2e80": 48,
"5df8a72c86f77412640e2e83": 36,
"5df8a6a186f77412640e2e80": 46,
"5df8a72c86f77412640e2e83": 35,
"5df8a77486f77412672a1e3f": 7,
"5dfa3cd1b33c0951220c079b": 2,
"5e023cf8186a883be655e54f": 2,
@ -3285,11 +3297,12 @@
"5e023e88277cce2b522ff2b1": 1,
"5e208b9842457a4a7a33d074": 1,
"5e2aee0a86f774755a234b62": 1,
"5e2aef7986f7746d3f3c33f5": 1,
"5e42c71586f7747f245e1343": 2,
"5e569a2e56edd02abe09f280": 1,
"5e81f423763d9f754677bf2e": 1,
"5e831507ea0a7c419c2f9bd9": 449,
"5e8488fa988a8701445df1e4": 36,
"5e831507ea0a7c419c2f9bd9": 458,
"5e8488fa988a8701445df1e4": 37,
"5e85a9a6eacf8c039e4e2ac1": 2,
"5e85aa1a988a8701445df1f5": 2,
"5e8f3423fd7471236e6e3b64": 24,
@ -3297,7 +3310,7 @@
"5ed515c8d380ab312177c0fa": 6,
"5ed515e03a40a50460332579": 5,
"5ed515ece452db0eb56fc028": 5,
"5ed515f6915ec335206e4152": 5,
"5ed515f6915ec335206e4152": 6,
"5ed5160a87bb8443d10680b5": 8,
"5ed51652f6c34d2cc26336a1": 6,
"5ed5166ad380ab312177c100": 4,
@ -3315,6 +3328,7 @@
"5efb0e16aeb21837e749c7ff": 2,
"5f2aa43ba9b91d26f20ae6d2": 1,
"5f6331e097199b7db2128dc2": 1,
"5f647f31b6238e5dd066e196": 1,
"5fb653962b1b027b1f50bd03": 1,
"5fb6567747ce63734e3fa1dc": 1,
"5fbcc429900b1d5091531dd7": 1,
@ -3426,17 +3440,19 @@
"64c196ad26a15b84aa07132f": 2,
"64ccc1d4a0f13c24561edf27": 1,
"64ccc1ec1779ad6ba200a137": 1,
"64ccc206793ca11c8f450a38": 1,
"64ccc2111779ad6ba200a139": 1,
"64ccc246ff54fb38131acf29": 2,
"64ccc24de61ea448b507d34d": 2,
"64ccc268c41e91416064ebc7": 1,
"6516b129609aaf354b34b3a8": 1,
"6516e91f609aaf354b34b3e2": 2,
"651a8e529829226ceb67c319": 1,
"6529370c405a5f51dd023db8": 1,
"65293c38fc460e50a509cb25": 1,
"65293c7a17e14363030ad308": 1,
"653ecef836fae5a82f02b869": 1,
"656df4fec921ad01000481a2": 72,
"656df4fec921ad01000481a2": 73,
"6576f96220d53a5b8f3e395e": 1,
"65815f0e647e3d7246384e14": 31,
"6581998038c79576a2569e11": 4,
@ -3446,14 +3462,14 @@
"6582dc5740562727a654ebb1": 1
},
"Pockets": {
"5448be9a4bdc2dfd2f8b456a": 366,
"5448ff904bdc2d6f028b456e": 68,
"5449016a4bdc2d6f028b456f": 378,
"544fb25a4bdc2dfb738b4567": 157,
"544fb3364bdc2d34748b456a": 137,
"544fb37f4bdc2dee738b4567": 105,
"544fb3f34bdc2d03748b456a": 24,
"544fb6cc4bdc2d34748b456e": 64,
"5448be9a4bdc2dfd2f8b456a": 372,
"5448ff904bdc2d6f028b456e": 70,
"5449016a4bdc2d6f028b456f": 381,
"544fb25a4bdc2dfb738b4567": 159,
"544fb3364bdc2d34748b456a": 139,
"544fb37f4bdc2dee738b4567": 108,
"544fb3f34bdc2d03748b456a": 25,
"544fb6cc4bdc2d34748b456e": 68,
"5673de654bdc2d180f8b456d": 48,
"56742c284bdc2d98058b456d": 1,
"56742c2e4bdc2d95058b456d": 1,
@ -3469,27 +3485,27 @@
"57347baf24597738002c6178": 1,
"57347c1124597737fb1379e3": 4,
"57347c5b245977448d35f6e1": 4,
"57347c77245977448d35f6e2": 2,
"57347c77245977448d35f6e2": 3,
"57347c93245977448d35f6e3": 3,
"57347cd0245977445a2d6ff1": 1,
"57347d3d245977448f7b7f61": 78,
"57347d5f245977448b40fa81": 67,
"57347d5f245977448b40fa81": 70,
"57347d692459774491567cf1": 83,
"57347d7224597744596b4e72": 69,
"57347d8724597744596b4e76": 70,
"57347d9c245977448b40fa85": 68,
"57347d9c245977448b40fa85": 69,
"57347da92459774491567cf5": 72,
"57505f6224597709a92585a9": 61,
"57505f6224597709a92585a9": 62,
"575062b524597720a31c09a1": 63,
"5751435d24597720a27126d1": 40,
"57514643245977207f2c2d09": 52,
"57514643245977207f2c2d09": 53,
"5751487e245977207e26a315": 89,
"5751496424597720a27126da": 124,
"5751a25924597722c463c472": 159,
"5751496424597720a27126da": 125,
"5751a25924597722c463c472": 160,
"5751a89d24597722aa0e8db0": 11,
"5755356824597772cb798962": 79,
"5755383e24597772cb798966": 15,
"5783c43d2459774bbe137486": 189,
"5783c43d2459774bbe137486": 190,
"5909e99886f7740c983b9984": 2,
"590a358486f77429692b2790": 4,
"590a373286f774287540368b": 1,
@ -3499,14 +3515,14 @@
"590c2d8786f774245b1f03f3": 1,
"590c31c586f774245e3141b2": 1,
"590c5bbd86f774785762df04": 1,
"590c678286f77426c9660122": 21,
"590c695186f7741e566b64a2": 21,
"59e3577886f774176a362503": 73,
"590c678286f77426c9660122": 22,
"590c695186f7741e566b64a2": 22,
"59e3577886f774176a362503": 76,
"59e35abd86f7741778269d82": 2,
"59e35ef086f7741777737012": 1,
"59e3606886f77417674759a5": 2,
"59e361e886f774176c10a2a5": 1,
"5a0c27731526d80618476ac4": 284,
"5a0c27731526d80618476ac4": 289,
"5af0454c86f7746bf20992e8": 73,
"5af0484c86f7740f02001f7f": 2,
"5af0548586f7743a532b7e99": 21,
@ -3517,7 +3533,7 @@
"5bc9c377d4351e3bac12251b": 1,
"5c06779c86f77426e00dd782": 4,
"5c06782b86f77426df5407d2": 2,
"5c0e530286f7747fa1419862": 22,
"5c0e530286f7747fa1419862": 23,
"5c0e531286f7747fa54205c2": 21,
"5c0e531d86f7747fa23f4d42": 49,
"5c0e533786f7747fa23f4d47": 24,
@ -3531,42 +3547,43 @@
"5d235b4d86f7742e017bc88a": 1,
"5d40425986f7743185265461": 1,
"5df8a6a186f77412640e2e80": 1,
"5e2af22086f7746d3f3c33fa": 2,
"5e2af22086f7746d3f3c33fa": 3,
"5e2af29386f7746d4159f077": 1,
"5e2af2bc86f7746d3f3c33fc": 1,
"5e2af51086f7746d3f3c3402": 1,
"5e831507ea0a7c419c2f9bd9": 68,
"5e8488fa988a8701445df1e4": 58,
"5ed515c8d380ab312177c0fa": 20,
"5e831507ea0a7c419c2f9bd9": 69,
"5e8488fa988a8701445df1e4": 59,
"5ed515c8d380ab312177c0fa": 21,
"5ed515e03a40a50460332579": 11,
"5ed515ece452db0eb56fc028": 14,
"5ed515f6915ec335206e4152": 11,
"5ed5160a87bb8443d10680b5": 7,
"5ed51652f6c34d2cc26336a1": 11,
"5ed51652f6c34d2cc26336a1": 12,
"5ed5166ad380ab312177c100": 3,
"5f745ee30acaeb0d490d8c5b": 1,
"5fca138c2a7b221b2852a5c6": 2,
"5fca13ca637ee0341a484f46": 9,
"60098ad7c2240c0fe85c570a": 52,
"60098af40accd37ef2175f27": 57,
"60098b1705871270cd5352a1": 25,
"60098ad7c2240c0fe85c570a": 53,
"60098af40accd37ef2175f27": 59,
"60098b1705871270cd5352a1": 26,
"60391b0fb847c71012789415": 3,
"60b0f6c058e0b0481a09ad11": 44,
"60b0f6c058e0b0481a09ad11": 43,
"60b0f93284c20f0feb453da7": 30,
"619cc01e0a7c3a1a2731940c": 1,
"61bf7b6302b3924be92fa8c3": 1,
"61bf83814088ec1a363d7097": 2,
"62a09cfe4f842e1bd12da3e4": 1,
"62a09d3bcf4a99369e262447": 51,
"62a09d3bcf4a99369e262447": 52,
"637b60c3b7afa97bfc3d7001": 4,
"637b612fb7afa97bfc3d7005": 8,
"637b6179104668754b72f8f5": 6,
"637b620db7afa97bfc3d7009": 9,
"637b6251104668754b72f8f9": 3,
"656df4fec921ad01000481a2": 124,
"65815f0e647e3d7246384e14": 37
"656df4fec921ad01000481a2": 125,
"65815f0e647e3d7246384e14": 38
},
"SecuredContainer": {
"5448be9a4bdc2dfd2f8b456a": 22,
"54527a984bdc2d4e668b4567": 1,
"54527ac44bdc2d36668b4567": 11,
"560d5e524bdc2d25448b4571": 12211,

View File

@ -2254,6 +2254,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2053,6 +2053,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2085,6 +2085,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2253,6 +2253,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2173,6 +2173,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2173,6 +2173,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2044,6 +2044,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2212,6 +2212,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2214,6 +2214,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2217,6 +2217,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

File diff suppressed because it is too large Load Diff

View File

@ -2099,6 +2099,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2232,6 +2232,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2245,6 +2245,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2136,6 +2136,14 @@
"7": 0
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drugs": {
"weights": {

View File

@ -2003,6 +2003,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2064,6 +2064,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2298,6 +2298,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2017,6 +2017,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,
@ -2057,7 +2065,7 @@
"0": 1,
"1": 2,
"2": 1
},
},
"whitelist": []
},
"magazines": {

View File

@ -2119,6 +2119,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2085,6 +2085,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2101,6 +2101,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2112,6 +2112,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2146,6 +2146,14 @@
},
"whitelist": []
},
"currency": {
"weights": {
"0": 20,
"1": 5,
"2": 1
},
"whitelist": []
},
"drink": {
"weights": {
"0": 10,

View File

@ -2510,7 +2510,7 @@
},
"food": {
"weights": {
"0": 6,
"0": 5,
"1": 5,
"2": 2
},
@ -2518,11 +2518,18 @@
},
"drink": {
"weights": {
"0": 6,
"0": 5,
"1": 5,
"2": 1
},
"whitelist": []
},
"currency": {
"weights": {
"0": 5,
"1": 1
},
"whitelist": []
},
"grenades": {
"weights": {

View File

@ -102,6 +102,10 @@ export class BotLootGenerator
const foodItemCount = Number(this.weightedRandomHelper.getWeightedValue<number>(itemCounts.food.weights));
const drinkItemCount = Number(this.weightedRandomHelper.getWeightedValue<number>(itemCounts.drink.weights));
const currencyItemCount = Number(
this.weightedRandomHelper.getWeightedValue<number>(itemCounts.currency.weights),
);
const stimItemCount = Number(this.weightedRandomHelper.getWeightedValue<number>(itemCounts.stims.weights));
const grenadeCount = Number(this.weightedRandomHelper.getWeightedValue<number>(itemCounts.grenades.weights));
@ -173,6 +177,18 @@ export class BotLootGenerator
isPmc,
);
// Currency
this.addLootFromPool(
this.botLootCacheService.getLootFromCache(botRole, isPmc, LootCacheType.CURRENCY_ITEMS, botJsonTemplate),
containersBotHasAvailable,
currencyItemCount,
botInventory,
botRole,
null,
0,
isPmc,
);
// Stims
this.addLootFromPool(
this.botLootCacheService.getLootFromCache(botRole, isPmc, LootCacheType.STIM_ITEMS, botJsonTemplate),

View File

@ -132,6 +132,7 @@ export interface GenerationWeightingItems
drugs: GenerationData;
food: GenerationData;
drink: GenerationData;
currency: GenerationData;
stims: GenerationData;
backpackLoot: GenerationData;
pocketLoot: GenerationData;

View File

@ -11,6 +11,7 @@ export interface IBotLootCache
drugItems: Record<string, number>;
foodItems: Record<string, number>;
drinkItems: Record<string, number>;
currencyItems: Record<string, number>;
stimItems: Record<string, number>;
grenadeItems: Record<string, number>;
}
@ -29,4 +30,5 @@ export enum LootCacheType
GRENADE_ITEMS = "GrenadeItems",
FOOD_ITEMS = "FoodItems",
DRINK_ITEMS = "DrinkItems",
CURRENCY_ITEMS = "CurrencyItems",
}

View File

@ -95,6 +95,9 @@ export class BotLootCacheService
case LootCacheType.DRINK_ITEMS:
result = this.lootCache[botRole].drinkItems;
break;
case LootCacheType.CURRENCY_ITEMS:
result = this.lootCache[botRole].currencyItems;
break;
case LootCacheType.STIM_ITEMS:
result = this.lootCache[botRole].stimItems;
break;
@ -276,6 +279,25 @@ export class BotLootCacheService
}
}
// Assign whitelisted currency to bot if any exist
const currencyItems: Record<string, number> =
(Object.keys(botJsonTemplate.generation.items.currency.whitelist)?.length > 0)
? botJsonTemplate.generation.items.currency.whitelist
: {};
// No currency whitelist, find and assign from combined item pool
if (Object.keys(currencyItems).length === 0)
{
for (const [tpl, weight] of Object.entries(combinedLootPool))
{
const itemTemplate = this.itemHelper.getItem(tpl)[1];
if (this.itemHelper.isOfBaseclass(itemTemplate._id, BaseClasses.MONEY))
{
currencyItems[tpl] = weight;
}
}
}
// Assign whitelisted stims to bot if any exist
const stimItems: Record<string, number> =
(Object.keys(botJsonTemplate.generation.items.stims.whitelist)?.length > 0)
@ -331,6 +353,7 @@ export class BotLootCacheService
|| this.isGrenade(itemTemplate._props)
|| this.isFood(itemTemplate._id)
|| this.isDrink(itemTemplate._id)
|| this.isCurrency(itemTemplate._id)
)
{
// Is type we dont want as backpack loot, skip
@ -357,6 +380,7 @@ export class BotLootCacheService
|| this.isGrenade(itemTemplate._props)
|| this.isFood(itemTemplate._id)
|| this.isDrink(itemTemplate._id)
|| this.isCurrency(itemTemplate._id)
|| !("Height" in itemTemplate._props) // lacks height
|| !("Width" in itemTemplate._props) // lacks width
)
@ -384,6 +408,7 @@ export class BotLootCacheService
|| this.isGrenade(itemTemplate._props)
|| this.isFood(itemTemplate._id)
|| this.isDrink(itemTemplate._id)
|| this.isCurrency(itemTemplate._id)
)
{
continue;
@ -396,6 +421,7 @@ export class BotLootCacheService
this.lootCache[botRole].drugItems = drugItems;
this.lootCache[botRole].foodItems = foodItems;
this.lootCache[botRole].drinkItems = drinkItems;
this.lootCache[botRole].currencyItems = currencyItems;
this.lootCache[botRole].stimItems = stimItems;
this.lootCache[botRole].grenadeItems = grenadeItems;
@ -491,6 +517,11 @@ export class BotLootCacheService
return this.itemHelper.isOfBaseclass(tpl, BaseClasses.DRINK);
}
protected isCurrency(tpl: string): boolean
{
return this.itemHelper.isOfBaseclass(tpl, BaseClasses.MONEY);
}
/**
* Check if a bot type exists inside the loot cache
* @param botRole role to check for
@ -519,6 +550,7 @@ export class BotLootCacheService
drugItems: {},
foodItems: {},
drinkItems: {},
currencyItems: {},
healingItems: {},
stimItems: {},
};