Update globals and matching interfaces

This commit is contained in:
Dev 2024-10-31 21:55:39 +00:00
parent 17215ba9d8
commit 5e1d977f39
2 changed files with 24808 additions and 23912 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@ import { IItem } from "@spt/models/eft/common/tables/IItem";
export interface IGlobals { export interface IGlobals {
time: number; time: number;
config: IConfig; config: IConfig;
LocationInfection: ILocationInfection;
bot_presets: IBotPreset[]; bot_presets: IBotPreset[];
AudioSettings: IAudioSettings; AudioSettings: IAudioSettings;
EnvironmentSettings: IEnvironmentSettings; EnvironmentSettings: IEnvironmentSettings;
@ -11,6 +12,19 @@ export interface IGlobals {
ItemPresets: Record<string, IPreset>; ItemPresets: Record<string, IPreset>;
} }
export interface ILocationInfection {
Interchange: number;
Lighthouse: number;
RezervBase: number;
Sandbox: number;
Shoreline: number;
TarkovStreets: number;
Woods: number;
bigmap: number;
factory4: number;
laboratory: number;
}
export interface IArtilleryShelling { export interface IArtilleryShelling {
ArtilleryMapsConfigs: Record<string, IArtilleryMapSettings>; ArtilleryMapsConfigs: Record<string, IArtilleryMapSettings>;
ProjectileExplosionParams: IProjectileExplosionParams; ProjectileExplosionParams: IProjectileExplosionParams;
@ -103,6 +117,7 @@ export interface IConfig {
MaxBotsAliveOnMapPvE: number; MaxBotsAliveOnMapPvE: number;
SavagePlayCooldown: number; SavagePlayCooldown: number;
SavagePlayCooldownNdaFree: number; SavagePlayCooldownNdaFree: number;
SeasonActivity: ISeasonActivity;
MarksmanAccuracy: number; MarksmanAccuracy: number;
SavagePlayCooldownDevelop: number; SavagePlayCooldownDevelop: number;
TODSkyDate: string; TODSkyDate: string;
@ -190,6 +205,16 @@ export interface IConfig {
RepairSettings: IRepairSettings; RepairSettings: IRepairSettings;
} }
export interface ISeasonActivity {
InfectionHalloween: ISeasonActivityHalloween;
}
export interface ISeasonActivityHalloween {
DisplayUIEnabled: boolean;
Enabled: boolean;
ZombieBleedMul: number;
}
export interface IEnvironmentSetting2 { export interface IEnvironmentSetting2 {
EnvironmentUIData: IEnvironmentUIData; EnvironmentUIData: IEnvironmentUIData;
} }
@ -277,6 +302,7 @@ export interface ITransitSettings {
PercentageOfMissingEnergyRestore: number; PercentageOfMissingEnergyRestore: number;
PercentageOfMissingHealthRestore: number; PercentageOfMissingHealthRestore: number;
PercentageOfMissingWaterRestore: number; PercentageOfMissingWaterRestore: number;
RestoreHealthOnDestroyedParts: boolean;
ScavPriceMod: number; ScavPriceMod: number;
UsecPriceMod: number; UsecPriceMod: number;
active: boolean; active: boolean;
@ -689,6 +715,13 @@ export interface IEffects {
HeavyBleeding: IHeavyBleeding; HeavyBleeding: IHeavyBleeding;
LightBleeding: ILightBleeding; LightBleeding: ILightBleeding;
BodyTemperature: IBodyTemperature; BodyTemperature: IBodyTemperature;
ZombieInfection: IZombieInfection;
}
export interface IZombieInfection {
Dehydration: number;
HearingDebuffPercentage: number;
СumulativeTime: number;
} }
export interface IExistence { export interface IExistence {
@ -1324,6 +1357,7 @@ export interface IInsurance {
CoefOfSendingMessageTime: number; CoefOfSendingMessageTime: number;
CoefOfHavingMarkOfUnknown: number; CoefOfHavingMarkOfUnknown: number;
EditionSendingMessageTime: Record<string, IMessageSendTImeMultipler>; EditionSendingMessageTime: Record<string, IMessageSendTImeMultipler>;
OnlyInDeathCase: boolean;
} }
export interface IMessageSendTImeMultipler { export interface IMessageSendTImeMultipler {