+ excessive ars gauge functionality
This commit is contained in:
parent
5b5486852a
commit
b4c99152ca
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue