Created favourite settings functionality #727
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
/** Display titles of the headers of the Cookie Monster settings section */
|
||||
export const ConfigGroups = {
|
||||
Favourite: 'Favourite Settings',
|
||||
Calculation: 'Calculation',
|
||||
Notation: 'Notation',
|
||||
Colours: 'Colours and colour coding',
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -109,7 +109,9 @@ const ConfigDefault = {
|
||||
WrinklerMaxSoundURL:
|
||||
'https://freesound.org/data/previews/152/152743_15663-lq.mp3',
|
||||
BulkBuyBlock: 0,
|
||||
FavouriteSettings: 1,
|
||||
Header: {
|
||||
Favourite: 1,
|
||||
Calculation: 1,
|
||||
Notation: 1,
|
||||
Colours: 1,
|
||||
|
||||
Reference in New Issue
Block a user