From 87b177586e4c30236a8104e71bbb64471b52c336 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 27 Dec 2023 16:30:26 +0000 Subject: [PATCH] Add new properties to IGlobals --- project/src/models/eft/common/IGlobals.ts | 104 ++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/project/src/models/eft/common/IGlobals.ts b/project/src/models/eft/common/IGlobals.ts index c60a61aa..16d1e962 100644 --- a/project/src/models/eft/common/IGlobals.ts +++ b/project/src/models/eft/common/IGlobals.ts @@ -76,6 +76,9 @@ export interface IConfig SkillFatigueReset: number; DiscardLimitsEnabled: boolean; EventSettings: IEventSettings; + FavoriteItemsSettings: IFavoriteItemsSettings + VaultingSettings: IVaultingSettings + BTRSettings: IBTRSettings EventType: string[]; WalkSpeed: Ixyz; SprintSpeed: Ixyz; @@ -1030,6 +1033,102 @@ export interface IRestrictionsInRaid 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 + 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 { CountOfRequestsToOnePlayer: number; @@ -1543,6 +1642,11 @@ export interface IFenceLevel BotHelpChance: number; BotSpreadoutChance: number; BotStopChance: number; + PriceModTaxi: number + PriceModDelivery: number + PriceModCleanUp: number + DeliveryGridSize: Ixyz + CanInteractWithBtr: boolean } export interface IInertia