Reimplemented item handling

This commit is contained in:
ZioPao
2023-11-07 17:21:03 +01:00
parent 8faa5b9cc5
commit 301603ed68
5 changed files with 90 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
local CommonMethods = {}
---Returns the side for a certain limb
---@param limbName string
---@return string "L" or "R"
function CommonMethods.GetSide(limbName)
if string.find(limbName, "_L") then return "L" else return "R" end
end
return CommonMethods