import type { MapRelationKind } from '~/types/map' /** The marker shown: the relation, or the village the player is in right now. */ export type MarkerRelation = MapRelationKind | 'current' /** Map colours by relation, like Die Stämme: own yellow, the current village white, tribe and allies blue, NAP purple, enemies and other players red, barbarians grey. */ export const RELATION_COLOURS: Record = { current: '#f6f1e4', own: '#d9b44a', tribe: '#2f5f9e', ally: '#5f93cf', nap: '#7b4f9e', enemy: '#c4281c', none: '#8a2a1f', barbarian: '#8b9094', } /** Line and banner colours of groups on the map. */ export const MARCH_COLOURS = { attack: '#c4281c', support: '#2f5f9e', return: '#4f6b2a', raid: '#6b1a12' }