From 8c0aab539b6c1b6c068b88a729e2719849f1cf02 Mon Sep 17 00:00:00 2001 From: Chris Adamson Date: Sun, 27 Apr 2025 19:24:16 -0500 Subject: [PATCH] fix my previous fix --- .../Models/Eft/Common/Tables/Item.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs index 7705fc2f..268192cf 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs @@ -193,6 +193,20 @@ public record ItemLocation } // TODO: Can be string or boolean } +public record UpdLockableKeyComponent +{ + public float? RelativeValue { get; set; } + public int? NumberOfUsages { get; set; } + +} + +public record UpdLockable +{ + public string[]? KeyIds { get; set; } + public bool Locked { get; set; } + public UpdLockableKeyComponent? KeyComponent { get; set; } +} + public record Upd { public UpdBuff? Buff @@ -362,7 +376,7 @@ public record Upd set; } - public bool? Lockable + public UpdLockable? Lockable { get; set;