Added another static table, cicatrization fixes, random bleeding when prost is equipped but isCicatrized is false

This commit is contained in:
ZioPao
2023-11-16 18:58:43 +01:00
parent 18cae1de98
commit 43cf52cd02
5 changed files with 88 additions and 8 deletions

View File

@@ -9,8 +9,9 @@ local ProsthesisHandler = {}
local bodyLocArmProst = StaticData.MOD_BODYLOCS_BASE_IND_STR.TOC_ArmProst
---comment
---Check if the following item is a prosthesis or not
---@param item InventoryItem
---@return boolean
function ProsthesisHandler.CheckIfProst(item)
-- TODO Won't be correct when prost for legs are gonna be in
return item:getBodyLocation():contains(bodyLocArmProst)