Balancing

- New perk : addiction, reward faster gameplay
- Balancing : hot start effect doubled
- Balancing : you earn an extra perk when playing well, and a reroll when playing perfectly
- Balancing : telekinesis limited to level 1
This commit is contained in:
Renan LE CARO 2025-03-30 21:07:58 +02:00
parent 27a2cd686e
commit 7e316391d8
22 changed files with 799 additions and 897 deletions

View file

@ -2,6 +2,7 @@ import { t } from "./i18n/i18n";
import { OptionDef, OptionId } from "./types";
import { getSettingValue, setSettingValue } from "./settings";
import { hoursSpentPlaying } from "./pure_functions";
export const options = {
sound: {
@ -55,6 +56,11 @@ export const options = {
name: t("main_menu.fullscreen"),
help: t("main_menu.fullscreen_help"),
},
donation_reminder: {
default: hoursSpentPlaying() > 5,
name: t("main_menu.donation_reminder"),
help: t("main_menu.donation_reminder_help"),
},
} as const satisfies { [k: string]: OptionDef };
export function isOptionOn(key: OptionId) {