Reimplemented item handling
This commit is contained in:
10
media/lua/client/TOC_Common.lua
Normal file
10
media/lua/client/TOC_Common.lua
Normal 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
|
||||
Reference in New Issue
Block a user