Files
Battle-for-Tismo/shared/data/relations.js
T

16 lines
724 B
JavaScript

// Diplomatic relations between two civilisations. Only peace and war exist for
// now, but the catalogue is data-driven so further statuses (alliances,
// truces, ...) can be slotted in without touching the simulation.
export const RELATION_PEACE = "peace";
export const RELATION_WAR = "war";
// Kinds of news item shown in the feed. Newsworthy events are recorded in
// GameState with their in-game hour so every client can render them.
export const NEWS_WAR = "war";
export const NEWS_CAPTURE = "capture";
// A government enacted a minority policy. Recorded by the model.
export const NEWS_POLICY = "policy";
// A player took control of a nation. Recorded by the server, not the model.
export const NEWS_JOIN = "join";