mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-04 18:59:13 -04:00
wip
This commit is contained in:
parent
bcf40fe667
commit
096f7d4abd
13 changed files with 1917 additions and 225 deletions
|
@ -12,12 +12,12 @@ import { asyncAlert, requiredAsyncAlert } from "./asyncAlert";
|
|||
import {
|
||||
describeLevel,
|
||||
highScoreText,
|
||||
reasonLevelIsLocked,
|
||||
sumOfValues,
|
||||
} from "./game_utils";
|
||||
import { getHistory } from "./gameOver";
|
||||
import { noCreative } from "./upgrades";
|
||||
import { levelIconHTML } from "./levelIcon";
|
||||
import {reasonLevelIsLocked} from "./get_level_unlock_condition";
|
||||
|
||||
export function creativeMode(gameState: GameState) {
|
||||
return {
|
||||
|
@ -46,7 +46,7 @@ export async function openCreativeModePerksPicker() {
|
|||
while (true) {
|
||||
const levelOptions = [
|
||||
...allLevels.map((l, li) => {
|
||||
const problem = reasonLevelIsLocked(li, getHistory(), true)?.text || "";
|
||||
const problem = reasonLevelIsLocked(li, l.name,getHistory(), true)?.text || "";
|
||||
return {
|
||||
icon: icons[l.name],
|
||||
text: l.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue