First stuff for prosthesis rewrite

This commit is contained in:
Pao
2023-01-15 15:48:14 +01:00
parent 81cd386457
commit eeb7076c13
7 changed files with 101 additions and 147 deletions

View File

@@ -8,7 +8,7 @@ function ResetEverything()
-- Destroy the amputation model
for _,v in ipairs(GetBodyParts()) do
local cloth = player:getInventory():FindAndReturn(find_clothName2_TOC(v))
local cloth = player:getInventory():FindAndReturn(TocFindAmputatedClothingFromPartName(v))
if cloth ~= nil then
print("Resetting " .. cloth:getName())