add special tiles
This commit is contained in:
parent
da17a58998
commit
42ad2204f7
|
|
@ -1,11 +1,14 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const MLGTheme: Theme = {
|
export const MLGTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/MLG/mine.png"),
|
mine: () => import("../assets/themes/MLG/mine.png"),
|
||||||
tile: () => import("../assets/themes/MLG/tile.png"),
|
tile: () => import("../assets/themes/MLG/tile.png"),
|
||||||
revealed: () => import("../assets/themes/MLG/revealed.png"),
|
revealed: () => import("../assets/themes/MLG/revealed.png"),
|
||||||
flag: () => import("../assets/themes/MLG/flag-2.png"),
|
flag: even(
|
||||||
|
() => import("../assets/themes/MLG/flag-1.png"),
|
||||||
|
() => import("../assets/themes/MLG/flag-2.png")
|
||||||
|
),
|
||||||
questionMark: () => import("../assets/themes/MLG/question-mark.png"),
|
questionMark: () => import("../assets/themes/MLG/question-mark.png"),
|
||||||
lastPos: () => import("../assets/themes/MLG/last-pos.png"),
|
lastPos: () => import("../assets/themes/MLG/last-pos.png"),
|
||||||
1: () => import("../assets/themes/MLG/1.png"),
|
1: () => import("../assets/themes/MLG/1.png"),
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ export const mainWithSpecials = (
|
||||||
const [main, ...specials] = sprites;
|
const [main, ...specials] = sprites;
|
||||||
return [
|
return [
|
||||||
{ weight: 1, sprite: main },
|
{ weight: 1, sprite: main },
|
||||||
...specials.map((sprite) => ({ weight: 0.05, sprite })),
|
...specials.map((sprite) => ({ weight: 0.3, sprite })),
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const catsTheme: Theme = {
|
export const catsTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/cats/mine-2.png"),
|
mine: even(
|
||||||
|
() => import("../assets/themes/cats/mine-1.png"),
|
||||||
|
() => import("../assets/themes/cats/mine-2.png")
|
||||||
|
),
|
||||||
tile: () => import("../assets/themes/cats/tile.png"),
|
tile: () => import("../assets/themes/cats/tile.png"),
|
||||||
revealed: () => import("../assets/themes/cats/revealed.png"),
|
revealed: () => import("../assets/themes/cats/revealed.png"),
|
||||||
flag: () => import("../assets/themes/cats/flag.png"),
|
flag: () => import("../assets/themes/cats/flag.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const dinoTheme: Theme = {
|
export const dinoTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/dinos/mine-1.png"),
|
mine: even(
|
||||||
|
() => import("../assets/themes/dinos/mine-1.png"),
|
||||||
|
() => import("../assets/themes/dinos/mine-2.png")
|
||||||
|
),
|
||||||
tile: () => import("../assets/themes/dinos/tile.png"),
|
tile: () => import("../assets/themes/dinos/tile.png"),
|
||||||
revealed: () => import("../assets/themes/dinos/revealed-1.png"),
|
revealed: () => import("../assets/themes/dinos/revealed-1.png"),
|
||||||
flag: () => import("../assets/themes/dinos/flag.png"),
|
flag: () => import("../assets/themes/dinos/flag.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const insectsTheme: Theme = {
|
export const insectsTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/insects/mine-1.png"),
|
mine: even(
|
||||||
|
() => import("../assets/themes/insects/mine-1.png"),
|
||||||
|
() => import("../assets/themes/insects/mine-2.png")
|
||||||
|
),
|
||||||
tile: () => import("../assets/themes/insects/tile.png"),
|
tile: () => import("../assets/themes/insects/tile.png"),
|
||||||
revealed: () => import("../assets/themes/insects/revealed.png"),
|
revealed: () => import("../assets/themes/insects/revealed.png"),
|
||||||
flag: () => import("../assets/themes/insects/flag.png"),
|
flag: () => import("../assets/themes/insects/flag.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const isaacTheme: Theme = {
|
export const isaacTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/isaac/mine-3.png"),
|
mine: even(
|
||||||
|
() => import("../assets/themes/isaac/mine-1.png"),
|
||||||
|
() => import("../assets/themes/isaac/mine-2.png"),
|
||||||
|
() => import("../assets/themes/isaac/mine-3.png")
|
||||||
|
),
|
||||||
tile: () => import("../assets/themes/isaac/tile.png"),
|
tile: () => import("../assets/themes/isaac/tile.png"),
|
||||||
revealed: () => import("../assets/themes/isaac/revealed.png"),
|
revealed: () => import("../assets/themes/isaac/revealed.png"),
|
||||||
flag: () => import("../assets/themes/isaac/flag.png"),
|
flag: () => import("../assets/themes/isaac/flag.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
import type { Theme } from "./Theme";
|
import { mainWithSpecials, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const leagueTeemoTheme: Theme = {
|
export const leagueTeemoTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/league/teemo/mine.png"),
|
mine: () => import("../assets/themes/league/teemo/mine.png"),
|
||||||
tile: () => import("../assets/themes/league/tile-1.png"),
|
tile: mainWithSpecials(
|
||||||
|
() => import("../assets/themes/league/tile-1.png"),
|
||||||
|
() => import("../assets/themes/league/tile-2.png")
|
||||||
|
),
|
||||||
revealed: () => import("../assets/themes/league/revealed.png"),
|
revealed: () => import("../assets/themes/league/revealed.png"),
|
||||||
flag: () => import("../assets/themes/league/teemo/flag.png"),
|
flag: () => import("../assets/themes/league/teemo/flag.png"),
|
||||||
questionMark: () => import("../assets/themes/league/question-mark.png"),
|
questionMark: () => import("../assets/themes/league/question-mark.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
import type { Theme } from "./Theme";
|
import { mainWithSpecials, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const leagueZiggsTheme: Theme = {
|
export const leagueZiggsTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/league/ziggs/mine.png"),
|
mine: () => import("../assets/themes/league/ziggs/mine.png"),
|
||||||
tile: () => import("../assets/themes/league/tile-1.png"),
|
tile: mainWithSpecials(
|
||||||
|
() => import("../assets/themes/league/tile-1.png"),
|
||||||
|
() => import("../assets/themes/league/tile-2.png")
|
||||||
|
),
|
||||||
revealed: () => import("../assets/themes/league/revealed.png"),
|
revealed: () => import("../assets/themes/league/revealed.png"),
|
||||||
flag: () => import("../assets/themes/league/ziggs/flag.png"),
|
flag: () => import("../assets/themes/league/ziggs/flag.png"),
|
||||||
questionMark: () => import("../assets/themes/league/question-mark.png"),
|
questionMark: () => import("../assets/themes/league/question-mark.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,14 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const mineDogsTheme: Theme = {
|
export const mineDogsTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/mine-dogs/mine.png"),
|
mine: () => import("../assets/themes/mine-dogs/mine.png"),
|
||||||
tile: () => import("../assets/themes/mine-dogs/tile.png"),
|
tile: () => import("../assets/themes/mine-dogs/tile.png"),
|
||||||
revealed: () => import("../assets/themes/mine-dogs/revealed.png"),
|
revealed: () => import("../assets/themes/mine-dogs/revealed.png"),
|
||||||
flag: () => import("../assets/themes/mine-dogs/flag-2.png"),
|
flag: even(
|
||||||
|
() => import("../assets/themes/mine-dogs/flag-1.png"),
|
||||||
|
() => import("../assets/themes/mine-dogs/flag-2.png")
|
||||||
|
),
|
||||||
questionMark: () => import("../assets/themes/mine-dogs/question-mark.png"),
|
questionMark: () => import("../assets/themes/mine-dogs/question-mark.png"),
|
||||||
lastPos: () => import("../assets/themes/mine-dogs/last-pos.png"),
|
lastPos: () => import("../assets/themes/mine-dogs/last-pos.png"),
|
||||||
1: () => import("../assets/themes/mine-dogs/1.png"),
|
1: () => import("../assets/themes/mine-dogs/1.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { even, type Theme } from "./Theme";
|
import { even, mainWithSpecials, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const techiesDireTheme: Theme = {
|
export const techiesDireTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
|
|
@ -6,7 +6,11 @@ export const techiesDireTheme: Theme = {
|
||||||
() => import("../assets/themes/techies/dire/mine-1.png"),
|
() => import("../assets/themes/techies/dire/mine-1.png"),
|
||||||
() => import("../assets/themes/techies/dire/mine-2.png"),
|
() => import("../assets/themes/techies/dire/mine-2.png"),
|
||||||
),
|
),
|
||||||
tile: () => import("../assets/themes/techies/dire/tile-1.png"),
|
tile: mainWithSpecials(
|
||||||
|
() => import("../assets/themes/techies/dire/tile-1.png"),
|
||||||
|
() => import("../assets/themes/techies/dire/tile-2.png"),
|
||||||
|
() => import("../assets/themes/techies/dire/tile-3.png")
|
||||||
|
),
|
||||||
revealed: () => import("../assets/themes/techies/dire/revealed.png"),
|
revealed: () => import("../assets/themes/techies/dire/revealed.png"),
|
||||||
flag: () => import("../assets/themes/techies/flag.png"),
|
flag: () => import("../assets/themes/techies/flag.png"),
|
||||||
questionMark: () => import("../assets/themes/techies/dire/question-mark.png"),
|
questionMark: () => import("../assets/themes/techies/dire/question-mark.png"),
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,16 @@
|
||||||
import type { Theme } from "./Theme";
|
import { even, mainWithSpecials, type Theme } from "./Theme";
|
||||||
|
|
||||||
export const techiesRadiantTheme: Theme = {
|
export const techiesRadiantTheme: Theme = {
|
||||||
size: 32,
|
size: 32,
|
||||||
mine: () => import("../assets/themes/techies/radiant/mine-1.png"),
|
mine: even(
|
||||||
tile: () => import("../assets/themes/techies/radiant/tile-1.png"),
|
() => import("../assets/themes/techies/radiant/mine-1.png"),
|
||||||
|
() => import("../assets/themes/techies/radiant/mine-2.png")
|
||||||
|
),
|
||||||
|
tile: mainWithSpecials(
|
||||||
|
() => import("../assets/themes/techies/radiant/tile-1.png"),
|
||||||
|
() => import("../assets/themes/techies/radiant/tile-2.png"),
|
||||||
|
() => import("../assets/themes/techies/radiant/tile-3.png")
|
||||||
|
),
|
||||||
revealed: () => import("../assets/themes/techies/radiant/revealed-1.png"),
|
revealed: () => import("../assets/themes/techies/radiant/revealed-1.png"),
|
||||||
flag: () => import("../assets/themes/techies/flag.png"),
|
flag: () => import("../assets/themes/techies/flag.png"),
|
||||||
questionMark: () =>
|
questionMark: () =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue