From d72fd3fa2458022c2d900d59eedac513162c5c7d Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 30 Dec 2023 11:21:19 +0000 Subject: [PATCH] Add base BTR trader server code --- .../656f0f98d80a697f855d34b1/base.json | 58 +++++++++++++++++++ project/src/models/enums/Traders.ts | 1 + 2 files changed, 59 insertions(+) create mode 100644 project/assets/database/traders/656f0f98d80a697f855d34b1/base.json diff --git a/project/assets/database/traders/656f0f98d80a697f855d34b1/base.json b/project/assets/database/traders/656f0f98d80a697f855d34b1/base.json new file mode 100644 index 00000000..ad265c18 --- /dev/null +++ b/project/assets/database/traders/656f0f98d80a697f855d34b1/base.json @@ -0,0 +1,58 @@ +{ + "_id": "656f0f98d80a697f855d34b1", + "customization_seller": false, + "name": "БТР", + "surname": "БТР", + "nickname": "БТР", + "location": "БТР", + "avatar": "/files/trader/avatar/656f0f98d80a697f855d34b1.png", + "balance_rub": 7000000, + "balance_dol": 0, + "balance_eur": 0, + "unlockedByDefault": false, + "discount": 0, + "discount_end": 0, + "buyer_up": false, + "currency": "RUB", + "nextResupply": 1703691958, + "repair": { + "availability": false, + "quality": 0, + "excluded_id_list": [], + "excluded_category": [], + "currency": "5449016a4bdc2d6f028b456f", + "currency_coefficient": 1 + }, + "insurance": { + "availability": false, + "min_payment": 0, + "min_return_hour": 0, + "max_return_hour": 0, + "max_storage_time": 48, + "excluded_category": [] + }, + "medic": false, + "gridHeight": 120, + "availableInRaid": true, + "sell_modifier_for_prohibited_items": 0, + "loyaltyLevels": [{ + "minLevel": 1, + "minSalesSum": 0, + "minStanding": 0, + "buy_price_coef": 0, + "repair_price_coef": 0, + "insurance_price_coef": "0", + "exchange_price_coef": 0, + "heal_price_coef": 0 + } + ], + "items_buy": { + "id_list": [], + "category": [] + }, + "items_buy_prohibited": { + "id_list": ["64d0b40fbe2eed70e254e2d4"], + "category": [null] + }, + "sell_category": [] +} diff --git a/project/src/models/enums/Traders.ts b/project/src/models/enums/Traders.ts index 2a668cfd..9bc4d303 100644 --- a/project/src/models/enums/Traders.ts +++ b/project/src/models/enums/Traders.ts @@ -9,4 +9,5 @@ export enum Traders RAGMAN = "5ac3b934156ae10c4430e83c", JAEGER = "5c0647fdd443bc2504c2d371", LIGHTHOUSEKEEPER = "638f541a29ffd1183d187f57", + BTR = "656f0f98d80a697f855d34b1", }