Somes fixes, blood on limbs\prosthetics, new textures

This commit is contained in:
Pao
2023-01-17 22:29:31 +01:00
parent 0d840baeff
commit 8656bd5696
7 changed files with 108 additions and 31 deletions

View File

@@ -99,4 +99,21 @@ function CheckIfItemIsAmputatedLimb(item)
return is_amputated_limb
end
function CheckIfItemIsProsthesis(item)
local item_full_type = item:getFullType()
local prosthesis_list = GetProsthesisList()
--return (item_full_type == "TOC.WoodenHook" or item_full_type == "TOC.MetalHook" or item_full_type == "TOC.MetalHand")
local check = prosthesis_list[item_full_type]
return check
end
function CheckIfItemIsInstalledProsthesis(item)
local item_full_type = item:getFullType()
local installable_prosthesis_list = GetInstallableProsthesisList()
local check = installable_prosthesis_list[item_full_type]
return check
end