Add some new biome backgrounds by @Someonealive-QN
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
10
src/arena.ts
|
@ -441,21 +441,14 @@ export class Arena {
|
|||
export function getBiomeKey(biome: Biome): string {
|
||||
switch (biome) {
|
||||
case Biome.POWER_PLANT:
|
||||
case Biome.TEMPLE:
|
||||
return 'ruins';
|
||||
case Biome.METROPOLIS:
|
||||
case Biome.CONSTRUCTION_SITE:
|
||||
return 'slum';
|
||||
case Biome.JUNGLE:
|
||||
return 'tall_grass';
|
||||
case Biome.FAIRY_CAVE:
|
||||
return 'cave';
|
||||
case Biome.ISLAND:
|
||||
return 'beach';
|
||||
case Biome.LABORATORY:
|
||||
return 'factory';
|
||||
case Biome.SNOWY_FOREST:
|
||||
return 'ice_cave';
|
||||
case Biome.END:
|
||||
return 'wasteland';
|
||||
}
|
||||
|
@ -479,6 +472,9 @@ export function getBiomeHasProps(biomeType: Biome): boolean {
|
|||
case Biome.RUINS:
|
||||
case Biome.WASTELAND:
|
||||
case Biome.ABYSS:
|
||||
case Biome.FAIRY_CAVE:
|
||||
case Biome.TEMPLE:
|
||||
case Biome.LABORATORY:
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|