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

@@ -49,12 +49,6 @@ function ISUninstallProsthesis:perform()
return -- should never happen
end
--if accepting_body_parts[body_part_type] then
-- toc_data[TOC_getBodyPart(body_part_type)]
--end
for _, v in ipairs(GetAcceptingProsthesisBodyParts()) do
if self.bodyPart:getType() == v then
local part_name = FindTocBodyPartNameFromBodyPartType(v)
@@ -96,6 +90,8 @@ function ISUninstallProsthesis:perform()
end
end
-- TODO Make the object currently on the hand return to the inventory
end
function ISUninstallProsthesis:new(character, item, bodyPart)