Some more stuff, included body locations

This commit is contained in:
Pao
2023-02-26 22:31:50 +01:00
parent 6f59311fd0
commit 44c6750809
16 changed files with 259 additions and 262 deletions

View File

@@ -10,24 +10,24 @@ end
-- Unequip Prosthesis
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
if name == "Left_Hand" then return "TOC_ArmLeftProsthesis" end
if name == "Left_LowerArm" then return "TOC_ArmLeftProsthesis" end
if name == "Left_UpperArm" then return "TOC_ArmLeftProsthesis" end
if name == "Right_Hand" then return "JCIO_ArmRightProsthesis" end
if name == "Right_LowerArm" then return "JCIO_ArmRightProsthesis" end
if name == "Right_UpperArm" then return "JCIO_ArmRightProsthesis" end
if name == "Left_Hand" then return "JCIO_ArmLeftProsthesis" end
if name == "Left_LowerArm" then return "JCIO_ArmLeftProsthesis" end
if name == "Left_UpperArm" then return "JCIO_ArmLeftProsthesis" end
end
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
if name == "Left_Hand" then return "TOC_ArmLeft" end
if name == "Left_LowerArm" then return "TOC_ArmLeft" end
if name == "Left_UpperArm" then return "TOC_ArmLeft" end
if name == "Right_Hand" then return "JCIO_ArmRight" end
if name == "Right_LowerArm" then return "JCIO_ArmRight" end
if name == "Right_UpperArm" then return "JCIO_ArmRight" end
if name == "Left_Hand" then return "JCIO_ArmLeft" end
if name == "Left_LowerArm" then return "JCIO_ArmLeft" end
if name == "Left_UpperArm" then return "JCIO_ArmLeft" end
if name == "Left_Foot" then return "TOC_LegLeft" end
if name == "Right_Foot" then return "TOC_LegRight" end
if name == "Left_Foot" then return "JCIO_LegLeft" end
if name == "Right_Foot" then return "JCIO_LegRight" end
end
function TocFindItemInProstBodyLocation(part_name, patient)