Created favourite settings functionality #727

This commit is contained in:
Daniël van Noord
2021-04-02 23:20:19 +02:00
parent ddc77b332d
commit 9a84b0abe5
14 changed files with 193 additions and 125 deletions

View File

@@ -815,10 +815,24 @@ const Config = {
BulkBuyBlock: new SettingStandard(
'bool',
'Miscellaneous',
['Block Bulk Buying OFF', 'Block Bulk Buying ON'],
['Block bulk buying OFF', 'Block bulk buying ON'],
"Block clicking bulk buying when you can't buy all. This prevents buying 7 of a building when you are in buy-10 or buy-100 mode.",
true,
),
FavouriteSettings: new SettingStandard(
'bool',
'Miscellaneous',
[
'Favourite settings section OFF',
'Favourite settings section ON',
'Favourite settings section ON (Locked)',
],
"Show stars before each setting which allows selecting it for a 'favourites' section at the top of the Cookie Monster settings. Setting this to Locked removes the stars but shows the 'favourites' section",
true,
function () {
Game.UpdateMenu();
},
),
};
export default Config;