I said, changed some todos.
This commit is contained in:
@@ -25,10 +25,11 @@ function ISBaseTimedAction:adjustMaxTime(maxTime)
|
||||
local protPartNames = {"RightHand", "RightForearm", "LeftHand", "LeftForearm"}
|
||||
local otherPartNames = {"RightArm", "LeftArm"}
|
||||
|
||||
--TODO this is dumb, it just makes action a lot slower, without checking for special cases like reading. Find a better way
|
||||
for i,name in ipairs(protPartNames) do
|
||||
if modData.TOC[name].is_cut then
|
||||
if modData.TOC[name].is_prosthesis_equipped then
|
||||
maxTime = maxTime * modData.TOC[name].prosthesis_factor --TODO this is dumb
|
||||
maxTime = maxTime * modData.TOC[name].prosthesis_factor
|
||||
else
|
||||
maxTime = maxTime * 2;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user