First stuff for prosthesis rewrite
This commit is contained in:
@@ -51,33 +51,6 @@ function ISInstallProsthesis:perform()
|
||||
}
|
||||
|
||||
|
||||
-- print(self.item)
|
||||
|
||||
|
||||
-- TODO there is something wrong with how I'm managing prosthesis. they don't apply
|
||||
-- TODO cheatMenu are fucked up, admin access is wrong
|
||||
|
||||
-- TODO make a parser or something I dont care
|
||||
-- Check Item before doing any of this shit maybe
|
||||
-- Assemble the correct name for the object
|
||||
--local prosthesis_name = self.item:getname() .. "_" .. Right .. "_" .. Forearm
|
||||
-- for _, v in ipairs(GetLimbsBodyPartTypes()) do
|
||||
-- if v ~= BodyPartType.UpperArm_L or v ~= BodyPartType.UpperArm_R then
|
||||
|
||||
-- if self.bodyPart:getType() == v then
|
||||
-- --local item_name = "TOC."
|
||||
-- --local weight = math.floor(self.item:getWeight() * 10 + 0.5) / 10
|
||||
|
||||
|
||||
-- TODO why do we need this?
|
||||
|
||||
-- end
|
||||
|
||||
-- end
|
||||
-- end
|
||||
|
||||
|
||||
|
||||
if self.bodyPart:getType() == BodyPartType.Hand_R then lor = 1; foh = 1
|
||||
elseif self.bodyPart:getType() == BodyPartType.ForeArm_R then lor = 1; foh = 2
|
||||
elseif self.bodyPart:getType() == BodyPartType.Hand_L then lor = 0; foh = 1
|
||||
|
||||
Reference in New Issue
Block a user