Add tag enum

This commit is contained in:
Idrees Hassan
2026-01-18 18:14:40 -05:00
parent 579967a302
commit 9f7d864e57
9 changed files with 131 additions and 99 deletions

View File

@@ -1,3 +1,5 @@
import { TAG } from "./layer.js";
/**
* Palette color names
* @type {Record<string, string>}
@@ -105,7 +107,7 @@ export const SPECIES = {
[PALETTE.UNDERBELLY]: "#d7cfcb",
[PALETTE.WING]: "#b1b5c5",
[PALETTE.WING_EDGE]: "#9d9fa9",
}, ["tuft"]),
}, [TAG.TUFT]),
europeanRobin: new BirdType("European Robin",
"Native to western Europe, this is the quintessential robin. Quite friendly, you'll often find them searching for worms.", {
[PALETTE.FOOT]: "#af8e75",
@@ -127,7 +129,7 @@ export const SPECIES = {
[PALETTE.UNDERBELLY]: "#dc3719",
[PALETTE.WING]: "#d23215",
[PALETTE.WING_EDGE]: "#b1321c",
}, ["tuft"]),
}, [TAG.TUFT]),
americanGoldfinch: new BirdType("American Goldfinch",
"Coloured a brilliant yellow, this bird feeds almost entirely on the seeds of plants such as thistle, sunflowers, and coneflowers.", {
[PALETTE.BEAK]: "#ffaf34",