Move saveClasses to Framework
This commit is contained in:
2
dist/CookieMonsterDev.js
vendored
2
dist/CookieMonsterDev.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonsterDev.js.map
vendored
2
dist/CookieMonsterDev.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -1,14 +0,0 @@
|
|||||||
/** The basic setting class */
|
|
||||||
export default class Setting {
|
|
||||||
defaultValue: string | number;
|
|
||||||
|
|
||||||
type: string;
|
|
||||||
|
|
||||||
group: string;
|
|
||||||
|
|
||||||
constructor(defaultValue: string | number, type: string, group: string) {
|
|
||||||
this.defaultValue = defaultValue;
|
|
||||||
this.type = type;
|
|
||||||
this.group = group;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import Setting from './BaseSetting';
|
|
||||||
|
|
||||||
/** The colour picker setting class */
|
|
||||||
export default class SettingColours extends Setting {
|
|
||||||
desc: string;
|
|
||||||
|
|
||||||
constructor(defaultValue: string | number,type: string, group: string, desc: string) {
|
|
||||||
super(defaultValue, type, group);
|
|
||||||
this.desc = desc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
import Setting from './BaseSetting';
|
|
||||||
|
|
||||||
/** The number input setting class */
|
|
||||||
export default class SettingInputNumber extends Setting {
|
|
||||||
label: string[];
|
|
||||||
|
|
||||||
desc: string;
|
|
||||||
|
|
||||||
min: number;
|
|
||||||
|
|
||||||
max: number;
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
defaultValue: string | number,
|
|
||||||
type: string,
|
|
||||||
group: string,
|
|
||||||
label: string[],
|
|
||||||
desc: string,
|
|
||||||
min: number,
|
|
||||||
max: number,
|
|
||||||
) {
|
|
||||||
super(defaultValue, type, group);
|
|
||||||
this.label = label;
|
|
||||||
this.desc = desc;
|
|
||||||
this.min = min;
|
|
||||||
this.max = max;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
import Setting from './BaseSetting';
|
|
||||||
|
|
||||||
/** The standard toggle setting class */
|
|
||||||
export default class SettingStandard extends Setting {
|
|
||||||
label: string[];
|
|
||||||
|
|
||||||
desc: string;
|
|
||||||
|
|
||||||
toggle: boolean;
|
|
||||||
|
|
||||||
func: () => void;
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
defaultValue: string | number,
|
|
||||||
type: string,
|
|
||||||
group: string,
|
|
||||||
label: string[],
|
|
||||||
desc: string,
|
|
||||||
toggle: boolean,
|
|
||||||
func?: () => void,
|
|
||||||
) {
|
|
||||||
super(defaultValue, type, group);
|
|
||||||
this.label = label;
|
|
||||||
this.desc = desc;
|
|
||||||
this.toggle = toggle;
|
|
||||||
if (func !== undefined) {
|
|
||||||
this.func = func;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
import Setting from './BaseSetting';
|
|
||||||
|
|
||||||
/** The volume level setting class */
|
|
||||||
export default class SettingVolume extends Setting {
|
|
||||||
label: string[];
|
|
||||||
|
|
||||||
desc: string;
|
|
||||||
|
|
||||||
constructor(defaultValue: string | number,type: string, group: string, label: string[], desc: string) {
|
|
||||||
super(defaultValue, type, group);
|
|
||||||
this.label = label;
|
|
||||||
this.desc = desc;
|
|
||||||
for (let i = 0; i < 101; i++) {
|
|
||||||
this.label[i] = `${i}%`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
|
import { settingClasses } from '@cookiemonsterteam/cookiemonsterframework/src/index';
|
||||||
|
|
||||||
import CheckNotificationPermissions from '../Config/CheckNotificationPermissions';
|
import CheckNotificationPermissions from '../Config/CheckNotificationPermissions';
|
||||||
import { ToggleTimerBar, ToggleTimerBarPos } from '../Config/SpecificToggles';
|
import RefreshScale from '../Disp/HelperFunctions/RefreshScale';
|
||||||
|
import { SimDoSims } from '../Sim/VariablesAndData'; // eslint-disable-line no-unused-vars
|
||||||
import ToggleBotBar from '../Config/Toggles/ToggleBotBar';
|
import ToggleBotBar from '../Config/Toggles/ToggleBotBar';
|
||||||
import ToggleDetailedTime from '../Config/Toggles/ToggleDetailedTime';
|
import ToggleDetailedTime from '../Config/Toggles/ToggleDetailedTime';
|
||||||
import ToggleGCTimer from '../Config/Toggles/ToggleGCTimer';
|
import ToggleGCTimer from '../Config/Toggles/ToggleGCTimer';
|
||||||
@@ -9,20 +12,15 @@ import ToggleUpgradeBarAndColour from '../Config/Toggles/ToggleUpgradeBarAndColo
|
|||||||
import ToggleUpgradeBarFixedPos from '../Config/Toggles/ToggleUpgradeBarFixedPos';
|
import ToggleUpgradeBarFixedPos from '../Config/Toggles/ToggleUpgradeBarFixedPos';
|
||||||
import ToggleWrinklerButtons from '../Config/Toggles/ToggleWrinklerButtons';
|
import ToggleWrinklerButtons from '../Config/Toggles/ToggleWrinklerButtons';
|
||||||
import UpdateBuildings from '../Disp/BuildingsUpgrades/Buildings';
|
import UpdateBuildings from '../Disp/BuildingsUpgrades/Buildings';
|
||||||
|
import { UpdateFavicon } from '../Disp/TabTitle/FavIcon';
|
||||||
import UpdateUpgradeSectionsHeight from '../Disp/BuildingsUpgrades/UpdateUpgradeSectionsHeight';
|
import UpdateUpgradeSectionsHeight from '../Disp/BuildingsUpgrades/UpdateUpgradeSectionsHeight';
|
||||||
import UpdateUpgrades from '../Disp/BuildingsUpgrades/Upgrades';
|
import UpdateUpgrades from '../Disp/BuildingsUpgrades/Upgrades';
|
||||||
import RefreshScale from '../Disp/HelperFunctions/RefreshScale';
|
import { ToggleTimerBar, ToggleTimerBarPos } from '../Config/SpecificToggles';
|
||||||
import { UpdateFavicon } from '../Disp/TabTitle/FavIcon';
|
|
||||||
import { SimDoSims } from '../Sim/VariablesAndData'; // eslint-disable-line no-unused-vars
|
|
||||||
import SettingColours from './SettingClasses/SettingColours.ts';
|
|
||||||
import SettingInputNumber from './SettingClasses/SettingInputNumber.ts';
|
|
||||||
import SettingStandard from './SettingClasses/SettingStandard.ts';
|
|
||||||
import SettingVolume from './SettingClasses/SettingVolume.ts';
|
|
||||||
|
|
||||||
/** This includes all options of CookieMonster and their relevant data */
|
/** This includes all options of CookieMonster and their relevant data */
|
||||||
const settings = {
|
const settings = {
|
||||||
// Calculation
|
// Calculation
|
||||||
CPSMode: new SettingStandard(
|
CPSMode: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Calculation',
|
'Calculation',
|
||||||
@@ -30,7 +28,7 @@ const settings = {
|
|||||||
'Calculate times using current cookies per second or average cookies per second',
|
'Calculate times using current cookies per second or average cookies per second',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
AvgCPSHist: new SettingStandard(
|
AvgCPSHist: new settingClasses.SettingStandard(
|
||||||
3,
|
3,
|
||||||
'bool',
|
'bool',
|
||||||
'Calculation',
|
'Calculation',
|
||||||
@@ -47,7 +45,7 @@ const settings = {
|
|||||||
'How much time average Cookies Per Second should consider',
|
'How much time average Cookies Per Second should consider',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
AvgClicksHist: new SettingStandard(
|
AvgClicksHist: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Calculation',
|
'Calculation',
|
||||||
@@ -61,7 +59,7 @@ const settings = {
|
|||||||
'How much time average Cookie Clicks should consider',
|
'How much time average Cookie Clicks should consider',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
CalcWrink: new SettingStandard(
|
CalcWrink: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Calculation',
|
'Calculation',
|
||||||
@@ -78,7 +76,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Notation
|
// Notation
|
||||||
Scale: new SettingStandard(
|
Scale: new settingClasses.SettingStandardWithFunc(
|
||||||
2,
|
2,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -96,7 +94,7 @@ const settings = {
|
|||||||
RefreshScale();
|
RefreshScale();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ScaleDecimals: new SettingStandard(
|
ScaleDecimals: new settingClasses.SettingStandardWithFunc(
|
||||||
2,
|
2,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -107,7 +105,7 @@ const settings = {
|
|||||||
RefreshScale();
|
RefreshScale();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ScaleSeparator: new SettingStandard(
|
ScaleSeparator: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -118,7 +116,7 @@ const settings = {
|
|||||||
RefreshScale();
|
RefreshScale();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ScaleCutoff: new SettingInputNumber(
|
ScaleCutoff: new settingClasses.SettingInputNumber(
|
||||||
999999,
|
999999,
|
||||||
'numscale',
|
'numscale',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -127,7 +125,7 @@ const settings = {
|
|||||||
1,
|
1,
|
||||||
999999999,
|
999999999,
|
||||||
),
|
),
|
||||||
TimeFormat: new SettingStandard(
|
TimeFormat: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -135,7 +133,7 @@ const settings = {
|
|||||||
'Change the time format',
|
'Change the time format',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
DetailedTime: new SettingStandard(
|
DetailedTime: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -146,7 +144,7 @@ const settings = {
|
|||||||
ToggleDetailedTime();
|
ToggleDetailedTime();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
PPDisplayTime: new SettingStandard(
|
PPDisplayTime: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Notation',
|
'Notation',
|
||||||
@@ -156,7 +154,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Colours
|
// Colours
|
||||||
BuildColour: new SettingStandard(
|
BuildColour: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -167,7 +165,7 @@ const settings = {
|
|||||||
UpdateBuildings();
|
UpdateBuildings();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
PPOnlyConsiderBuyable: new SettingStandard(
|
PPOnlyConsiderBuyable: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -175,7 +173,7 @@ const settings = {
|
|||||||
"Makes Cookie Monster label buildings and upgrades you can't buy right now red, useful in those situations where you just want to spend your full bank 'most optimally'",
|
"Makes Cookie Monster label buildings and upgrades you can't buy right now red, useful in those situations where you just want to spend your full bank 'most optimally'",
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
PPExcludeTop: new SettingStandard(
|
PPExcludeTop: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -188,7 +186,7 @@ const settings = {
|
|||||||
'Makes Cookie Monster ignore the 1st, 2nd or 3rd best buildings in labeling and colouring PP values',
|
'Makes Cookie Monster ignore the 1st, 2nd or 3rd best buildings in labeling and colouring PP values',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
PPRigidelMode: new SettingStandard(
|
PPRigidelMode: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -196,7 +194,7 @@ const settings = {
|
|||||||
'Makes Cookie Monster ignore all "buy 1" options when colouring PP in order to stay at a total building count ending in 10 for pantheon god Rigidel',
|
'Makes Cookie Monster ignore all "buy 1" options when colouring PP in order to stay at a total building count ending in 10 for pantheon god Rigidel',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
PPSecondsLowerLimit: new SettingInputNumber(
|
PPSecondsLowerLimit: new settingClasses.SettingInputNumber(
|
||||||
0,
|
0,
|
||||||
'numscale',
|
'numscale',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -205,55 +203,55 @@ const settings = {
|
|||||||
0,
|
0,
|
||||||
Infinity,
|
Infinity,
|
||||||
),
|
),
|
||||||
ColourBlue: new SettingColours(
|
ColourBlue: new settingClasses.SettingColours(
|
||||||
'#4bb8f0',
|
'#4bb8f0',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is blue. Used to show upgrades better than best PP building, for Click Frenzy bar, and for various labels',
|
'Standard colour is blue. Used to show upgrades better than best PP building, for Click Frenzy bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourGreen: new SettingColours(
|
ColourGreen: new settingClasses.SettingColours(
|
||||||
'#00ff00',
|
'#00ff00',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is green. Used to show best PP building, for Blood Frenzy bar, and for various labels',
|
'Standard colour is green. Used to show best PP building, for Blood Frenzy bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourYellow: new SettingColours(
|
ColourYellow: new settingClasses.SettingColours(
|
||||||
'#ffff00',
|
'#ffff00',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is yellow. Used to show buildings within the top 10 of PP, for Frenzy bar, and for various labels',
|
'Standard colour is yellow. Used to show buildings within the top 10 of PP, for Frenzy bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourOrange: new SettingColours(
|
ColourOrange: new settingClasses.SettingColours(
|
||||||
'#ff7f00',
|
'#ff7f00',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is orange. Used to show buildings within the top 20 of PP, for Next Reindeer bar, and for various labels',
|
'Standard colour is orange. Used to show buildings within the top 20 of PP, for Next Reindeer bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourRed: new SettingColours(
|
ColourRed: new settingClasses.SettingColours(
|
||||||
'#ff0000',
|
'#ff0000',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is Red. Used to show buildings within the top 30 of PP, for Clot bar, and for various labels',
|
'Standard colour is Red. Used to show buildings within the top 30 of PP, for Clot bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourPurple: new SettingColours(
|
ColourPurple: new settingClasses.SettingColours(
|
||||||
'#ff00ff',
|
'#ff00ff',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is purple. Used to show buildings outside of the top 30 of PP, for Next Cookie bar, and for various labels',
|
'Standard colour is purple. Used to show buildings outside of the top 30 of PP, for Next Cookie bar, and for various labels',
|
||||||
),
|
),
|
||||||
ColourGray: new SettingColours(
|
ColourGray: new settingClasses.SettingColours(
|
||||||
'#b3b3b3',
|
'#b3b3b3',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is gray. Used to show negative or infinity PP, and for Next Cookie/Next Reindeer bar',
|
'Standard colour is gray. Used to show negative or infinity PP, and for Next Cookie/Next Reindeer bar',
|
||||||
),
|
),
|
||||||
ColourPink: new SettingColours(
|
ColourPink: new settingClasses.SettingColours(
|
||||||
'#ff1493',
|
'#ff1493',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
'Standard colour is pink. Used for Dragonflight bar',
|
'Standard colour is pink. Used for Dragonflight bar',
|
||||||
),
|
),
|
||||||
ColourBrown: new SettingColours(
|
ColourBrown: new settingClasses.SettingColours(
|
||||||
'#8b4513',
|
'#8b4513',
|
||||||
'colour',
|
'colour',
|
||||||
'Colours',
|
'Colours',
|
||||||
@@ -261,7 +259,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// BarsDisplay
|
// BarsDisplay
|
||||||
BotBar: new SettingStandard(
|
BotBar: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -272,7 +270,7 @@ const settings = {
|
|||||||
ToggleBotBar();
|
ToggleBotBar();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TimerBar: new SettingStandard(
|
TimerBar: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -283,7 +281,7 @@ const settings = {
|
|||||||
ToggleTimerBar();
|
ToggleTimerBar();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TimerBarPos: new SettingStandard(
|
TimerBarPos: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -294,7 +292,7 @@ const settings = {
|
|||||||
ToggleTimerBarPos();
|
ToggleTimerBarPos();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TimerBarOverlay: new SettingStandard(
|
TimerBarOverlay: new settingClasses.SettingStandard(
|
||||||
2,
|
2,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -302,7 +300,7 @@ const settings = {
|
|||||||
'Overlay on timers displaying seconds and/or percentage left',
|
'Overlay on timers displaying seconds and/or percentage left',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
AutosaveTimerBar: new SettingStandard(
|
AutosaveTimerBar: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -310,7 +308,7 @@ const settings = {
|
|||||||
'Show a timer counting down till next autosave in the timer bar',
|
'Show a timer counting down till next autosave in the timer bar',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
UpBarColour: new SettingStandard(
|
UpBarColour: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -321,7 +319,7 @@ const settings = {
|
|||||||
ToggleUpgradeBarAndColour();
|
ToggleUpgradeBarAndColour();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
UpgradeBarFixedPos: new SettingStandard(
|
UpgradeBarFixedPos: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -332,7 +330,7 @@ const settings = {
|
|||||||
ToggleUpgradeBarFixedPos();
|
ToggleUpgradeBarFixedPos();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SortBuildings: new SettingStandard(
|
SortBuildings: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -348,7 +346,7 @@ const settings = {
|
|||||||
UpdateBuildings();
|
UpdateBuildings();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SortUpgrades: new SettingStandard(
|
SortUpgrades: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -359,7 +357,7 @@ const settings = {
|
|||||||
UpdateUpgrades();
|
UpdateUpgrades();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
UpgradesNeverCollapse: new SettingStandard(
|
UpgradesNeverCollapse: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -370,7 +368,7 @@ const settings = {
|
|||||||
UpdateUpgradeSectionsHeight();
|
UpdateUpgradeSectionsHeight();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
DragonAuraInfo: new SettingStandard(
|
DragonAuraInfo: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -378,7 +376,7 @@ const settings = {
|
|||||||
'Shows information about changes in CPS and costs in the dragon aura interface.',
|
'Shows information about changes in CPS and costs in the dragon aura interface.',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GrimoireBar: new SettingStandard(
|
GrimoireBar: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -386,7 +384,7 @@ const settings = {
|
|||||||
'A timer overlay showing how long till the Grimoire magic meter is full',
|
'A timer overlay showing how long till the Grimoire magic meter is full',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GCTimer: new SettingStandard(
|
GCTimer: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -397,7 +395,7 @@ const settings = {
|
|||||||
ToggleGCTimer();
|
ToggleGCTimer();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Favicon: new SettingStandard(
|
Favicon: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -408,7 +406,7 @@ const settings = {
|
|||||||
UpdateFavicon();
|
UpdateFavicon();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
WrinklerButtons: new SettingStandard(
|
WrinklerButtons: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -419,7 +417,7 @@ const settings = {
|
|||||||
ToggleWrinklerButtons();
|
ToggleWrinklerButtons();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
HideSectionsButtons: new SettingStandard(
|
HideSectionsButtons: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'BarsDisplay',
|
'BarsDisplay',
|
||||||
@@ -432,7 +430,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Tooltip
|
// Tooltip
|
||||||
TooltipBuildUpgrade: new SettingStandard(
|
TooltipBuildUpgrade: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -440,7 +438,7 @@ const settings = {
|
|||||||
'Extra information in building/upgrade tooltips',
|
'Extra information in building/upgrade tooltips',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipAmor: new SettingStandard(
|
TooltipAmor: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -451,7 +449,7 @@ const settings = {
|
|||||||
'Add amortization information to buildings tooltip',
|
'Add amortization information to buildings tooltip',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnLucky: new SettingStandard(
|
ToolWarnLucky: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -459,7 +457,7 @@ const settings = {
|
|||||||
'A warning when buying if it will put the bank under the amount needed for max "Lucky!" rewards',
|
'A warning when buying if it will put the bank under the amount needed for max "Lucky!" rewards',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnLuckyFrenzy: new SettingStandard(
|
ToolWarnLuckyFrenzy: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -467,7 +465,7 @@ const settings = {
|
|||||||
'A warning when buying if it will put the bank under the amount needed for max "Lucky!" (Frenzy) rewards',
|
'A warning when buying if it will put the bank under the amount needed for max "Lucky!" (Frenzy) rewards',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnConjure: new SettingStandard(
|
ToolWarnConjure: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -475,7 +473,7 @@ const settings = {
|
|||||||
'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards',
|
'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnConjureFrenzy: new SettingStandard(
|
ToolWarnConjureFrenzy: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -483,7 +481,7 @@ const settings = {
|
|||||||
'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards with Frenzy active',
|
'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards with Frenzy active',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnEdifice: new SettingStandard(
|
ToolWarnEdifice: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -491,7 +489,7 @@ const settings = {
|
|||||||
'A warning when buying if it will put the bank under the amount needed for "Spontaneous Edifice" to possibly give you your most expensive building',
|
'A warning when buying if it will put the bank under the amount needed for "Spontaneous Edifice" to possibly give you your most expensive building',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnUser: new SettingInputNumber(
|
ToolWarnUser: new settingClasses.SettingInputNumber(
|
||||||
0,
|
0,
|
||||||
'numscale',
|
'numscale',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -500,7 +498,7 @@ const settings = {
|
|||||||
0,
|
0,
|
||||||
Infinity,
|
Infinity,
|
||||||
),
|
),
|
||||||
ToolWarnBon: new SettingStandard(
|
ToolWarnBon: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -508,7 +506,7 @@ const settings = {
|
|||||||
'Calculate the warning with or without the bonus CPS you get from buying',
|
'Calculate the warning with or without the bonus CPS you get from buying',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ToolWarnPos: new SettingStandard(
|
ToolWarnPos: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -519,7 +517,7 @@ const settings = {
|
|||||||
ToggleToolWarnPos();
|
ToggleToolWarnPos();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TooltipGrim: new SettingStandard(
|
TooltipGrim: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -527,7 +525,7 @@ const settings = {
|
|||||||
'Extra information in tooltip for grimoire',
|
'Extra information in tooltip for grimoire',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipWrink: new SettingStandard(
|
TooltipWrink: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -535,7 +533,7 @@ const settings = {
|
|||||||
'Shows the amount of cookies a wrinkler will give when popping it',
|
'Shows the amount of cookies a wrinkler will give when popping it',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipLump: new SettingStandard(
|
TooltipLump: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -543,7 +541,7 @@ const settings = {
|
|||||||
'Shows the current Sugar Lump type in Sugar lump tooltip.',
|
'Shows the current Sugar Lump type in Sugar lump tooltip.',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipPlots: new SettingStandard(
|
TooltipPlots: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -551,7 +549,7 @@ const settings = {
|
|||||||
'Shows a tooltip for plants that have a cookie reward.',
|
'Shows a tooltip for plants that have a cookie reward.',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipPantheon: new SettingStandard(
|
TooltipPantheon: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -559,7 +557,7 @@ const settings = {
|
|||||||
'Shows additional info in the pantheon tooltip',
|
'Shows additional info in the pantheon tooltip',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
TooltipAscendButton: new SettingStandard(
|
TooltipAscendButton: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Tooltip',
|
'Tooltip',
|
||||||
@@ -569,7 +567,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Statistics
|
// Statistics
|
||||||
Stats: new SettingStandard(
|
Stats: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -577,7 +575,7 @@ const settings = {
|
|||||||
'Extra Cookie Monster statistics!',
|
'Extra Cookie Monster statistics!',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
MissingUpgrades: new SettingStandard(
|
MissingUpgrades: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -585,7 +583,7 @@ const settings = {
|
|||||||
'Shows missing upgrades in statistics menu',
|
'Shows missing upgrades in statistics menu',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
MissingAchievements: new SettingStandard(
|
MissingAchievements: new settingClasses.SettingStandard(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -593,7 +591,7 @@ const settings = {
|
|||||||
'Shows missing normal achievements in statistics menu.',
|
'Shows missing normal achievements in statistics menu.',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
UpStats: new SettingStandard(
|
UpStats: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -601,7 +599,7 @@ const settings = {
|
|||||||
'Default rate is once every 5 seconds',
|
'Default rate is once every 5 seconds',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
HeavenlyChipsTarget: new SettingInputNumber(
|
HeavenlyChipsTarget: new settingClasses.SettingInputNumber(
|
||||||
1,
|
1,
|
||||||
'numscale',
|
'numscale',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -610,7 +608,7 @@ const settings = {
|
|||||||
1,
|
1,
|
||||||
Infinity,
|
Infinity,
|
||||||
),
|
),
|
||||||
ShowMissedGC: new SettingStandard(
|
ShowMissedGC: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Statistics',
|
'Statistics',
|
||||||
@@ -620,7 +618,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Notification
|
// Notification
|
||||||
Title: new SettingStandard(
|
Title: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGeneral',
|
'NotificationGeneral',
|
||||||
@@ -628,7 +626,7 @@ const settings = {
|
|||||||
'Update title with colden cookie/season popup timers; pinned tab highlight only changes the title when a golden cookie/season popup spawns; "!" means that golden cookie/reindeer can spawn',
|
'Update title with colden cookie/season popup timers; pinned tab highlight only changes the title when a golden cookie/season popup spawns; "!" means that golden cookie/reindeer can spawn',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GeneralSound: new SettingStandard(
|
GeneralSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGeneral',
|
'NotificationGeneral',
|
||||||
@@ -636,7 +634,7 @@ const settings = {
|
|||||||
'Turning this toggle to "off" makes Cookie Monster no longer consider the volume setting of the base game, allowing mod notifications to play with base game volume turned down',
|
'Turning this toggle to "off" makes Cookie Monster no longer consider the volume setting of the base game, allowing mod notifications to play with base game volume turned down',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GCNotification: new SettingStandard(
|
GCNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGC',
|
'NotificationGC',
|
||||||
@@ -649,7 +647,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
GCFlash: new SettingStandard(
|
GCFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGC',
|
'NotificationGC',
|
||||||
@@ -657,13 +655,13 @@ const settings = {
|
|||||||
'Flash screen on golden cookie',
|
'Flash screen on golden cookie',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourGCFlash: new SettingColours(
|
ColourGCFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationGC',
|
'NotificationGC',
|
||||||
'The colour of the GC flash, standard colour is white',
|
'The colour of the GC flash, standard colour is white',
|
||||||
),
|
),
|
||||||
GCSound: new SettingStandard(
|
GCSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGC',
|
'NotificationGC',
|
||||||
@@ -671,15 +669,15 @@ const settings = {
|
|||||||
'Play a sound on golden cookie',
|
'Play a sound on golden cookie',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GCVolume: new SettingVolume(100, 'vol', 'NotificationGC', [], 'Volume'),
|
GCVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationGC', [], 'Volume'),
|
||||||
GCSoundURL: new SettingStandard(
|
GCSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/66/66717_931655-lq.mp3',
|
'https://freesound.org/data/previews/66/66717_931655-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationGC',
|
'NotificationGC',
|
||||||
'Sound URL:',
|
'Sound URL:',
|
||||||
'URL of the sound to be played when a golden cookie spawns',
|
'URL of the sound to be played when a golden cookie spawns',
|
||||||
),
|
),
|
||||||
FortuneNotification: new SettingStandard(
|
FortuneNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationFC',
|
'NotificationFC',
|
||||||
@@ -692,7 +690,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FortuneFlash: new SettingStandard(
|
FortuneFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationFC',
|
'NotificationFC',
|
||||||
@@ -700,13 +698,13 @@ const settings = {
|
|||||||
'Flash screen on fortune cookie spawn',
|
'Flash screen on fortune cookie spawn',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourFortuneFlash: new SettingColours(
|
ColourFortuneFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationFC',
|
'NotificationFC',
|
||||||
'The colour of the fortune flash, standard colour is white',
|
'The colour of the fortune flash, standard colour is white',
|
||||||
),
|
),
|
||||||
FortuneSound: new SettingStandard(
|
FortuneSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationFC',
|
'NotificationFC',
|
||||||
@@ -714,15 +712,15 @@ const settings = {
|
|||||||
'Play a sound on fortune cookie spawn',
|
'Play a sound on fortune cookie spawn',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
FortuneVolume: new SettingVolume(100, 'vol', 'NotificationFC', [], 'Volume'),
|
FortuneVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationFC', [], 'Volume'),
|
||||||
FortuneSoundURL: new SettingStandard(
|
FortuneSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/174/174027_3242494-lq.mp3',
|
'https://freesound.org/data/previews/174/174027_3242494-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationFC',
|
'NotificationFC',
|
||||||
'Sound URL:',
|
'Sound URL:',
|
||||||
'URL of the sound to be played when the ticker has a fortune cookie',
|
'URL of the sound to be played when the ticker has a fortune cookie',
|
||||||
),
|
),
|
||||||
SeaNotification: new SettingStandard(
|
SeaNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationSea',
|
'NotificationSea',
|
||||||
@@ -735,7 +733,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SeaFlash: new SettingStandard(
|
SeaFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationSea',
|
'NotificationSea',
|
||||||
@@ -743,13 +741,13 @@ const settings = {
|
|||||||
'Flash screen on season popup',
|
'Flash screen on season popup',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourSeaFlash: new SettingColours(
|
ColourSeaFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationSea',
|
'NotificationSea',
|
||||||
'The colour of the season popup flash, standard colour is white',
|
'The colour of the season popup flash, standard colour is white',
|
||||||
),
|
),
|
||||||
SeaSound: new SettingStandard(
|
SeaSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationSea',
|
'NotificationSea',
|
||||||
@@ -757,15 +755,15 @@ const settings = {
|
|||||||
'Play a sound on season popup',
|
'Play a sound on season popup',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
SeaVolume: new SettingVolume(100, 'vol', 'NotificationSea', [], 'Volume'),
|
SeaVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationSea', [], 'Volume'),
|
||||||
SeaSoundURL: new SettingStandard(
|
SeaSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://www.freesound.org/data/previews/121/121099_2193266-lq.mp3',
|
'https://www.freesound.org/data/previews/121/121099_2193266-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationSea',
|
'NotificationSea',
|
||||||
'Sound URL:',
|
'Sound URL:',
|
||||||
'URL of the sound to be played when on season popup spawns',
|
'URL of the sound to be played when on season popup spawns',
|
||||||
),
|
),
|
||||||
GardFlash: new SettingStandard(
|
GardFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGard',
|
'NotificationGard',
|
||||||
@@ -773,13 +771,13 @@ const settings = {
|
|||||||
'Flash screen on garden tick',
|
'Flash screen on garden tick',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourGardFlash: new SettingColours(
|
ColourGardFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationGard',
|
'NotificationGard',
|
||||||
'The colour of the garden flash, standard colour is white',
|
'The colour of the garden flash, standard colour is white',
|
||||||
),
|
),
|
||||||
GardSound: new SettingStandard(
|
GardSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationGard',
|
'NotificationGard',
|
||||||
@@ -787,15 +785,15 @@ const settings = {
|
|||||||
'Play a sound on garden tick',
|
'Play a sound on garden tick',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
GardVolume: new SettingVolume(100, 'vol', 'NotificationGard', [], 'Volume'),
|
GardVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationGard', [], 'Volume'),
|
||||||
GardSoundURL: new SettingStandard(
|
GardSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/103/103046_861714-lq.mp3',
|
'https://freesound.org/data/previews/103/103046_861714-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationGard',
|
'NotificationGard',
|
||||||
'Garden Tick Sound URL:',
|
'Garden Tick Sound URL:',
|
||||||
'URL of the sound to be played when the garden ticks',
|
'URL of the sound to be played when the garden ticks',
|
||||||
),
|
),
|
||||||
MagicNotification: new SettingStandard(
|
MagicNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationMagi',
|
'NotificationMagi',
|
||||||
@@ -808,7 +806,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
MagicFlash: new SettingStandard(
|
MagicFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationMagi',
|
'NotificationMagi',
|
||||||
@@ -816,13 +814,13 @@ const settings = {
|
|||||||
'Flash screen when magic reaches maximum',
|
'Flash screen when magic reaches maximum',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourMagicFlash: new SettingColours(
|
ColourMagicFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationMagi',
|
'NotificationMagi',
|
||||||
'The colour of the magic flash, standard colour is white',
|
'The colour of the magic flash, standard colour is white',
|
||||||
),
|
),
|
||||||
MagicSound: new SettingStandard(
|
MagicSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationMagi',
|
'NotificationMagi',
|
||||||
@@ -830,15 +828,15 @@ const settings = {
|
|||||||
'Play a sound when magic reaches maximum',
|
'Play a sound when magic reaches maximum',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
MagicVolume: new SettingVolume(100, 'vol', 'NotificationMagi', [], 'Volume'),
|
MagicVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationMagi', [], 'Volume'),
|
||||||
MagicSoundURL: new SettingStandard(
|
MagicSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/221/221683_1015240-lq.mp3',
|
'https://freesound.org/data/previews/221/221683_1015240-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationMagi',
|
'NotificationMagi',
|
||||||
'Sound URL:',
|
'Sound URL:',
|
||||||
'URL of the sound to be played when magic reaches maxium',
|
'URL of the sound to be played when magic reaches maxium',
|
||||||
),
|
),
|
||||||
WrinklerNotification: new SettingStandard(
|
WrinklerNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrink',
|
'NotificationWrink',
|
||||||
@@ -851,7 +849,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
WrinklerFlash: new SettingStandard(
|
WrinklerFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrink',
|
'NotificationWrink',
|
||||||
@@ -859,13 +857,13 @@ const settings = {
|
|||||||
'Flash screen when a wrinkler appears',
|
'Flash screen when a wrinkler appears',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourWrinklerFlash: new SettingColours(
|
ColourWrinklerFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationWrink',
|
'NotificationWrink',
|
||||||
'The colour of the wrinkler flash, standard colour is white',
|
'The colour of the wrinkler flash, standard colour is white',
|
||||||
),
|
),
|
||||||
WrinklerSound: new SettingStandard(
|
WrinklerSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrink',
|
'NotificationWrink',
|
||||||
@@ -873,15 +871,15 @@ const settings = {
|
|||||||
'Play a sound when a wrinkler appears',
|
'Play a sound when a wrinkler appears',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
WrinklerVolume: new SettingVolume(100, 'vol', 'NotificationWrink', [], 'Volume'),
|
WrinklerVolume: new settingClasses.SettingVolume(100, 'vol', 'NotificationWrink', [], 'Volume'),
|
||||||
WrinklerSoundURL: new SettingStandard(
|
WrinklerSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/124/124186_8043-lq.mp3',
|
'https://freesound.org/data/previews/124/124186_8043-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationWrink',
|
'NotificationWrink',
|
||||||
'Sound URL:',
|
'Sound URL:',
|
||||||
'URL of the sound to be played when a wrinkler appears',
|
'URL of the sound to be played when a wrinkler appears',
|
||||||
),
|
),
|
||||||
WrinklerMaxNotification: new SettingStandard(
|
WrinklerMaxNotification: new settingClasses.SettingStandardWithFunc(
|
||||||
0,
|
0,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrinkMax',
|
'NotificationWrinkMax',
|
||||||
@@ -894,7 +892,7 @@ const settings = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
WrinklerMaxFlash: new SettingStandard(
|
WrinklerMaxFlash: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrinkMax',
|
'NotificationWrinkMax',
|
||||||
@@ -902,13 +900,13 @@ const settings = {
|
|||||||
'Flash screen when the maximum amount of Wrinklers has appeared',
|
'Flash screen when the maximum amount of Wrinklers has appeared',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
ColourWrinklerMaxFlash: new SettingColours(
|
ColourWrinklerMaxFlash: new settingClasses.SettingColours(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
'colour',
|
'colour',
|
||||||
'NotificationWrinkMax',
|
'NotificationWrinkMax',
|
||||||
'The colour of the maximum wrinkler flash, standard colour is white',
|
'The colour of the maximum wrinkler flash, standard colour is white',
|
||||||
),
|
),
|
||||||
WrinklerMaxSound: new SettingStandard(
|
WrinklerMaxSound: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'NotificationWrinkMax',
|
'NotificationWrinkMax',
|
||||||
@@ -916,8 +914,14 @@ const settings = {
|
|||||||
'Play a sound when the maximum amount of wrinklers has appeared',
|
'Play a sound when the maximum amount of wrinklers has appeared',
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
WrinklerMaxVolume: new SettingVolume(100, 'vol', 'NotificationWrinkMax', [], 'Volume'),
|
WrinklerMaxVolume: new settingClasses.SettingVolume(
|
||||||
WrinklerMaxSoundURL: new SettingStandard(
|
100,
|
||||||
|
'vol',
|
||||||
|
'NotificationWrinkMax',
|
||||||
|
[],
|
||||||
|
'Volume',
|
||||||
|
),
|
||||||
|
WrinklerMaxSoundURL: new settingClasses.SettingStandard(
|
||||||
'https://freesound.org/data/previews/152/152743_15663-lq.mp3',
|
'https://freesound.org/data/previews/152/152743_15663-lq.mp3',
|
||||||
'url',
|
'url',
|
||||||
'NotificationWrinkMax',
|
'NotificationWrinkMax',
|
||||||
@@ -926,7 +930,7 @@ const settings = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
BulkBuyBlock: new SettingStandard(
|
BulkBuyBlock: new settingClasses.SettingStandard(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Miscellaneous',
|
'Miscellaneous',
|
||||||
@@ -934,7 +938,7 @@ const settings = {
|
|||||||
"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.",
|
"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,
|
true,
|
||||||
),
|
),
|
||||||
FavouriteSettings: new SettingStandard(
|
FavouriteSettings: new settingClasses.SettingStandardWithFunc(
|
||||||
1,
|
1,
|
||||||
'bool',
|
'bool',
|
||||||
'Miscellaneous',
|
'Miscellaneous',
|
||||||
|
|||||||
Reference in New Issue
Block a user