Finished prapor LL2 + skier LL1
This commit is contained in:
parent
d5f7ad172c
commit
f622f158c6
@ -6,7 +6,11 @@ class PraporAssort {
|
||||
|
||||
static GenerateLL1() {
|
||||
const CoreMod = require("../../CoreMod/src/Core.js")
|
||||
DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
|
||||
DatabaseServer.tables.traders["54cb50c76803fa8b248b4571"].assort = {
|
||||
"items": [],
|
||||
"barter_scheme": {},
|
||||
"loyal_level_items": {}
|
||||
}
|
||||
let id = null
|
||||
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
|
||||
//PRAPOR LOYALTY LEVEL 1
|
||||
@ -207,54 +211,136 @@ class PraporAssort {
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 1, false, 20000)
|
||||
|
||||
//5x45 BP x30 GS box
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372ac324597767001bc261","hideout","hideout",[[{"count": 1,"_tpl": "59e358a886f7741776641ac3"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372ac324597767001bc261", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "59e358a886f7741776641ac3"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
|
||||
|
||||
//5x45 BT x30 GS box
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1","hideout","hideout",[[{"count": 2,"_tpl": "57347da92459774491567cf5"}]], "54cb50c76803fa8b248b4571", 1, false, 4000, 4)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "57347da92459774491567cf5"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 4000, 4)
|
||||
|
||||
//F-1 Hand grenade
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3","hideout","hideout",[[{"count": 2,"_tpl": "590a3cd386f77436f20848cb"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5710c24ad2720bc3458b45a3", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "590a3cd386f77436f20848cb"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
|
||||
|
||||
//PP-91 9x18PM 30-round magazine
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57d1519e24597714373db79d","hideout","hideout",[[{"count": 1,"_tpl": "5d1b31ce86f7742523398394"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 12)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57d1519e24597714373db79d", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "5d1b31ce86f7742523398394"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 12)
|
||||
|
||||
//Zenit-BelOMO PSO-1M2-1 4x24 scope
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "576fd4ec2459777f0b518431","hideout","hideout",[[{"count": 2,"_tpl": "590a3c0a86f774385a33c450"}]], "54cb50c76803fa8b248b4571", 1, false, 2000)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "576fd4ec2459777f0b518431", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "590a3c0a86f774385a33c450"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000)
|
||||
|
||||
//SFera-S
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7d193e5b5b000171d063f","hideout","hideout",[[{"count": 2,"_tpl": "57347d9c245977448b40fa85"},{"count": 1,"_tpl": "5d40407c86f774318526545a"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,3)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5aa7d193e5b5b000171d063f", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "57347d9c245977448b40fa85"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "5d40407c86f774318526545a"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 3)
|
||||
|
||||
//6B23-1
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3","hideout","hideout",[[{"count": 1,"_tpl": "59fafb5d86f774067a6f2084"}]], "54cb50c76803fa8b248b4571", 1, false, 1000,1)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5bab86f77461f55ed1f3", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "59fafb5d86f774067a6f2084"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 1000, 1)
|
||||
|
||||
//VKBO bag
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ee7786f7742d8f33f0b9","hideout","hideout",[[{"count": 2,"_tpl": "5672cb124bdc2d1a0f8b4568"}]], "54cb50c76803fa8b248b4571", 1, false, 20000)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ab8ee7786f7742d8f33f0b9", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "5672cb124bdc2d1a0f8b4568"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 20000)
|
||||
|
||||
//6sh112
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5929a2a086f7744f4b234d43","hideout","hideout",[[{"count": 1,"_tpl": "575146b724597720a27126d5"},{"count": 1,"_tpl": "57347d90245977448f7b7f65"}]], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5929a2a086f7744f4b234d43", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "575146b724597720a27126d5"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "57347d90245977448f7b7f65"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
|
||||
//APS
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5ac4accf86f774181345c3d7","hideout","hideout",[[{"count": 1,"_tpl": "59e35ef086f7741777737012"},{"count": 1,"_tpl": "57347c5b245977448d35f6e1"}]], "54cb50c76803fa8b248b4571", 1, false, 2000)
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5ac4accf86f774181345c3d7", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "59e35ef086f7741777737012"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "57347c5b245977448d35f6e1"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000)
|
||||
|
||||
//AKS-74U
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "584147732459775a2b6d9f12","hideout","hideout",[[{"count": 1,"_tpl": "573478bc24597738002c6175"},{"count": 1,"_tpl": "5e2af00086f7746d3f3c33f7"}]], "54cb50c76803fa8b248b4571", 1, false, 7000)
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "584147732459775a2b6d9f12", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "573478bc24597738002c6175"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "5e2af00086f7746d3f3c33f7"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 7000)
|
||||
|
||||
//AKM
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "59e8d2ab86f77407f03fc9c2","hideout","hideout",[[{"count": 3,"_tpl": "57347d7224597744596b4e72"}]], "54cb50c76803fa8b248b4571", 1, false, 20000,1)
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "59e8d2ab86f77407f03fc9c2", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 3,
|
||||
"_tpl": "57347d7224597744596b4e72"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 20000, 1)
|
||||
|
||||
//PP-19-01
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "59b81f7386f77421ac688a0a","hideout","hideout",[[{"count": 4,"_tpl": "57347cd0245977445a2d6ff1"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,2)
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "59b81f7386f77421ac688a0a", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 4,
|
||||
"_tpl": "57347cd0245977445a2d6ff1"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
|
||||
//Mosin sniper carbine
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc","hideout","hideout",[[{"count": 5,"_tpl": "5672cb304bdc2dc2088b456a"},{"count": 8,"_tpl": "5672cb124bdc2d1a0f8b4568"}]], "54cb50c76803fa8b248b4571", 1, false, 2000,1)
|
||||
|
||||
//PRAPOR ASSORT LL2
|
||||
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 5,
|
||||
"_tpl": "5672cb304bdc2dc2088b456a"
|
||||
}, {
|
||||
"count": 8,
|
||||
"_tpl": "5672cb124bdc2d1a0f8b4568"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 1)
|
||||
|
||||
}
|
||||
static GenerateLL2() {
|
||||
@ -381,25 +467,69 @@ class PraporAssort {
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59985a8086f77414ec448d1a", "54cb50c76803fa8b248b4571", 1307, "RUB", 2, false, 15000)
|
||||
|
||||
//5x45 BT x30 GS box
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1","hideout","hideout",[[{"count": 1,"_tpl": "590a373286f774287540368b"}]], "54cb50c76803fa8b248b4571", 2, false, 2000)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "57372c89245977685d4159b1", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "590a373286f774287540368b"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 2000)
|
||||
|
||||
//RGD-5 Hand grenade
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a","hideout","hideout",[[{"count": 1,"_tpl": "590a3cd386f77436f20848cb"}]], "54cb50c76803fa8b248b4571", 2, true, 999999)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5448be9a4bdc2dfd2f8b456a", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "590a3cd386f77436f20848cb"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, true, 999999)
|
||||
|
||||
//6L18
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "564ca9df4bdc2d35148b4569","hideout","hideout",[[{"count": 1,"_tpl": "590a3c0a86f774385a33c450"},{"count": 1,"_tpl": "590c311186f77424d1667482"}]], "54cb50c76803fa8b248b4571", 2, false, 6000, 10)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "564ca9df4bdc2d35148b4569", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "590a3c0a86f774385a33c450"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "590c311186f77424d1667482"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 6000, 10)
|
||||
|
||||
//PPSH Drum mag
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ea034f65aad6446a939737e","hideout","hideout",[[{"count": 1,"_tpl": "5d1c819a86f774771b0acd6c"}]], "54cb50c76803fa8b248b4571", 2, false, 5000, 2)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5ea034f65aad6446a939737e", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "5d1c819a86f774771b0acd6c"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 5000, 2)
|
||||
|
||||
//Valday PS-320 1x/6x scope
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0517910db83400232ffee5","hideout","hideout",[[{"count": 2,"_tpl": "5d40407c86f774318526545a"},{"count": 1,"_tpl": "590c5f0d86f77413997acfab"}]], "54cb50c76803fa8b248b4571", 2, false, 2000, 2)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0517910db83400232ffee5", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "5d40407c86f774318526545a"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "590c5f0d86f77413997acfab"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 2000, 2)
|
||||
|
||||
//MPL-50 Entrenching tool
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bead2e00db834001c062938","hideout","hideout",[[{"count": 2,"_tpl": "5b4329075acfc400153b78ff"}]], "54cb50c76803fa8b248b4571", 2, true, 999999)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5bead2e00db834001c062938", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "5b4329075acfc400153b78ff"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, true, 999999)
|
||||
|
||||
//Metal fuel tank
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b36a186f7742523398433","hideout","hideout",[[{"count": 2,"_tpl": "59fafb5d86f774067a6f2084"},{"count": 1,"_tpl": "5b43575a86f77424f443fe62"}]], "54cb50c76803fa8b248b4571", 2, false, 2000, 1)
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5d1b36a186f7742523398433", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "59fafb5d86f774067a6f2084"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "5b43575a86f77424f443fe62"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 2000, 1)
|
||||
|
||||
|
||||
//AK-74N Wood
|
||||
@ -422,40 +552,116 @@ class PraporAssort {
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5a327f4a86f774766866140b", "54cb50c76803fa8b248b4571", 41873, "RUB", 2, true, 2000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//AKS-74N
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5ac4abf986f7747d117c67aa", "54cb50c76803fa8b248b4571", 38072, "RUB", 2, false, 20000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//AK-74
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1ce886f77401c119d014", "54cb50c76803fa8b248b4571", 34309, "RUB", 2, false, 20000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//PP-91-01 Kedr-B
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "584149ea2459775a6c55e940", "54cb50c76803fa8b248b4571", 36154, "RUB", 2, false, 5000, 2)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//PP-9 Klin
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "584149ad2459775a7726350e", "54cb50c76803fa8b248b4571", 23427, "RUB", 2, false, 20000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//PP-19-01 Vityaz SN
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "59b81f7386f77421ac688a0a", "54cb50c76803fa8b248b4571", 21514, "RUB", 2, false, 65000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//Mosin bolt action rifle
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5b8683a486f77467f2423114", "54cb50c76803fa8b248b4571", 56271, "RUB", 2, false, 20000)
|
||||
|
||||
|
||||
//Mosin infantry carbine
|
||||
//AK-74N Black
|
||||
//Todo Preset needs to be manually added
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "54cb50c76803fa8b248b4571", 47794, "RUB", 2, false, 20000)
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5c0c1f2b86f77455912eaefc", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 5,
|
||||
"_tpl": "573475fb24597737fb1379e1"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 20000, 2)
|
||||
|
||||
//AKS-74UB
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "584147982459775a6c55e931", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "59e3658a86f7741776641ac4"
|
||||
}, {
|
||||
"count": 2,
|
||||
"_tpl": "5909e99886f7740c983b9984"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "573476d324597737da2adc13"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 1000, 2)
|
||||
|
||||
//AK-74 Plum
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5dd7f8c524e5d7504a4e3077", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "5c13cef886f774072e618e82"
|
||||
}, {
|
||||
"count": 2,
|
||||
"_tpl": "57347c93245977448d35f6e3"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 2, false, 2000, 2)
|
||||
|
||||
//ks-23m Long
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5f6771214ef1ca4f4e1b8a06", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 4,
|
||||
"_tpl": "590c2c9c86f774245b1f03f2"
|
||||
}, {
|
||||
"count": 4,
|
||||
"_tpl": "57347cd0245977445a2d6ff1"
|
||||
}, {
|
||||
"count": 3,
|
||||
"_tpl": "5909e99886f7740c983b9984"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
|
||||
//SV-98
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "58414a16245977599247970a", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 5,
|
||||
"_tpl": "573475fb24597737fb1379e1"
|
||||
}, {
|
||||
"count": 3,
|
||||
"_tpl": "573476d324597737da2adc13"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
|
||||
//MP-443 Grach
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "584148a524597759eb357a44", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "573477e124597737dd42e191"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 2000, 2)
|
||||
|
||||
//SR-1MP
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "5a327f6386f77479010da870", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "590c5a7286f7747884343aea"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 300, 2)
|
||||
|
||||
}
|
||||
static GenerateLL3() {
|
||||
|
@ -6,14 +6,221 @@ class SkierAssort {
|
||||
|
||||
static GenerateLL1() {
|
||||
const CoreMod = require("../../CoreMod/src/Core.js")
|
||||
DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = {"items": [],"barter_scheme": {},"loyal_level_items": {}}
|
||||
DatabaseServer.tables.traders["58330581ace78e27b8b10cee"].assort = {
|
||||
"items": [],
|
||||
"barter_scheme": {},
|
||||
"loyal_level_items": {}
|
||||
}
|
||||
let id = null
|
||||
// ASSORT ID ITEM TEMPLATE TRADER ID PRICE CURRENCY LOYALTY UNLIMITED STOCK MAXIMUM BUY
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 35, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm Slug
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "58820d1224597753c90aeb13", "58330581ace78e27b8b10cee", 65, "RUB", 1, true, 999999)
|
||||
|
||||
//366 TKM FMJ
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6542b86f77411dc52a77a", "58330581ace78e27b8b10cee", 51, "RUB", 1, true, 999999)
|
||||
|
||||
//5.56x45m mFMJ
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6920f86f77411d82aa167", "58330581ace78e27b8b10cee", 98, "RUB", 1, true, 999999)
|
||||
|
||||
//7,5mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ebd9c4a282000d722a5b", "58330581ace78e27b8b10cee", 28, "RUB", 1, true, 999999)
|
||||
|
||||
//SB.5 SOK 12
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "57616a9e2459773c7a400234", "58330581ace78e27b8b10cee", 1949, "RUB", 1, false, 200000)
|
||||
|
||||
//Saiga-9 10 rounds
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5998529a86f774647f44f421", "58330581ace78e27b8b10cee", 1724, "RUB", 1, false, 15000, 6)
|
||||
|
||||
//AK ribbed metal
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e5d83b86f7745aed03d262", "58330581ace78e27b8b10cee", 1147, "RUB", 1, true, 999999)
|
||||
|
||||
//TOZ-106 20ga MC 20-01 Sb.3 2-shot magazine
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a38ee51c4a282000c5a955c", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//GEN M3 10 rounds
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5aaa5e60e5b5b000140293d6", "58330581ace78e27b8b10cee", 2302, "RUB", 1, false, 3000, 8)
|
||||
|
||||
//AK 7.62x39 aluminium 10-round magazine
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5b1fd4e35acfc40018633c39", "58330581ace78e27b8b10cee", 805, "RUB", 1, true, 999999)
|
||||
|
||||
//PP-19-01 Vityaz-SN 9x19 PUFGUN SG-919 20 20-round magazine
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0673fb0db8340023300271", "58330581ace78e27b8b10cee", 2128, "RUB", 1, false, 5000)
|
||||
|
||||
//Ultrafire WF-501B Flashlight
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17c5e2459775a5c57d17d", "58330581ace78e27b8b10cee", 34, "EUR", 1, false, 15000, 5)
|
||||
|
||||
//Zenith RK6 forgrip
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c1bc7752e221602b1779b34", "58330581ace78e27b8b10cee", 7263, "RUB", 1, false, 20000, 5)
|
||||
|
||||
//AK UltiMAK M1-B gas tube & handguard
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59ccfdba86f7747f2109a587", "58330581ace78e27b8b10cee", 2578, "RUB", 1, false, 25000, 6)
|
||||
|
||||
//AK 7.62x39 Taktika Tula muzzle adapter
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a0abb6e1526d8000a025282", "58330581ace78e27b8b10cee", 708, "RUB", 1, false, 5000, 3)
|
||||
|
||||
//Rotor 43 .366TKM muzzle brake
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5a9fbb74a2750c0032157181", "58330581ace78e27b8b10cee", 28784, "RUB", 1, false, 4000, 3)
|
||||
|
||||
//MRS Reflex sight
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "570fd721d2720bc5458b4596", "58330581ace78e27b8b10cee", 13800, "RUB", 1, false, 15000, 3)
|
||||
|
||||
//P1x42
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "584984812459776a704a82a6", "58330581ace78e27b8b10cee", 13915, "RUB", 1, true, 999999, 5)
|
||||
|
||||
//NcSTAR Tactical blue laser LAM-Module
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5cc9c20cd7f00c001336c65d", "58330581ace78e27b8b10cee", 5658, "RUB", 1, false, 20000, 3)
|
||||
|
||||
//RP-1 Charging handle
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "58330581ace78e27b8b10cee", 3063, "RUB", 1, false, 150000, 6)
|
||||
|
||||
//25mm mount ring
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "57d17e212459775a1179a0f5", "58330581ace78e27b8b10cee", 3219, "RUB", 1, false, 15000, 5)
|
||||
|
||||
//MP-133/153 Taktika Tula 12003 stock adapter
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5bfe7fb30db8340018089fed", "58330581ace78e27b8b10cee", 2530, "RUB", 1, false, 3000, 5)
|
||||
|
||||
//Zenith B-11 handguard
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "57ffa9f4245977728561e844", "58330581ace78e27b8b10cee", 5974, "RUB", 1, false, 11000, 5)
|
||||
|
||||
//Armacon Baskak stock
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "57ade1442459771557167e15", "58330581ace78e27b8b10cee", 6189, "RUB", 1, false, 15000, 5)
|
||||
|
||||
//VPO-136 Vepr KM wooden stock
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6227d86f77440d64f5dc2", "58330581ace78e27b8b10cee", 2098, "RUB", 1, false, 20000, 10)
|
||||
|
||||
//ADAR 2-15 buffer tube
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c0faeddd174af02a962601f", "58330581ace78e27b8b10cee", 920, "RUB", 1, false, 2000, 4)
|
||||
|
||||
//VPO-136 Vepr KM wooden handguard
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6284f86f77440d569536f", "58330581ace78e27b8b10cee", 922, "RUB", 1, false, 20000, 10)
|
||||
|
||||
//AR-15 Magpul MOE SL Carbine Length M-LOK handguard
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c78f2792e221600106f4683", "58330581ace78e27b8b10cee", 10120, "RUB", 1, false, 5000, 5)
|
||||
|
||||
//AK bakelite pistol grip
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6318286f77444dd62c4cc", "58330581ace78e27b8b10cee", 884, "RUB", 1, false, 20000, 10)
|
||||
|
||||
//AR-15 DLG-123 pistol grip
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "602e71bd53a60014f9705bfa", "58330581ace78e27b8b10cee", 1898, "RUB", 1, false, 20000, 4)
|
||||
|
||||
//AKM Molot dust cover
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "59e6449086f7746c9f75e822", "58330581ace78e27b8b10cee", 1148, "RUB", 1, false, 20000, 10)
|
||||
|
||||
//AK AKademia Bastion dust cover
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5d2c76ed48f03532f2136169", "58330581ace78e27b8b10cee", 6325, "RUB", 1, false, 20000, 5)
|
||||
|
||||
//Opsmen Earmor M32 headset
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "6033fa48ffd42c541047f728", "58330581ace78e27b8b10cee", 19550, "RUB", 1, true, 999999)
|
||||
|
||||
//ADAR 2-15 Carbine
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "5c07c60e0db834002330051f", "58330581ace78e27b8b10cee", 7245, "RUB", 1, false, 2000, 3)
|
||||
|
||||
//RP-1 Charging handle
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5648ac824bdc2ded0b8b457d", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "5734781f24597737e04bf32a"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "5c06779c86f77426e00dd782"
|
||||
}]
|
||||
], "58330581ace78e27b8b10cee", 1, false, 5000, 4)
|
||||
|
||||
//Zhuk-3 Press
|
||||
CoreMod.CreateTraderBarter(HashUtil.generate(), "5c0e5edb86f77461f55ed1f7", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "59e3658a86f7741776641ac4"
|
||||
}, {
|
||||
"count": 1,
|
||||
"_tpl": "5b4329075acfc400153b78ff"
|
||||
}]
|
||||
], "58330581ace78e27b8b10cee", 1, false, 2000, 1)
|
||||
|
||||
//VPO-136
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "58330581ace78e27b8b10cee", "58330581ace78e27b8b10cee", 32420, "RUB", 1, false, 150000, 5)
|
||||
|
||||
|
||||
//VPO-209
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "59ef247086f77439967a900a", "58330581ace78e27b8b10cee", 29392, "RUB", 1, false, 100000)
|
||||
|
||||
|
||||
//Adar 2-15
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c10fcb186f774533e5529ab", "58330581ace78e27b8b10cee", 45819, "RUB", 1, false, 20000, 4)
|
||||
|
||||
|
||||
//TOZ-006
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5a3a859786f7747e2305e8bf", "58330581ace78e27b8b10cee", 8917, "RUB", 1, true, 999999)
|
||||
|
||||
|
||||
//Saiga-9
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5a13df5286f774032f5454a0", "58330581ace78e27b8b10cee", 16198, "RUB", 1, true, 99999)
|
||||
|
||||
//VPO-136
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "58330581ace78e27b8b10cee", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 2,
|
||||
"_tpl": "573478bc24597738002c6175"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 20000)
|
||||
|
||||
//MP-153
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderBarterWithPreset(id, "58414907245977598f1ad38d", "hideout", "hideout", [
|
||||
[{
|
||||
"count": 1,
|
||||
"_tpl": "591ae8f986f77406f854be45"
|
||||
},{
|
||||
"count": 1,
|
||||
"_tpl": "5913651986f774432f15d132"
|
||||
},{
|
||||
"count": 1,
|
||||
"_tpl": "5a0eb38b86f774153b320eb0"
|
||||
}]
|
||||
], "54cb50c76803fa8b248b4571", 1, false, 5000, 2)
|
||||
|
||||
|
||||
}
|
||||
static GenerateLL2() {
|
||||
const CoreMod = require("../../CoreMod/src/Core.js")
|
||||
let id = null
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//7mm buckshot
|
||||
CoreMod.CreateTraderAssort(HashUtil.generate(), "560d5e524bdc2d25448b4571", "58330581ace78e27b8b10cee", 33, "RUB", 1, true, 999999)
|
||||
|
||||
//Mosin infantry carbine
|
||||
id = HashUtil.generate()
|
||||
CoreMod.CreateTraderAssortWithPreset(id, "5c0c1dff86f7744dba7a2892", "58330581ace78e27b8b10cee", 47794, "RUB", 1, false, 20000)
|
||||
}
|
||||
static GenerateLL3() {
|
||||
const CoreMod = require("../../CoreMod/src/Core.js")
|
||||
|
Loading…
x
Reference in New Issue
Block a user