mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
wip
This commit is contained in:
parent
3d3e7805d6
commit
16911620c0
16 changed files with 55 additions and 95 deletions
|
@ -4,7 +4,6 @@ import { t } from "./i18n/i18n";
|
|||
import { icons, upgrades } from "./loadGameData";
|
||||
import { getSettingValue, getTotalScore, setSettingValue } from "./settings";
|
||||
import { isOptionOn } from "./options";
|
||||
import { notStartingPerk } from "./upgrades";
|
||||
|
||||
export function startingPerkMenuButton() {
|
||||
return {
|
||||
|
@ -20,7 +19,6 @@ export function startingPerkMenuButton() {
|
|||
|
||||
export function isBlackListedForStart(u: Upgrade) {
|
||||
return !!(
|
||||
notStartingPerk.includes(u.id) ||
|
||||
u.requires ||
|
||||
u.threshold > getTotalScore()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue