Some more refactoring

This commit is contained in:
Pao
2023-02-05 03:30:49 +01:00
parent 2fd686b89b
commit f5d6ff7f9a
13 changed files with 114 additions and 59 deletions

View File

@@ -9,7 +9,7 @@ end
-- Unequip Prosthesis
function PartNameToBodyLocationProsthesis(name)
local function PartNameToBodyLocationProsthesis(name)
if name == "Right_Hand" then return "TOC_ArmRightProsthesis" end
if name == "Right_LowerArm" then return "TOC_ArmRightProsthesis" end
if name == "Right_UpperArm" then return "TOC_ArmRightProsthesis" end
@@ -18,7 +18,7 @@ function PartNameToBodyLocationProsthesis(name)
if name == "Left_UpperArm" then return "TOC_ArmLeftProsthesis" end
end
function PartNameToBodyLocationAmputation(name)
local function PartNameToBodyLocationAmputation(name)
if name == "Right_Hand" then return "TOC_ArmRight" end
if name == "Right_LowerArm" then return "TOC_ArmRight" end
if name == "Right_UpperArm" then return "TOC_ArmRight" end