diff --git a/js/utils/options.js b/js/utils/options.js index 6392452..c777f8f 100644 --- a/js/utils/options.js +++ b/js/utils/options.js @@ -92,3 +92,5 @@ function changeLootChance() { const modes = Object.keys(CHANCE_MODE); options.chanceMode = modes[(modes.indexOf(options.chanceMode) + 1) % modes.length]; } + +let formatOption = (opt) => opt ? 'ON' : 'OFF';