Easier than expected, now prost won't show up when equipped

This commit is contained in:
Pao
2023-01-15 12:50:58 +01:00
parent f35c8ca9ca
commit 754478db03
6 changed files with 80 additions and 63 deletions

View File

@@ -28,7 +28,7 @@ function ISBaseTimedAction:adjustMaxTime(maxTime)
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].prothesis_factor --TODO this is dumb
maxTime = maxTime * modData.TOC[name].prosthesis_factor --TODO this is dumb
else
maxTime = maxTime * 2;
end