+ uc/puc diff chain colors setting
This commit is contained in:
parent
1f5b5c28b5
commit
dba177400e
|
@ -46,5 +46,14 @@
|
||||||
"label": "Turn on Rasis",
|
"label": "Turn on Rasis",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"default": false
|
"default": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"separator_e": {},
|
||||||
|
"Gameplay": { "type": "label" },
|
||||||
|
|
||||||
|
"gameplay_ucDifferentColor": {
|
||||||
|
"label": "Use different colors for UC and PUC chain numbers",
|
||||||
|
"type": "bool",
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,6 +81,10 @@ local render = function (deltaTime, comboState, combo, critLineCenterX, critLine
|
||||||
chainNumbers = chainNumbersPUC --puc
|
chainNumbers = chainNumbersPUC --puc
|
||||||
elseif comboState == 1 then
|
elseif comboState == 1 then
|
||||||
chainNumbers = chainNumbersUC --uc
|
chainNumbers = chainNumbersUC --uc
|
||||||
|
|
||||||
|
if (not game.GetSkinSetting('gameplay_ucDifferentColor')) then
|
||||||
|
chainNumbers = chainNumbersPUC -- force the PUC numbers in case the setting is turned off
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- \_ chain _/
|
-- \_ chain _/
|
||||||
|
|
Loading…
Reference in New Issue