First stuff for prosthesis rewrite
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user