More setup stuff for prosthesis

This commit is contained in:
Pao
2023-02-13 17:20:16 +01:00
parent 4973e235bc
commit fa6e89cdc7
7 changed files with 173 additions and 110 deletions

View File

@@ -7,6 +7,8 @@ require "ISUI/ISInventoryPaneContextMenu"
local og_ISBaseTimedActionAdjustMaxTime = ISBaseTimedAction.adjustMaxTime
function ISBaseTimedAction:adjustMaxTime(maxTime)
-- TODO we can customize it better through clothing items modifier, you mook
-- RunSpeedModifier = 0.93 for example
local original_max_time = og_ISBaseTimedActionAdjustMaxTime(self, maxTime)
if original_max_time ~= -1 then