22 lines
1.0 KiB
JavaScript
22 lines
1.0 KiB
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 technology was discovered. Repeatable research levels raise these too, but
|
|
// flagged so the news list can keep them quiet while the feed still notifies.
|
|
export const NEWS_TECHNOLOGY = "technology";
|
|
// A player took control of a nation. Recorded by the server, not the model.
|
|
export const NEWS_JOIN = "join";
|
|
// A government changed an import or export tariff. The involved trading
|
|
// parties see it in the news feed.
|
|
export const NEWS_TARIFF = "tariff";
|