Skip to content

Commit

Permalink
prepared big burn
Browse files Browse the repository at this point in the history
  • Loading branch information
saertna committed Oct 17, 2023
1 parent 67cd0df commit 5b4b7e1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
10 changes: 7 additions & 3 deletions main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,6 @@ export const boosterRecipes = [
{ boosterCooldown: 36*60, boosterDate: 'boosterDateTitleTitan', boosterSwitch: 'boosterFactorTitleTitan', varname: 'titleTitan' ,name: 'Title Titan', incredients: ['2xS8', '1xS7'], description: 'Title Titan: Quadro your points when making your note title more to the point expressing the idea of you note for the next 3 hours.' },
{ boosterCooldown: 36*60, boosterDate: 'boosterDatePrecisionPrism', boosterSwitch: 'boosterFactorPrecisionPrism', varname: 'precisionPrism' ,name: 'Precision Prism', incredients: ['2xS8', '1xS2'], description: 'Precision Prism: 4 times the points when increasing the "note length majurity" for a note the next 3 hours.' },
{ boosterCooldown: 36*60, boosterDate: 'boosterDateHyperlinkHarmony', boosterSwitch: 'boosterFactorHyperlinkHarmony', varname: 'hyperlinkHarmony' ,name: 'Hyperlink Harmony', incredients: ['2xS2', '1xS6'], description: 'Hyperlink Harmony: Get for "Inlink majurity" AND "outlink majurity" improvements 5 times the point the next 3 hours.' },
{ boosterCooldown: 2160*60, boosterDate: 'boosterDateEphemeralEuphoria', boosterSwitch: 'boosterFactorEphemeralEuphoria', varname: 'ephemeralEuphoria' ,name: 'Ephemeral Euphoria', incredients: ['1000xSX'], description: 'Unearth the hidden potential within your knowledge repository with the Ephemeral Euphoria booster. For a fleeting two-hour window, your notes will resonate with an extraordinary vitality, allowing you to earn points at an astonishing rate. Seize this moment of boundless opportunity and watch your knowledge flourish like never before!' },
];

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ class MultiSelectModal extends Modal {

}


private updateQuantityDisplay(labelText: string) {
const stock = this.boosters[labelText]
const stockInfo = document.querySelector(`.${labelText.replace(' ','-')}`);
Expand Down
13 changes: 11 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const defaultSettings: Partial<ISettings> = {
titleTitan: 0,
precisionPrism: 0,
hyperlinkHarmony: 0,
ephemeralEuphoria: 0,
boosterFactorPerpetualProgress: false,
boosterDatePerpetualProgress: '2023-08-15 20:00:00',
boosterFactorStrategicSynapses: false,
Expand All @@ -59,7 +60,9 @@ export const defaultSettings: Partial<ISettings> = {
boosterFactorPrecisionPrism: false,
boosterDatePrecisionPrism: '2023-08-15 20:00:00',
boosterFactorHyperlinkHarmony: false,
boosterDateHyperlinkHarmony: '2023-08-15 20:00:00'
boosterDateHyperlinkHarmony: '2023-08-15 20:00:00',
boosterFactorEphemeralEuphoria: false,
boosterDateEphemeralEuphoria: '2023-08-15 20:00:00'
};

export interface ISettings {
Expand Down Expand Up @@ -105,6 +108,7 @@ export interface ISettings {
titleTitan: number;
precisionPrism: number;
hyperlinkHarmony: number;
ephemeralEuphoria: number;
boosterFactorPerpetualProgress: boolean;
boosterDatePerpetualProgress: string
boosterFactorStrategicSynapses: boolean;
Expand All @@ -121,6 +125,8 @@ export interface ISettings {
boosterDatePrecisionPrism: string
boosterFactorHyperlinkHarmony: boolean;
boosterDateHyperlinkHarmony: string;
boosterFactorEphemeralEuphoria: boolean;
boosterDateEphemeralEuphoria: string;
}


Expand Down Expand Up @@ -169,6 +175,7 @@ export class GamificationPluginSettings extends PluginSettingTab {
public titleTitan: number;
public precisionPrism: number;
public hyperlinkHarmony: number;
public ephemeralEuphoria: number;
public boosterFactorPerpetualProgress: boolean;
public boosterDatePerpetualProgress: string
public boosterFactorStrategicSynapses: boolean;
Expand All @@ -184,7 +191,9 @@ export class GamificationPluginSettings extends PluginSettingTab {
public boosterFactorPrecisionPrism: boolean;
public boosterDatePrecisionPrism: string
public boosterFactorHyperlinkHarmony: boolean;
public boosterDateHyperlinkHarmony: string
public boosterDateHyperlinkHarmony: string;
public boosterFactorEphemeralEuphoria: boolean;
public boosterDateEphemeralEuphoria: string;

constructor(app: App, plugin: gamification) {
super(app, plugin);
Expand Down

0 comments on commit 5b4b7e1

Please sign in to comment.