Add new properties to IGlobals

This commit is contained in:
Dev 2023-12-27 16:30:26 +00:00
parent 6679cf5557
commit 87b177586e

View File

@ -76,6 +76,9 @@ export interface IConfig
SkillFatigueReset: number; SkillFatigueReset: number;
DiscardLimitsEnabled: boolean; DiscardLimitsEnabled: boolean;
EventSettings: IEventSettings; EventSettings: IEventSettings;
FavoriteItemsSettings: IFavoriteItemsSettings
VaultingSettings: IVaultingSettings
BTRSettings: IBTRSettings
EventType: string[]; EventType: string[];
WalkSpeed: Ixyz; WalkSpeed: Ixyz;
SprintSpeed: Ixyz; SprintSpeed: Ixyz;
@ -1030,6 +1033,102 @@ export interface IRestrictionsInRaid
Value: number; Value: number;
} }
export interface IFavoriteItemsSettings
{
WeaponStandMaxItemsCount: number
PlaceOfFameMaxItemsCount: number
}
export interface IVaultingSettings
{
IsActive: boolean
VaultingInputTime: number
GridSettings: IVaultingGridSettings
MovesSettings: IVaultingMovesSettings
}
export interface IVaultingGridSettings
{
GridSizeX: number
GridSizeY: number
GridSizeZ: number
SteppingLengthX: number
SteppingLengthY: number
SteppingLengthZ: number
GridOffsetX: number
GridOffsetY: number
GridOffsetZ: number
OffsetFactor: number
}
export interface IVaultingMovesSettings
{
VaultSettings: IVaultingSubMoveSettings
ClimbSettings: IVaultingSubMoveSettings
}
export interface IVaultingSubMoveSettings
{
IsActive: boolean
MaxWithoutHandHeight: number
SpeedRange: Ixyz
MoveRestrictions: IMoveRestrictions
AutoMoveRestrictions: IMoveRestrictions
}
export interface IMoveRestrictions
{
IsActive: boolean
MinDistantToInteract: number
MinHeight: number
MaxHeight: number
MinLength: number
MaxLength: number
}
export interface IBTRSettings
{
LocationsWithBTR: string[]
BasePriceTaxi: number
AddPriceTaxi: number
CleanUpPrice: number
DeliveryPrice: number
ModDeliveryCost: number
BearPriceMod: number
UsecPriceMod: number
ScavPriceMod: number
CoefficientDiscountCharisma: number
DeliveryMinPrice: number
TaxiMinPrice: number
BotCoverMinPrice: number
MapsConfigs: Record<string, IBtrMapConfig>
DiameterWheel: number
HeightWheel: number
HeightWheelMaxPosLimit: number
HeightWheelMinPosLimit: number
SnapToSurfaceWheelsSpeed: number
CheckSurfaceForWheelsTimer: number
HeightWheelOffset: number
}
export interface IBtrMapConfig
{
mapID: string
pathsConfigurations: IBtrMapConfig[]
}
export interface IBtrMapConfig
{
id: string
enterPoint: string
exitPoint: string
pathPoints: string[]
once: boolean
circle: boolean
circleCount: number
}
export interface ISquadSettings export interface ISquadSettings
{ {
CountOfRequestsToOnePlayer: number; CountOfRequestsToOnePlayer: number;
@ -1543,6 +1642,11 @@ export interface IFenceLevel
BotHelpChance: number; BotHelpChance: number;
BotSpreadoutChance: number; BotSpreadoutChance: number;
BotStopChance: number; BotStopChance: number;
PriceModTaxi: number
PriceModDelivery: number
PriceModCleanUp: number
DeliveryGridSize: Ixyz
CanInteractWithBtr: boolean
} }
export interface IInertia export interface IInertia