Handling WoundCleaning
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
local StaticData = require("TOC/StaticData")
|
||||
-----------------------------------
|
||||
|
||||
local CommonMethods = {}
|
||||
|
||||
---@param val number
|
||||
@@ -9,6 +12,11 @@ function CommonMethods.Normalize(val, min, max)
|
||||
|
||||
end
|
||||
|
||||
function CommonMethods.GetLimbNameFromBodyPart(bodyPart)
|
||||
local bodyPartTypeStr = BodyPartType.ToString(bodyPart:getType())
|
||||
return StaticData.LIMBS_IND_STR[bodyPartTypeStr]
|
||||
end
|
||||
|
||||
---Returns the side for a certain limb or prosthesis
|
||||
---@param name string
|
||||
---@return string "L" or "R"
|
||||
|
||||
Reference in New Issue
Block a user