Add BTR config options (!203)

Also add the cover service entry

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/203
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:
DrakiaXYZ 2024-01-21 08:46:12 +00:00 committed by chomp
parent 693dc4bbb5
commit e31c52e7ff
3 changed files with 22 additions and 2 deletions

View File

@ -1 +1,9 @@
{}
{
"moveSpeed": 15,
"coverFireTime": 90,
"pointWaitTime": {
"min": 60,
"max": 90
},
"taxiWaitTime": 15
}

View File

@ -4,5 +4,8 @@
},
{
"serviceType": "PlayerTaxi"
},
{
"serviceType": "BtrBotCover"
}
]

View File

@ -1,6 +1,15 @@
import { MinMax } from "@spt-aki/models/common/MinMax";
import { IBaseConfig } from "./IBaseConfig";
export interface IBTRConfig extends IBaseConfig
{
kind: "aki-btr";
}
/** How fast the BTR moves */
moveSpeed: number;
/** How long the cover fire service lasts for */
coverFireTime: number;
/** How long the BTR waits at every point in its path */
pointWaitTime: MinMax,
/** How long after purchasing the taxi service before the BTR leaves */
taxiWaitTime: number;
}