This commit is contained in:
Pao
2023-02-26 20:14:23 +01:00
parent a2e906b318
commit 6d2be51cd4
9 changed files with 329 additions and 317 deletions

View File

@@ -122,7 +122,7 @@ local function SetHealthStatusForBodyPart(partData, partName, player)
local amputatedClothingItem = playerInv:FindAndReturn(amputatedClothingItemName)
player:removeWornItem(amputatedClothingItem)
JCIOVisuals.SetTextureForAmputation(amputatedClothingItem, player, true)
JCIO_Visuals.SetTextureForAmputation(amputatedClothingItem, player, true)
player:setWornItem(amputatedClothingItem:getBodyLocation(), amputatedClothingItem)
if (not player:HasTrait("Brave")) and ZombRand(1, 11) > 5 then