Files
Battle-for-Tismo/shared/data/relations.js
T
adrien ede258d39f Added warfare depth, focused research and a reworked HUD
- Tile improvements (fortifications, radar towers, coastal cannons), trenches,
  zone of control, support-unit capture and launch transports, with parabolic
  barrage arcs drawn between attacker and target.
- Focused research that pours points straight into the chosen technology, with
  per-technology progress kept when the focus changes, plus repeatable levels.
- Popularity reworked to integer points, war and pillage effects, minority
  policies and month-over-month arrows on the nation summary.
- City progress bars, square improvement buttons, a technology tab of wide
  short cards with progress bars, transport cargo readout and double-click to
  open a city panel.
2026-09-21 01:07:36 +02:00

19 lines
928 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 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";