Overrided mods instead of just replacing them

This commit is contained in:
Pao
2023-01-17 01:31:49 +01:00
parent 505a3cc7e2
commit 64c2010a60
5 changed files with 104 additions and 169 deletions

View File

@@ -24,7 +24,7 @@ function GetOtherBodyPartTypes()
end
function GetAcceptingProsthesisBodyParts()
function GetAcceptingProsthesisBodyPartTypes()
return {BodyPartType.Hand_R, BodyPartType.ForeArm_R,
@@ -33,8 +33,13 @@ function GetAcceptingProsthesisBodyParts()
end
function GetAcceptingProsthesisBodyParts()
return {"RightHand", "RightForearm", "LeftHand", "LeftForearm"}
end
function GetNonAcceptingProsthesisBodyParts()
return {"RightArm", "LeftArm"}
end
local function PartNameToBodyLocation(name)
if name == "RightHand" then return "ArmRight_Prot" end
if name == "RightForearm" then return "ArmRight_Prot" end