From 8e2ad5697efa49ed584dee296a9644a5651efe57 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 28 Dec 2023 21:39:46 +0000 Subject: [PATCH] Add `armorColliders` type --- project/src/generators/LocationGenerator.ts | 2 -- project/src/models/eft/common/tables/ITemplateItem.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/project/src/generators/LocationGenerator.ts b/project/src/generators/LocationGenerator.ts index b19e9f4c..4627d672 100644 --- a/project/src/generators/LocationGenerator.ts +++ b/project/src/generators/LocationGenerator.ts @@ -826,8 +826,6 @@ export class LocationGenerator || this.itemHelper.isOfBaseclass(chosenTpl, BaseClasses.AMMO) ) { - - const stackCount = itemTemplate._props.StackMaxSize === 1 ? 1 : this.randomUtil.getInt(itemTemplate._props.StackMinRandom, itemTemplate._props.StackMaxRandom); diff --git a/project/src/models/eft/common/tables/ITemplateItem.ts b/project/src/models/eft/common/tables/ITemplateItem.ts index 08e38b4e..9c395af6 100644 --- a/project/src/models/eft/common/tables/ITemplateItem.ts +++ b/project/src/models/eft/common/tables/ITemplateItem.ts @@ -463,7 +463,7 @@ export interface SlotFilter { Shift?: number; locked?: boolean; - armorColliders?: any[]; + armorColliders?: string[]; armorPlateColliders?: string[]; Filter: string[]; AnimationIndex?: number;