+ excessive ars gauge functionality

This commit is contained in:
FajsiEx 2021-08-12 15:47:40 +02:00
parent 5b5486852a
commit b4c99152ca
2 changed files with 9 additions and 0 deletions

View File

@ -735,6 +735,12 @@ function draw_gauge(deltaTime)
elseif gameplay.gauge.type == 1 then elseif gameplay.gauge.type == 1 then
gaugeBgImage = gaugeExcBgImage; gaugeBgImage = gaugeExcBgImage;
gaugeFillImage = gaugeExcFillImage; gaugeFillImage = gaugeExcFillImage;
if (game.GetSkinSetting('_gaugeARS') == 1) then
gaugeBgImage = gaugeExcArsBgImage
gaugeFillImage = gaugeExcArsFillImage
end
gaugeBreakpoint = 0.3; gaugeBreakpoint = 0.3;
if gameplay.gauge.value < 0.3 then if gameplay.gauge.value < 0.3 then

View File

@ -67,6 +67,9 @@ function processSkinSettings(settingName, settingValue)
if (settingName == 'Gauge') then if (settingName == 'Gauge') then
game.SetSkinSetting('_gaugeType', settingValue); game.SetSkinSetting('_gaugeType', settingValue);
end end
if (settingName == 'Backup Gauge') then
game.SetSkinSetting('_gaugeARS', settingValue and 1 or 0);
end
end end
function render(deltaTime, visible) function render(deltaTime, visible)