Fix/add some trader services data for LK Services (!221)
- Fix data type for TraderServiceModel - Add LK Service price/item data Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/221 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
f70bee2fd2
commit
28b0a55732
@ -1,11 +1,26 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"serviceType": "ZryachiyAid"
|
"serviceType": "ZryachiyAid",
|
||||||
|
"itemsToPay": {
|
||||||
|
"62a0a16d0b9d3c46de5b6e97": 3,
|
||||||
|
"5696686a4bdc2da3298b456a": 2000
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceType": "ExUsecLoyalty"
|
"serviceType": "ExUsecLoyalty",
|
||||||
|
"itemsToPay": {
|
||||||
|
"6389c8c5dbfd5e4b95197e6b": 1,
|
||||||
|
"569668774bdc2da2298b4568": 2500
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"serviceType": "CultistsAid"
|
"serviceType": "CultistsAid",
|
||||||
|
"itemsToPay": {
|
||||||
|
"5c12613b86f7743bbe2c3f76": 3,
|
||||||
|
"5696686a4bdc2da3298b456a": 1000
|
||||||
|
},
|
||||||
|
"itemsToReceive": [
|
||||||
|
"64d0b40fbe2eed70e254e2d4"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -3,6 +3,7 @@ import { TraderServiceType } from "@spt-aki/models/enums/TraderServiceType";
|
|||||||
export interface ITraderServiceModel
|
export interface ITraderServiceModel
|
||||||
{
|
{
|
||||||
serviceType: TraderServiceType;
|
serviceType: TraderServiceType;
|
||||||
itemsToPay?: Record<string, number>[];
|
itemsToPay?: {[key: string]: number};
|
||||||
subServices?: Record<string, number>[];
|
itemsToReceive?: string[];
|
||||||
|
subServices?: {[key: string]: number};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user