Updated rewrite with previous loot all fix

This commit is contained in:
Pao
2023-03-07 19:38:22 +01:00
parent cb388b803f
commit fd18ffb35f
2 changed files with 29 additions and 0 deletions

View File

@@ -288,4 +288,14 @@ TOC_Common.FindItemInWornItems = function(player, checkString)
return nil
end
TOC_Common.FindModItem = function(inventory)
for _, partName in pairs(TOC_Common.GetPartNames()) do
if inventory:contains("TOC.Amputation_" .. partName) then
return true
end
end
return false
end