Added explicit support to LIR

This commit is contained in:
Pao
2023-02-03 19:09:00 +01:00
parent c3e977a10a
commit 6d18dc87a1
4 changed files with 63 additions and 48 deletions

View File

@@ -24,7 +24,7 @@ function TocSetCorrectTextureForAmputation(item, player, cicatrized)
end
end
print("TOC: Setting texture " .. matched_index)
--print("TOC: Setting texture " .. matched_index)
item:getVisual():setTextureChoice(tonumber(matched_index - 1)) -- it counts from 0, so we have to subtract 1
end
@@ -43,7 +43,7 @@ function TocSetBloodOnAmputation(player, body_part)
end
print("TOC: Adding blood based on " .. tostring(body_part_type))
--print("TOC: Adding blood based on " .. tostring(body_part_type))
player:addBlood(blood_body_part_type, false, true, false)
player:addBlood(BloodBodyPartType.Torso_Lower, false, true, false)